diff options
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/default-darwin.nix | 1 | ||||
| -rw-r--r-- | modules/default.nix | 1 | ||||
| -rw-r--r-- | modules/home.nix | 38 |
3 files changed, 0 insertions, 40 deletions
diff --git a/modules/default-darwin.nix b/modules/default-darwin.nix index 5984f10..bf8c660 100644 --- a/modules/default-darwin.nix +++ b/modules/default-darwin.nix @@ -1,7 +1,6 @@ { ... }: { imports = [ - ./home.nix ./host-config.nix ./ssh.nix ]; diff --git a/modules/default.nix b/modules/default.nix index 0671724..756d704 100644 --- a/modules/default.nix +++ b/modules/default.nix @@ -3,7 +3,6 @@ imports = [ ./backups.nix ./home-manager.nix - ./home.nix ./host-config.nix ./nas-client.nix ./ssh.nix diff --git a/modules/home.nix b/modules/home.nix deleted file mode 100644 index 6b6b518..0000000 --- a/modules/home.nix +++ /dev/null @@ -1,38 +0,0 @@ -{ - userProfiles, - lib, - ... -}: -let - inherit (lib) mkOption; - inherit (lib.types) - submodule - listOf - attrsOf - str - ; -in -{ - options = { - home = mkOption { - type = attrsOf ( - submodule ( - { name, ... }: - { - options = { - name = mkOption { - type = str; - default = name; - }; - profiles = mkOption { - type = listOf str; - apply = map (v: userProfiles.${v}); - }; - }; - } - ) - ); - default = { }; - }; - }; -} |
