aboutsummaryrefslogtreecommitdiff
path: root/hosts/odin
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/odin')
-rw-r--r--hosts/odin/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/hosts/odin/default.nix b/hosts/odin/default.nix
index 47515e8..52a2ace 100644
--- a/hosts/odin/default.nix
+++ b/hosts/odin/default.nix
@@ -21,10 +21,10 @@
defaultGateway.address = "10.44.0.1";
interfaces.eno1 = {
useDHCP = false;
- ipv4.addresses = [{
+ ipv4.addresses = lib.singleton {
address = "10.44.4.101";
prefixLength = 16;
- }];
+ };
};
};
@@ -48,7 +48,7 @@
programs.motd = {
enable = true;
- networkInterfaces = lib.lists.singleton "eno1";
+ networkInterfaces = [ "eno1" ];
servicesToCheck = [
"caddy"
"immich-machine-learning"