diff options
Diffstat (limited to 'hosts/woodpecker')
-rw-r--r-- | hosts/woodpecker/default.nix | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/hosts/woodpecker/default.nix b/hosts/woodpecker/default.nix index 4f1dc2f..b049cab 100644 --- a/hosts/woodpecker/default.nix +++ b/hosts/woodpecker/default.nix @@ -1,4 +1,4 @@ -{ inputs, ... }: +{ lib, inputs, ... }: { system.stateVersion = "24.05"; @@ -20,10 +20,10 @@ defaultGateway.address = "10.44.0.1"; interfaces.enp42s0 = { useDHCP = false; - ipv4.addresses = [{ + ipv4.addresses = lib.singleton { address = "10.44.4.50"; prefixLength = 16; - }]; + }; }; }; @@ -34,6 +34,9 @@ systemd-boot.enable = true; efi.canTouchEfiVariables = true; }; - binfmt.emulatedSystems = [ "aarch64-linux" "riscv64-linux" ]; + binfmt.emulatedSystems = [ + "aarch64-linux" + "riscv64-linux" + ]; }; } |