From 30ddf7732ecf0c4c5d1b406d3f8e65dd8d87a409 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Sun, 8 Sep 2024 10:12:17 +0300 Subject: feat(autoconfig)!: Significantly simplified module inclusion/exclusion via sysidentity --- machines/juno/sysidentity.nix | 9 ++------- machines/minerva/sysidentity.nix | 9 ++------- machines/vesta/sysidentity.nix | 7 ++----- 3 files changed, 6 insertions(+), 19 deletions(-) (limited to 'machines') 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; } -- cgit v1.3.1-26-gb76a