zaphyra's git: nixfiles

zaphyra's nixfiles

commit ae6b51cb71b5495344144d89fe89062899458ec6
parent 71c47c393e4c402fbdf3a5ba7672560d6c4564f3
Author: Katja Ramona Sophie Kwast (zaphyra) <git@zaphyra.eu>
Date: Sat, 28 Jun 2025 17:03:59 +0200

config/nixos/modules/presets/graphical/typeGnomeMinimal: use the `upower`, `bluetooth` and `power-profiles-daemon` modules
1 file changed, 11 insertions(+), 11 deletions(-)
diff --git a/config/nixos/modules/presets/graphical/typeGnomeMinimal.nix b/config/nixos/modules/presets/graphical/typeGnomeMinimal.nix
@@ -23,11 +23,6 @@ in
     ];
 
     modules.filesystem.impermanence.system.dirs = [
-      "/var/lib/bluetooth"
-      "/var/lib/NetworkManager"
-      "/etc/NetworkManager/system-connections"
-      "/var/lib/power-profiles-daemon"
-      "/var/lib/upower"
       {
         directory = "/var/lib/colord";
         mode = "u=rwx,g=rx,o=";

@@ -38,14 +33,19 @@ in
 
     modules = {
       gnomeMinimal.enable = true;
-      services.earlyoom.avoid = [
-        "gnome-shell"
-        "gdm"
-        "mutter"
-      ];
+      hardware.bluetooth.enable = true;
+      networking.NetworkManager.enable = true;
+      services = {
+        upower.enable = true;
+        power-profiles-daemon.enable = true;
+        earlyoom.avoid = [
+          "gnome-shell"
+          "gdm"
+          "mutter"
+        ];
+      };
     };
 
-    networking.networkmanager.enable = true;
   };
 
 }