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