feat(gui): remove withArcFull specialisation

This specialisation breaks various programs and has no practical use.
This commit is contained in:
514fpv 2024-01-17 21:39:34 +08:00
parent ae0f334286
commit 6b721f4f4a
Signed by: koishi
SSH key fingerprint: SHA256:axz0uIzzY+5W19i7QOUuiw5LSqhKfCBKPf3L4xFRxLw

View file

@ -80,22 +80,6 @@ in {
};
};
specialisation.withArcFull = mkIf (cfg.arc != null) {
configuration = {
global.gui.arc = mkForce null;
powerManagement.cpuFreqGovernor = mkForce "performance";
# set DRI_PRIME in profile to always enable offloading
environment.variables.DRI_PRIME = "1";
services.greetd.settings.default_session.command = ''
# regreet is buggy with offload enabled so we turn it off
env DRI_PRIME=0 ${pkgs.dbus}/bin/dbus-run-session \
${getExe pkgs.cage} ${escapeShellArgs config.programs.regreet.cageArgs} -- \
${getExe config.programs.regreet.package}
'';
};
};
boot.initrd.kernelModules =
optional amdgpu "amdgpu" ++
optional intel "i915" ++