From e120634aae470ab3c803b0305c9f99f786809dad Mon Sep 17 00:00:00 2001 From: Jimbo Date: Mon, 23 Sep 2024 16:51:42 -0400 Subject: [PATCH 1/2] Pretty sure I got this one but ok --- system/pinebook.nix | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/system/pinebook.nix b/system/pinebook.nix index 3632aacc..b9d4b401 100644 --- a/system/pinebook.nix +++ b/system/pinebook.nix @@ -1,6 +1,4 @@ -{ lib, ...}: let - ips = import ./modules/ips.nix; -in { +{ lib, ...}: { imports = [ # Base configs ./base.nix @@ -46,7 +44,7 @@ in { hardware.opengl.driSupport32Bit = lib.mkForce false; # Set the VPN IP per machine - networking.wireguard.interfaces."${ips.wgInt}".ips = [ "${ips.wgSpan}.17/24" ]; + networking.wireguard.interfaces."${outputs.ips.wgInt}".ips = [ "${outputs.ips.wgSpan}.17/24" ]; # https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion system.stateVersion = "24.05"; From 37803209cc14034a9c4e6b4de39bb8dd5ed584c0 Mon Sep 17 00:00:00 2001 From: Jimbo Date: Mon, 23 Sep 2024 16:51:57 -0400 Subject: [PATCH 2/2] Pretty sure I got this one but ok --- system/pinebook.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/pinebook.nix b/system/pinebook.nix index b9d4b401..e2344b11 100644 --- a/system/pinebook.nix +++ b/system/pinebook.nix @@ -1,4 +1,4 @@ -{ lib, ...}: { +{lib, outputs, ...}: { imports = [ # Base configs ./base.nix