summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorAlejandro Soto <alejandro@34project.org>2022-03-25 08:08:43 -0600
committerAlejandro Soto <alejandro@34project.org>2022-03-25 08:08:43 -0600
commit593b48a78b4100cffee5f2dfab8c0a2c1633d59b (patch)
tree6ec867bb100bca42700f47128779297a598d8f37 /sys
parent5d0e667da3b02e766ced809ba030abc954434aaf (diff)
sys/[lustrated]: add nat rules
Diffstat (limited to '')
-rw-r--r--sys/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/default.nix b/sys/default.nix
index 08b6549..643cc0d 100644
--- a/sys/default.nix
+++ b/sys/default.nix
@@ -275,6 +275,7 @@ in {
networking = {
hostName = cfg.hostname;
useDHCP = false;
+ useNetworkd = true;
interfaces = mkIf (cfg.dhcpInterface != null) {
"${cfg.dhcpInterface}".useDHCP = true;
@@ -301,7 +302,7 @@ in {
security.pam = {
oath = {
- usersFile = "/var/trust/users.oath";
+ usersFile = "/var/trust/auth/users.oath";
digits = 6;
window = 30;
};