diff options
Diffstat (limited to '')
| -rw-r--r-- | sys/default.nix | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/sys/default.nix b/sys/default.nix index 2b265ec..c68c869 100644 --- a/sys/default.nix +++ b/sys/default.nix @@ -274,6 +274,8 @@ in { interfaces = mkIf (cfg.dhcpInterface != null) { "${cfg.dhcpInterface}".useDHCP = true; }; + + wireguard.enable = true; }; i18n.defaultLocale = "es_CR.UTF-8"; @@ -288,6 +290,16 @@ in { displayManager.startx.enable = true; }; + security.pam = { + oath = { + usersFile = "/var/trust/users.oath"; + digits = 6; + window = 30; + }; + + services.sshd.oathAuth = true; + }; + services.openssh = { enable = true; openFirewall = false; |
