nixos-config/modules/nitrokey.nix

13 lines
389 B
Nix
Raw Normal View History

2023-12-20 16:53:42 +01:00
{ config, lib, pkgs, ... }:
{
hardware.nitrokey.enable = true;
} // (lib.mkIf config.sbruder.gui.enable {
environment.systemPackages = with pkgs; [
# both depend on pypemicro, which is not needed, but nixpkgs requires it
# (even though it could have been optional: https://github.com/NixOS/nixpkgs/pull/183099#discussion_r933226708)
#nitrokey-app2
#pynitrokey
];
})