This commit is contained in:
biscuit
2025-05-20 21:47:13 -05:00
parent 63c2f887db
commit be57946347
2 changed files with 25 additions and 17 deletions
+1
View File
@@ -3,5 +3,6 @@
username = "biscuit"; username = "biscuit";
timezone = "America/Chicago"; timezone = "America/Chicago";
# VPN
vpn_enable = true; vpn_enable = true;
} }
+10 -3
View File
@@ -1,5 +1,10 @@
{vpn_enable, ...}: { {
imports = [ vpn_enable,
lib,
...
}: {
imports =
[
../system/bootloader.nix ../system/bootloader.nix
../system/firewall.nix ../system/firewall.nix
../system/locale.nix ../system/locale.nix
@@ -13,6 +18,8 @@
# ../system/touchpad.nix # ../system/touchpad.nix
../system/users.nix ../system/users.nix
../system/tools.nix ../system/tools.nix
(if vpn_enable then ../system/vpn.nix else null) ]
++ lib.optionals (vpn_enable == true) [
../system/vpn.nix
]; ];
} }