From 88017f5a874478dd82f306a5df88c38a8d06fcb6 Mon Sep 17 00:00:00 2001 From: tdback Date: Thu, 16 Jan 2025 19:57:13 -0500 Subject: fix: format flake with `nixfmt-rfc-style` --- hosts/woodpecker/default.nix | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'hosts/woodpecker/default.nix') 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" + ]; }; } -- cgit v1.2.3