set up nitrokey

This commit is contained in:
Schrottkatze 2024-02-02 11:28:26 +01:00
parent ad32bdf223
commit a73e54b6ac
Signed by: schrottkatze
SSH key fingerprint: SHA256:hXb3t1vINBFCiDCmhRABHX5ocdbLiKyCdKI4HK2Rbbc

View file

@ -29,6 +29,11 @@ with builtins; {
environment = { environment = {
systemPackages = with pkgs; [ systemPackages = with pkgs; [
pynitrokey
nitrokey-app2
veracrypt
htmlq htmlq
wget wget
@ -104,14 +109,19 @@ with builtins; {
"ebdbb2" "ebdbb2"
]; ];
programs = { # nitrokey
dconf.enable = true; services.udev.packages = [pkgs.nitrokey-udev-rules];
services.pcscd.enable = true;
mtr.enable = true; programs = {
ssh.startAgent = false;
gnupg.agent = { gnupg.agent = {
enable = true; enable = true;
enableSSHSupport = true; enableSSHSupport = true;
}; };
dconf.enable = true;
mtr.enable = true;
}; };
time.timeZone = "Europe/Berlin"; time.timeZone = "Europe/Berlin";