diff --git a/hosts/d2nix/nixos/configuration.nix b/hosts/d2nix/nixos/configuration.nix index 9587412..8742eee 100644 --- a/hosts/d2nix/nixos/configuration.nix +++ b/hosts/d2nix/nixos/configuration.nix @@ -11,6 +11,7 @@ ./services.nix ./extra_hw.nix ./gnome.nix + ./nitrokey.nix ]; boot = { diff --git a/hosts/d2nix/nixos/nitrokey.nix b/hosts/d2nix/nixos/nitrokey.nix new file mode 100644 index 0000000..236234e --- /dev/null +++ b/hosts/d2nix/nixos/nitrokey.nix @@ -0,0 +1,14 @@ + {config, pkgs, lib, ... }: + +{ + hardware.nitrokey = { + enable = true; + }; + + services.pcscd.enable = true; + + environment.systemPackages = with pkgs; [ + nitrokey-app + ]; +} +