aboutsummaryrefslogtreecommitdiff
path: root/hosts/frigg/default.nix
diff options
context:
space:
mode:
authortdback <tyler@tdback.net>2025-01-16 19:57:13 -0500
committertdback <tyler@tdback.net>2025-01-16 19:57:13 -0500
commit88017f5a874478dd82f306a5df88c38a8d06fcb6 (patch)
tree8806c58c4f21bb6a56d8530df8a93b256d44b4f3 /hosts/frigg/default.nix
parent01d012473d4311d4f4e5a0831d912bc4b8c61639 (diff)
fix: format flake with `nixfmt-rfc-style`
Diffstat (limited to 'hosts/frigg/default.nix')
-rw-r--r--hosts/frigg/default.nix16
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"
+ ];
};
}