zaphyra's git: nixfiles

zaphyra's nixfiles

commit 4404e2195383f0587701f907c7d898ab99783e49
parent b9e0d75792c7301a2c03d53d5837a49b44d78d03
Author: Katja Ramona Sophie Kwast (zaphyra) <git@zaphyra.eu>
Date: Thu, 31 Jul 2025 10:42:22 +0200

hosts/huntii: use niri as graphical interface, add gnome-specialisation, add avahi, open some ports
1 file changed, 16 insertions(+), 5 deletions(-)
M
hosts/huntii/default.nix
|
21
++++++++++++++++-----
diff --git a/hosts/huntii/default.nix b/hosts/huntii/default.nix
@@ -31,7 +31,12 @@
         (modulesPath + "/profiles/minimal.nix")
       ];
 
+      specialisation.gnome.configuration = {
+        modules.presets.graphical.type = lib.mkForce "gnomeMinimal";
+      };
+
       boot.initrd.systemd.emergencyAccess = true;
+      boot.kernel.sysctl."power.pm_async" = false;
 
       sops.secrets."environments/networkManagerProfiles/cccdaWifi" = { };
 

@@ -74,7 +79,7 @@
           };
 
           graphical.enable = true;
-          graphical.type = "gnomeMinimal";
+          graphical.type = "niri";
 
           networkManagerProfiles = {
             voidPhoneWifi.enable = true;

@@ -116,6 +121,10 @@
             path = "${pkgs.modemmanager}/share/ModemManager/fcc-unlock.available.d/2c7c";
           }
         ];
+        #required for owntone airplay foo
+        firewall.allowedUDPPorts = [
+          7200 7201
+        ];
       };
 
       hardware.bluetooth.settings = {

@@ -125,11 +134,13 @@
       services = {
         resolved.enable = true;
         printing.enable = true;
+        avahi = {
+          enable = true;
+          nssmdns4 = true;
+          publish.enable = true;
+          publish.userServices = true;
+        };
         gnome.at-spi2-core.enable = false;
-
-        #required for gnome-calendar
-        gnome.evolution-data-server.enable = true;
-        gnome.gnome-online-accounts.enable = true;
       };
 
       system.stateVersion = "25.05";