nitrokey: Enable user hardware access
Alan Pearce alan@alanpearce.eu
Thu, 05 Oct 2017 16:38:25 +0200
2 files changed, 5 insertions(+), 1 deletions(-)
M modules/configuration/user.nix → modules/configuration/user.nix
@@ -3,7 +3,7 @@ { users.extraUsers.alan = { description = "Alan Pearce"; isNormalUser = true; - extraGroups = [ "audio" "wheel" "adbusers" "docker" ]; + extraGroups = [ "audio" "wheel" "adbusers" "docker" "nitrokey" ]; shell = "/run/current-system/sw/bin/zsh"; home = "/home/alan"; uid = 1000;
M modules/hardware/nitrokey.nix → modules/hardware/nitrokey.nix
@@ -6,6 +6,10 @@ # pkgsUnstable = pkgs; in { programs.ssh.startAgent = false; + hardware.nitrokey = { + enable = true; + }; + services.pcscd.enable = true; services.tor = {