dnssec, gpg-agent

This commit is contained in:
illustris 2023-03-05 16:29:26 +05:30
parent c27ca8a729
commit f23829ff43
Signed by: illustris
GPG Key ID: 56C8FC0B899FEFA3
2 changed files with 20 additions and 4 deletions

View File

@ -64,6 +64,16 @@
]);
};
home-manager.users.illustris = { ... }: {
home.stateVersion = "23.05";
services.gpg-agent = {
enable = true;
defaultCacheTtl = 60*60*12;
defaultCacheTtlSsh = 60*60*12;
extraConfig = "auto-expand-secmem";
};
};
# for ZFS
networking.hostId = "f86b2fa7";
@ -112,11 +122,11 @@
gnupg.agent = {
enable = true;
pinentryFlavor = "curses";
enableSSHSupport = true;
};
mosh.enable = true;
mtr.enable = true;
ssh.startAgent = true;
};
security.sudo.wheelNeedsPassword = false;
@ -130,7 +140,6 @@
settings.X11Forwarding = true;
};
qemuGuest.enable = true;
resolved.enable = true;
udev = {
# TODO: check if still needed
extraRules = ''
@ -150,7 +159,7 @@
};
in {
illustris = {
extraGroups = [ "adb" "docker" "libvirtd" "tty" "wheel" ];
extraGroups = [ "adb" "docker" "libvirtd" "plugdev" "tty" "wheel" ];
isNormalUser = true;
openssh.authorizedKeys.keyFiles = [ ghKeys ];
};

View File

@ -5,5 +5,12 @@
hostName = "desktop";
networkmanager.enable = true;
};
services.zerotierone.enable = true;
services = {
resolved = {
enable = true;
# git.sr.ht fails to resolve with dnssec
dnssec = "false";
};
zerotierone.enable = true;
};
}