Summary Files Commits Branches @commit @diff @stats
path: root / module-groups.nix
diff options
context:
space:
mode:
Commit30ddf7732ecf0c4c5d1b406d3f8e65dd8d87a409 (patch)
Author
 Syndamia <kamen@syndamia.com>
2024-09-08 10:12:17 +0300
Committer
 Syndamia <kamen@syndamia.com>
2024-09-08 10:12:17 +0300
Files7f5b0b10a8cc4fa67354226d516860f96ef48ad2 /module-groups.nix
nix-30ddf7732ecf0c4c5d1b406d3f8e65dd8d87a409.tar
nix-30ddf7732ecf0c4c5d1b406d3f8e65dd8d87a409.tar.gz
nix-30ddf7732ecf0c4c5d1b406d3f8e65dd8d87a409.zip
Parentaa3a132596e01b8bf15c6ca12cb23750c2d1875a (diff)
feat(autoconfig)!: Significantly simplified module inclusion/exclusion via sysidentity
1 files changed, 17 insertions, 3 deletions
-rw-r--r--module-groups.nix20
diff --git a/module-groups.nix b/module-groups.nix
index 9ce1719..dbd00fc 100644
--- a/module-groups.nix
+++ b/module-groups.nix
@@ -1,6 +1,20 @@
-{
+rec {
barebones = [ "cli-essential" "fonts" "users-standard" ];
- non-desktop = [ "battery" "hardware-laptop" "kubernetes" ];
- non-laptop = [ "dev-gui" "gui-powerful" "kubernetes" ];
+ personal = barebones ++ [ # default.nix is always included by autoconfig
+ "hardware-general" "virtualization"
+ # GUI
+ "gui-essential" "xserver" "openbox-de"
+ # Work/development
+ "cli-powerful" "dev-cli" "tex" "web-server"
+ # Custom hardware
+ "keyboards-custom" "rtl-sdr"
+ ];
+
+ desktop = personal ++ [
+ "dev-gui" "gui-powerful"
+ ];
+ laptop = personal ++ [
+ "battery" "hardware-laptop"
+ ];
}