From 01b3f930a39290ade441024ddd0f996b74f26040 Mon Sep 17 00:00:00 2001 From: 514fpv Date: Wed, 17 Jan 2024 21:39:34 +0800 Subject: [PATCH] global(gui): remove withArcFull specialisation since it had no use case --- global/gui/default.nix | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/global/gui/default.nix b/global/gui/default.nix index 3b2082de..cf2edf3b 100644 --- a/global/gui/default.nix +++ b/global/gui/default.nix @@ -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" ++