chore(nix): move configurationLimit to desktop role
This commit is contained in:
parent
4ef0c78963
commit
894dba1d78
|
@ -34,13 +34,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
boot = {
|
boot = {
|
||||||
loader = {
|
loader.efi.canTouchEfiVariables = true;
|
||||||
systemd-boot = {
|
|
||||||
enable = true;
|
|
||||||
configurationLimit = 5;
|
|
||||||
};
|
|
||||||
efi.canTouchEfiVariables = true;
|
|
||||||
};
|
|
||||||
kernel.sysctl."net.ipv4.ip_forward" = "1";
|
kernel.sysctl."net.ipv4.ip_forward" = "1";
|
||||||
extraModprobeConfig = "options kvm_intel nested=1";
|
extraModprobeConfig = "options kvm_intel nested=1";
|
||||||
};
|
};
|
||||||
|
|
|
@ -12,6 +12,10 @@ in {
|
||||||
enable = mkEnableOption "to enable the desktop role.";
|
enable = mkEnableOption "to enable the desktop role.";
|
||||||
};
|
};
|
||||||
config = mkIf (cfg.enable) {
|
config = mkIf (cfg.enable) {
|
||||||
|
boot.loader.systemd-boot = {
|
||||||
|
enable = true;
|
||||||
|
configurationLimit = 5;
|
||||||
|
};
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
brave # Privacy-oriented browser
|
brave # Privacy-oriented browser
|
||||||
chromium
|
chromium
|
||||||
|
|
Loading…
Reference in a new issue