zaphyra's git: nixfiles

zaphyra's nixfiles

commit 0ac158d52d8ff4f5e304d60e4a150b7d4cb14c9a
parent 5725d409c10387f77457bb3cb670e0af3f67e523
Author: Katja Ramona Sophie Kwast (zaphyra) <git@zaphyra.eu>
Date: Tue, 1 Jul 2025 20:31:19 +0200

nix-fmt
11 files changed, 60 insertions(+), 19 deletions(-)
diff --git a/config/home/zaphyra/programs/dino.nix b/config/home/zaphyra/programs/dino.nix
@@ -1,4 +1,9 @@
-{ config, lib, pkgs, ... }:
+{
+  config,
+  lib,
+  pkgs,
+  ...
+}:
 
 {
 
diff --git a/config/home/zaphyra/programs/errands.nix b/config/home/zaphyra/programs/errands.nix
@@ -1,4 +1,9 @@
-{ config, lib, pkgs, ... }:
+{
+  config,
+  lib,
+  pkgs,
+  ...
+}:
 
 {
 
diff --git a/config/home/zaphyra/programs/fish.nix b/config/home/zaphyra/programs/fish.nix
@@ -1,4 +1,9 @@
-{ config, pkgs, lib, ... }:
+{
+  config,
+  pkgs,
+  lib,
+  ...
+}:
 
 {
 
diff --git a/config/home/zaphyra/programs/gajim.nix b/config/home/zaphyra/programs/gajim.nix
@@ -1,4 +1,9 @@
-{ config, lib, pkgs, ... }:
+{
+  config,
+  lib,
+  pkgs,
+  ...
+}:
 
 {
 
diff --git a/config/home/zaphyra/programs/tuba.nix b/config/home/zaphyra/programs/tuba.nix
@@ -1,4 +1,9 @@
-{ config, lib, pkgs, ... }:
+{
+  config,
+  lib,
+  pkgs,
+  ...
+}:
 
 {
 
diff --git a/config/home/zaphyra/services/gnome-keyring.nix b/config/home/zaphyra/services/gnome-keyring.nix
@@ -2,14 +2,16 @@
 
 {
 
-
   home.persistence."/nix/persist/home/${config.home.username}".directories = [
     "keyring/.local/share/keyrings"
   ];
 
   services.gnome-keyring = {
     enable = true;
-    components = [ "pkcs11" "secrets" ];
+    components = [
+      "pkcs11"
+      "secrets"
+    ];
   };
 
 }
diff --git a/config/home/zaphyra/services/playerctl.nix b/config/home/zaphyra/services/playerctl.nix
@@ -1,4 +1,9 @@
-{ config, pkgs, lib, ... }:
+{
+  config,
+  pkgs,
+  lib,
+  ...
+}:
 
 {
 
diff --git a/config/home/zaphyra/services/swaync.nix b/config/home/zaphyra/services/swaync.nix
@@ -125,12 +125,12 @@
                 style = pkgs.writeText "nwg-bar.css" ''
                   window {
                     background: transparent;
-                  	padding: 20px;
+                    padding: 20px;
                   }
 
                   /* Outer bar container, takes all the window width/height */
                   #outer-box {
-                  	margin: 0px;
+                    margin: 0px;
                   }
 
                   /* Inner bar container, surrounds buttons */

@@ -139,14 +139,14 @@
                     border-radius: 10px;
                     background-color: #303030;
                     border: 1px solid rgba(255, 255, 255, 0.08);
-1                  	margin: 10px;
+                    margin: 10px;
                   }
-                              
+
                   button {
                     border: 1px solid rgba(255, 255, 255, 0.08);
-                  	padding-left: 10px;
-                  	padding-right: 10px;
-                  	margin: 5px
+                    padding-left: 10px;
+                    padding-right: 10px;
+                    margin: 5px;
                   }
 
                   button:hover {
diff --git a/config/home/zaphyra/services/wpaperd.nix b/config/home/zaphyra/services/wpaperd.nix
@@ -1,4 +1,9 @@
-{ config, pkgs, lib, ... }:
+{
+  config,
+  pkgs,
+  lib,
+  ...
+}:
 
 {
 
diff --git a/config/nixos/modules/hardware/fprint.nix b/config/nixos/modules/hardware/fprint.nix
@@ -61,7 +61,7 @@ in
         services.fprintd.lid = {
           authSkipLidClose = true;
           path = "/proc/acpi/button/lid/LID/state";
-       };
+        };
       })
     ]
   );
diff --git a/resources/patchedNixpkgsModules/pam.nix b/resources/patchedNixpkgsModules/pam.nix
@@ -950,12 +950,16 @@ let
                 (
                   let
                     lid = pkgs.writeShellScript "lid.sh" "${pkgs.gnugrep}/bin/grep -q closed ${config.services.fprintd.lid.path} && exit 1; true";
-                  in {
+                  in
+                  {
                     name = "fprintd-lid";
                     enable = cfg.fprintAuthSkipLidClose;
                     control = "[success=ignore default=1]";
                     modulePath = "${pkgs.linux-pam}/lib/security/pam_exec.so";
-                    args = ["quiet" "${lid}"];
+                    args = [
+                      "quiet"
+                      "${lid}"
+                    ];
                   }
                 )
                 {