26 lines
533 B
Nix
26 lines
533 B
Nix
{
|
|
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
|
|
];
|
|
}
|