nixos-config/modules/nitrokey.nix
Simon Bruder 10b8d432d5
Relicense
This applies the REUSE specification to the repository, so the licensing
information can be tracked for every file individually.
2024-01-13 14:39:22 +01:00

17 lines
500 B
Nix

# SPDX-FileCopyrightText: 2023 Simon Bruder <simon@sbruder.de>
#
# SPDX-License-Identifier: AGPL-3.0-or-later
{ 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
];
})