summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2016-05-22 16:11:28 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2016-05-22 16:11:28 +0200
commit8dcbba599a827f58d50d490de7b6dd76e0365bc1 (patch)
treebd1d45cbdea7c33ce1fe31dfe7096268a03999ad
parent4007ab7b37383b677454cb4d8e7ed7760e2cf35a (diff)
downloadnixos-8dcbba599a827f58d50d490de7b6dd76e0365bc1.tar
nixos-8dcbba599a827f58d50d490de7b6dd76e0365bc1.tar.gz
nixos-8dcbba599a827f58d50d490de7b6dd76e0365bc1.tar.bz2
nixos-8dcbba599a827f58d50d490de7b6dd76e0365bc1.tar.xz
nixos-8dcbba599a827f58d50d490de7b6dd76e0365bc1.zip
i3lock with fingerprint support
-rw-r--r--hel.nix8
1 files changed, 6 insertions, 2 deletions
diff --git a/hel.nix b/hel.nix
index 4c7868f7..c8d9c616 100644
--- a/hel.nix
+++ b/hel.nix
@@ -43,7 +43,7 @@
43 43
44 environment.systemPackages = with pkgs; [ 44 environment.systemPackages = with pkgs; [
45 git 45 git
46 slock 46 i3lock
47 shadow 47 shadow
48 (callPackage ./custom/thinklight.nix { thinklight = "kbd_backlight"; }) 48 (callPackage ./custom/thinklight.nix { thinklight = "kbd_backlight"; })
49 (callPackage ./utils/nix/rebuild-system.nix {}) 49 (callPackage ./utils/nix/rebuild-system.nix {})
@@ -204,6 +204,8 @@
204 enable = true; 204 enable = true;
205 drivers = with pkgs; [ samsung-unified-linux-driver ]; 205 drivers = with pkgs; [ samsung-unified-linux-driver ];
206 }; 206 };
207
208 fprintd.enable = true;
207 }; 209 };
208 210
209 users = { 211 users = {
@@ -228,7 +230,9 @@
228 %wheel ALL=(ALL) NOPASSWD: SYSCTRL 230 %wheel ALL=(ALL) NOPASSWD: SYSCTRL
229 ''; 231 '';
230 232
231 setuidPrograms = ["slock" "mount" "mount.nfs" "umount" "newgrp" "thinklight"]; 233 setuidPrograms = ["mount" "mount.nfs" "umount" "newgrp" "thinklight"];
234
235 pam.services."i3lock".fprintAuth = true;
232 }; 236 };
233 237
234 time.timeZone = "Europe/Berlin"; 238 time.timeZone = "Europe/Berlin";