enable polkit

This commit is contained in:
lucy 2026-08-06 13:10:26 +02:00
commit d5bd42c7b2
3 changed files with 3 additions and 14 deletions

View file

@ -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;
})
];

View file

@ -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";

View file

@ -57,8 +57,8 @@
layout = "eu";
variant = "";
};
security.polkit.enable = true;
security.doas.enable = true;
security.sudo.enable = false;
security.doas.extraRules = [
{
users = [