feat: introduction of system_profiles

This commit is contained in:
Ranomier 2025-06-14 21:43:23 +02:00
parent 116aaaacff
commit 855b932cbd
15 changed files with 117 additions and 67 deletions

View file

@ -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
];
}

View 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;
}