Compare commits
2 commits
cebc7be1bf
...
37803209cc
Author | SHA1 | Date | |
---|---|---|---|
Jimbo | 37803209cc | ||
Jimbo | e120634aae |
|
@ -1,6 +1,4 @@
|
||||||
{ lib, ...}: let
|
{lib, outputs, ...}: {
|
||||||
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