Pretty sure I got this one but ok
This commit is contained in:
parent
cebc7be1bf
commit
e120634aae
|
@ -1,6 +1,4 @@
|
||||||
{ lib, ...}: let
|
{ lib, ...}: {
|
||||||
ips = import ./modules/ips.nix;
|
|
||||||
in {
|
|
||||||
imports = [
|
imports = [
|
||||||
# Base configs
|
# Base configs
|
||||||
./base.nix
|
./base.nix
|
||||||
|
@ -46,7 +44,7 @@ in {
|
||||||
hardware.opengl.driSupport32Bit = lib.mkForce false;
|
hardware.opengl.driSupport32Bit = lib.mkForce false;
|
||||||
|
|
||||||
# Set the VPN IP per machine
|
# 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
|
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
|
||||||
system.stateVersion = "24.05";
|
system.stateVersion = "24.05";
|
||||||
|
|
Loading…
Reference in a new issue