diff --git a/hosts/sercanto/default.nix b/hosts/sercanto/default.nix index fa5117a..588c470 100644 --- a/hosts/sercanto/default.nix +++ b/hosts/sercanto/default.nix @@ -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"; }; diff --git a/modules/roles/desktop/default.nix b/modules/roles/desktop/default.nix index ea9e931..9067565 100644 --- a/modules/roles/desktop/default.nix +++ b/modules/roles/desktop/default.nix @@ -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