mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-05-24 18:04:41 +02:00
21 lines
413 B
Nix
21 lines
413 B
Nix
![]() |
{ config, lib, pkgs, ... }:
|
||
|
let
|
||
|
cfg = config.my.hardware.nitrokey;
|
||
|
in
|
||
|
{
|
||
|
options.my.hardware.nitrokey = {
|
||
|
enable = lib.mkEnableOption "pipewire configuration";
|
||
|
};
|
||
|
|
||
|
config = lib.mkIf cfg.enable {
|
||
|
services.udev.packages = [ pkgs.nitrokey-udev-rules ];
|
||
|
programs = {
|
||
|
ssh.startAgent = false;
|
||
|
gnupg.agent = {
|
||
|
enable = true;
|
||
|
enableSSHSupport = true;
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
}
|