diff --git a/modules/common/default.nix b/modules/common/default.nix deleted file mode 100644 index ee51551..0000000 --- a/modules/common/default.nix +++ /dev/null @@ -1,21 +0,0 @@ -{pkgs, ...}: { - # This module is common to all systems, both nixos and darwin. It is - # automatically added to all hosts via the flake configuration. - - imports = [ - ./elements.nix - ./secrets.nix - ./nix.nix - - ./programs/home-manager.nix - ]; - - environment.systemPackages = with pkgs; [ - pre-commit - git - gitleaks - just - nh - age - ]; -} diff --git a/modules/common/elements.nix b/modules/common/elements.nix deleted file mode 100644 index 552683e..0000000 --- a/modules/common/elements.nix +++ /dev/null @@ -1,18 +0,0 @@ -{ - config, - lib, - ... -}: -with lib; let - cfg = config.elements; -in { - options = { - elements = { - hostname = mkOption {type = types.str;}; - }; - }; - - config = { - networking.hostName = cfg.hostname; - }; -} diff --git a/modules/common/programs/home-manager.nix b/modules/common/programs/home-manager.nix deleted file mode 100644 index 094fb5f..0000000 --- a/modules/common/programs/home-manager.nix +++ /dev/null @@ -1,7 +0,0 @@ -{inputs, ...}: { - home-manager = { - # useGlobalPkgs = true; - useUserPackages = true; - backupFileExtension = "hm.bak"; - }; -}