feat: introduction of system_profiles
This commit is contained in:
parent
116aaaacff
commit
855b932cbd
15 changed files with 117 additions and 67 deletions
|
@ -2,11 +2,16 @@
|
|||
imports = [
|
||||
./accessibility.nix
|
||||
./customisation.nix
|
||||
|
||||
# should only be imported directly or via system_profiles
|
||||
#./dhcp-all-interfaces.nix
|
||||
|
||||
./environment.nix
|
||||
./firewall.nix
|
||||
./locale.nix
|
||||
./networking.nix
|
||||
#./plymouth.nix
|
||||
#./plymouth.nix # increases boot time too much
|
||||
#./serial-console.nix # probably only for servers
|
||||
./theming.nix
|
||||
];
|
||||
}
|
||||
|
|
9
modules/dhcp-all-interfaces.nix
Normal file
9
modules/dhcp-all-interfaces.nix
Normal file
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
# Enables DHCP on each ethernet and wireless interface.
|
||||
# In case of scripted networking (the default) this is the recommended approach.
|
||||
# When using systemd-networkd it's still possible to use this option,
|
||||
# but it's recommended to use it in conjunction with
|
||||
# explicit per-interface declarations with:
|
||||
# `networking.interfaces.<interface>.useDHCP`.
|
||||
networking.useDHCP = lib.mkDefault true;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue