summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorsils <sils@sils.li>2023-11-12 19:41:56 +0100
committersils <sils@sils.li>2023-11-12 19:41:56 +0100
commit1a09e128d143b0d5b8ea781c57208c298895dc36 (patch)
tree54943c1474d22da74898ecc87084c3e659239a5c
parentfeat(hosts/thinklappi): support unlocking with fido2-device (diff)
downloadnix-config-1a09e128d143b0d5b8ea781c57208c298895dc36.tar.gz
nix-config-1a09e128d143b0d5b8ea781c57208c298895dc36.zip
feat(sys/services): add nitrokey udev rules
Diffstat (limited to '')
-rw-r--r--sys/services/default.nix1
-rw-r--r--sys/services/udev/default.nix3
2 files changed, 4 insertions, 0 deletions
diff --git a/sys/services/default.nix b/sys/services/default.nix
index a5a459e..8a6db41 100644
--- a/sys/services/default.nix
+++ b/sys/services/default.nix
@@ -5,6 +5,7 @@
     ./logind
     ./printing
     ./tlp
+    ./udev
     ./upower
   ];
 }
diff --git a/sys/services/udev/default.nix b/sys/services/udev/default.nix
new file mode 100644
index 0000000..e35805a
--- /dev/null
+++ b/sys/services/udev/default.nix
@@ -0,0 +1,3 @@
+{pkgs, ...}: {
+  services.udev.packages = [ pkgs.nitrokey-udev-rules ];
+}