From bd12b41144a093ebbcff0def25e478b1c79483cd Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Fri, 7 Nov 2025 17:03:58 -0800 Subject: delete unused module --- modules/default-darwin.nix | 1 - modules/default.nix | 1 - modules/home.nix | 38 -------------------------------------- 3 files changed, 40 deletions(-) delete mode 100644 modules/home.nix (limited to 'modules') 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 = { }; - }; - }; -} -- cgit v1.2.3