commit 17c999aab55ac898d256dd43036782ebdfa64d45
parent 69d1d753643ccb279b07244c3e5516a17de868c9
Author: Toni Brown <me@tb148.net>
Date: Sun, 29 Mar 2026 00:15:53 +0800
use sudo-rs instead of doas
Diffstat:
1 file changed, 1 insertion(+), 13 deletions(-)
diff --git a/configuration.nix b/configuration.nix
@@ -81,18 +81,7 @@
services.xserver.xkb.layout = "cn(altgr-pinyin)";
security.sudo.enable = false;
- security.doas.enable = true;
- security.doas.extraRules =
- lib.mkAfter [
- {
- groups = ["wheel"];
- persist = true;
- keepEnv = true;
- setEnv = [
- "SUDO_UID=$UID"
- ];
- }
- ];
+ security.sudo-rs.enable = true;
catppuccin.enable = true;
catppuccin.flavor = "mocha";
@@ -177,7 +166,6 @@
environment.systemPackages = with pkgs; [
catppuccin-cursors.mochaMauve
- doas-sudo-shim
git
helix
sarasa-gothic