diff options
| Commit | 30ddf7732ecf0c4c5d1b406d3f8e65dd8d87a409 (patch) | |
|---|---|---|
| Author | 2024-09-08 10:12:17 +0300 | |
| Committer | 2024-09-08 10:12:17 +0300 | |
| Files | 7f5b0b10a8cc4fa67354226d516860f96ef48ad2 /machines | |
| nix-30ddf7732ecf0c4c5d1b406d3f8e65dd8d87a409.tar nix-30ddf7732ecf0c4c5d1b406d3f8e65dd8d87a409.tar.gz nix-30ddf7732ecf0c4c5d1b406d3f8e65dd8d87a409.zip | ||
| Parent | aa3a132596e01b8bf15c6ca12cb23750c2d1875a (diff) | |
feat(autoconfig)!: Significantly simplified module inclusion/exclusion via sysidentity
3 files changed, 6 insertions, 19 deletions
| -rw-r--r-- | machines/juno/sysidentity.nix | 9 | ||||
| -rw-r--r-- | machines/minerva/sysidentity.nix | 9 | ||||
| -rw-r--r-- | machines/vesta/sysidentity.nix | 7 |
diff --git a/machines/juno/sysidentity.nix b/machines/juno/sysidentity.nix index 5f90eaa..5fd1a76 100644 --- a/machines/juno/sysidentity.nix +++ b/machines/juno/sysidentity.nix @@ -1,11 +1,6 @@ -let - groups = import ../../module-groups.nix; -in -{ +groups: { name = "juno"; arch = "x86_64-linux"; - drop = groups.non-laptop; - #defaultempty = true; - #have = groups.barebones; + include = groups.laptop; } diff --git a/machines/minerva/sysidentity.nix b/machines/minerva/sysidentity.nix index 0afdb49..4e59f68 100644 --- a/machines/minerva/sysidentity.nix +++ b/machines/minerva/sysidentity.nix @@ -1,11 +1,6 @@ -let - groups = import ../../module-groups.nix; -in -{ +groups: { name = "minerva"; arch = "x86_64-linux"; - defaultempty = false; # therefore drop will not remove from have - have = [ "gui-powerful" ]; - drop = groups.non-laptop; + include = groups.laptop ++ [ "gui-powerful" ]; } diff --git a/machines/vesta/sysidentity.nix b/machines/vesta/sysidentity.nix index a689f10..1334d3a 100644 --- a/machines/vesta/sysidentity.nix +++ b/machines/vesta/sysidentity.nix @@ -1,9 +1,6 @@ -let - groups = import ../../module-groups.nix; -in -{ +groups: { name = "vesta"; arch = "x86_64-linux"; - drop = groups.non-desktop; + include = groups.desktop; } |
