diff options
author | tdback <tyler@tdback.net> | 2025-01-16 19:57:13 -0500 |
---|---|---|
committer | tdback <tyler@tdback.net> | 2025-01-16 19:57:13 -0500 |
commit | 88017f5a874478dd82f306a5df88c38a8d06fcb6 (patch) | |
tree | 8806c58c4f21bb6a56d8530df8a93b256d44b4f3 /hosts/thor/default.nix | |
parent | 01d012473d4311d4f4e5a0831d912bc4b8c61639 (diff) |
fix: format flake with `nixfmt-rfc-style`
Diffstat (limited to 'hosts/thor/default.nix')
-rw-r--r-- | hosts/thor/default.nix | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/hosts/thor/default.nix b/hosts/thor/default.nix index 0ec2fa9..62071e8 100644 --- a/hosts/thor/default.nix +++ b/hosts/thor/default.nix @@ -20,10 +20,10 @@ defaultGateway.address = "10.44.0.1"; interfaces.eno1 = { useDHCP = false; - ipv4.addresses = [{ + ipv4.addresses = lib.singleton { address = "10.44.4.102"; prefixLength = 16; - }]; + }; }; }; @@ -36,7 +36,10 @@ programs.motd = { enable = true; - networkInterfaces = lib.lists.singleton "eno1"; - servicesToCheck = [ "caddy" "gotosocial" ]; + networkInterfaces = [ "eno1" ]; + servicesToCheck = [ + "caddy" + "gotosocial" + ]; }; } |