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";
timezone = "America/Chicago";
# VPN
vpn_enable = true;
}
+24 -17
View File
@@ -1,18 +1,25 @@
{vpn_enable, ...}: {
imports = [
../system/bootloader.nix
../system/firewall.nix
../system/locale.nix
../system/network.nix
../system/term.nix
../system/development.nix
# ../system/proxy.nix
# ../system/recovery.nix # only supports non-flake conf
../system/ssh.nix
../system/timezone.nix
# ../system/touchpad.nix
../system/users.nix
../system/tools.nix
(if vpn_enable then ../system/vpn.nix else null)
];
{
vpn_enable,
lib,
...
}: {
imports =
[
../system/bootloader.nix
../system/firewall.nix
../system/locale.nix
../system/network.nix
../system/term.nix
../system/development.nix
# ../system/proxy.nix
# ../system/recovery.nix # only supports non-flake conf
../system/ssh.nix
../system/timezone.nix
# ../system/touchpad.nix
../system/users.nix
../system/tools.nix
]
++ lib.optionals (vpn_enable == true) [
../system/vpn.nix
];
}