diff --git a/flake.nix b/flake.nix index e1074b0..1f13d04 100644 --- a/flake.nix +++ b/flake.nix @@ -65,19 +65,7 @@ networking.hostName = lib.mkForce "seele"; powerManagement.powertop.enable = true; services.upower.enable = true; - services.tlp = { - enable = true; - settings = { - CPU_SCALING_GOVERNOR_ON_AC = "performance"; - CPU_SCALING_GOVERNOR_ON_BAT = "balanced"; - CPU_ENERGY_PERF_POLICY_ON_BAT = "balanced"; - CPU_ENERGY_PERF_POLICY_ON_AC = "performance"; - CPU_MIN_PERF_ON_AC = 0; - CPU_MAX_PERF_ON_AC = 100; - CPU_MIN_PERF_ON_BAT = 0; - CPU_MAX_PERF_ON_BAT = 50; - }; - }; + services.auto-cpufreq.enable = true; }) ]; diff --git a/home-manager/home.nix b/home-manager/home.nix index cf88558..4e49db1 100644 --- a/home-manager/home.nix +++ b/home-manager/home.nix @@ -23,6 +23,7 @@ in inputs.nixcord.homeModules.nixcord inputs.spicetify-nix.homeManagerModules.spicetify ]; + services.hyprpolkitagent.enable = true; home.pointerCursor.enable = true; home.username = "lucy"; home.homeDirectory = "/home/lucy"; diff --git a/nixos/configuration.nix b/nixos/configuration.nix index de82a3b..1693be3 100644 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -57,8 +57,8 @@ layout = "eu"; variant = ""; }; + security.polkit.enable = true; security.doas.enable = true; - security.sudo.enable = false; security.doas.extraRules = [ { users = [