diff options
Diffstat (limited to 'hosts/frigg')
-rw-r--r-- | hosts/frigg/default.nix | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/hosts/frigg/default.nix b/hosts/frigg/default.nix index 4803133..cde7436 100644 --- a/hosts/frigg/default.nix +++ b/hosts/frigg/default.nix @@ -21,10 +21,10 @@ defaultGateway.address = "10.44.0.1"; interfaces.enp59s0 = { useDHCP = false; - ipv4.addresses = [{ + ipv4.addresses = lib.singleton { address = "10.44.4.103"; prefixLength = 16; - }]; + }; }; }; @@ -40,14 +40,20 @@ services.zquota = { enable = true; - quotas = { "tank/sftpgo" = 512; }; + quotas = { + "tank/sftpgo" = 512; + }; }; services.sftpgo.dataDir = "/tank/sftpgo"; programs.motd = { enable = true; - networkInterfaces = lib.lists.singleton "enp59s0"; - servicesToCheck = [ "caddy" "sftpgo" "zfs-zed" ]; + networkInterfaces = [ "enp59s0" ]; + servicesToCheck = [ + "caddy" + "sftpgo" + "zfs-zed" + ]; }; } |