global(gui): improve withArc specialisation
This commit is contained in:
parent
441b4a363c
commit
5ab271b704
1 changed files with 7 additions and 0 deletions
|
@ -74,6 +74,13 @@ in {
|
||||||
specialisation.withArc = mkIf (cfg.arc != null) {
|
specialisation.withArc = mkIf (cfg.arc != null) {
|
||||||
configuration = {
|
configuration = {
|
||||||
global.gui.arc = mkForce null;
|
global.gui.arc = mkForce null;
|
||||||
|
environment.variables.DRI_PRIME = "1";
|
||||||
|
powerManagement.cpuFreqGovernor = mkForce "performance";
|
||||||
|
services.greetd.settings.default_session.command = ''
|
||||||
|
env DRI_PRIME=0 ${pkgs.dbus}/bin/dbus-run-session \
|
||||||
|
${getExe pkgs.cage} ${escapeShellArgs config.programs.regreet.cageArgs} -- \
|
||||||
|
${getExe config.programs.regreet.package}
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue