aboutsummaryrefslogtreecommitdiff
path: root/hosts/woodpecker
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/woodpecker
parent01d012473d4311d4f4e5a0831d912bc4b8c61639 (diff)
fix: format flake with `nixfmt-rfc-style`
Diffstat (limited to 'hosts/woodpecker')
-rw-r--r--hosts/woodpecker/default.nix11
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"
+ ];
};
}