upd
This commit is contained in:
@@ -3,5 +3,6 @@
|
|||||||
username = "biscuit";
|
username = "biscuit";
|
||||||
timezone = "America/Chicago";
|
timezone = "America/Chicago";
|
||||||
|
|
||||||
|
# VPN
|
||||||
vpn_enable = true;
|
vpn_enable = true;
|
||||||
}
|
}
|
||||||
|
|||||||
+24
-17
@@ -1,18 +1,25 @@
|
|||||||
{vpn_enable, ...}: {
|
{
|
||||||
imports = [
|
vpn_enable,
|
||||||
../system/bootloader.nix
|
lib,
|
||||||
../system/firewall.nix
|
...
|
||||||
../system/locale.nix
|
}: {
|
||||||
../system/network.nix
|
imports =
|
||||||
../system/term.nix
|
[
|
||||||
../system/development.nix
|
../system/bootloader.nix
|
||||||
# ../system/proxy.nix
|
../system/firewall.nix
|
||||||
# ../system/recovery.nix # only supports non-flake conf
|
../system/locale.nix
|
||||||
../system/ssh.nix
|
../system/network.nix
|
||||||
../system/timezone.nix
|
../system/term.nix
|
||||||
# ../system/touchpad.nix
|
../system/development.nix
|
||||||
../system/users.nix
|
# ../system/proxy.nix
|
||||||
../system/tools.nix
|
# ../system/recovery.nix # only supports non-flake conf
|
||||||
(if vpn_enable then ../system/vpn.nix else null)
|
../system/ssh.nix
|
||||||
];
|
../system/timezone.nix
|
||||||
|
# ../system/touchpad.nix
|
||||||
|
../system/users.nix
|
||||||
|
../system/tools.nix
|
||||||
|
]
|
||||||
|
++ lib.optionals (vpn_enable == true) [
|
||||||
|
../system/vpn.nix
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user