diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/nitrokey.nix | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/modules/nitrokey.nix b/modules/nitrokey.nix new file mode 100644 index 0000000..a256c33 --- /dev/null +++ b/modules/nitrokey.nix @@ -0,0 +1,24 @@ +{ config, nixpkgs, ... }: + +let + pkgsUnstable = import <nixos-unstable> {}; + # pkgsUnstable = pkgs; +in +{ services.pcscd.enable = true; + + services.tor = { + enable = true; + client = { + enable = true; + socksListenAddress = "9050 IPv6Traffic"; + }; + torsocks = { + enable = true; + }; + }; + + environment.systemPackages = [ + pkgsUnstable.gnupg + pkgsUnstable.nitrokey-app + ]; +} |