feat: add sudo-rs, remove zed + rustrover

This commit is contained in:
itsscb 2025-06-16 22:16:57 +02:00
parent 4bf8553a38
commit c9fb5349a5
2 changed files with 9 additions and 3 deletions

View File

@ -179,6 +179,12 @@ in {
# sound.enable = true; # sound.enable = true;
services.pulseaudio.enable = false; services.pulseaudio.enable = false;
security.rtkit.enable = true; security.rtkit.enable = true;
security.sudo-rs = {
enable = true;
extraConfig = ''
Defaults env_keep += "EDITOR VISUAL"
'';
};
users.groups.fsc = { users.groups.fsc = {
gid = 1010; gid = 1010;
}; };
@ -232,7 +238,9 @@ in {
}; };
variables = { variables = {
EDITOR = "zeditor"; EDITOR = "nvim";
SUDO_EDITOR = "nvim";
VISUAL = "nvim";
XCURSOR_THEME = "Adwaita"; XCURSOR_THEME = "Adwaita";
RUST_SRC_PATH = "${pkgs.rust.packages.stable.rustPlatform.rustLibSrc}"; RUST_SRC_PATH = "${pkgs.rust.packages.stable.rustPlatform.rustLibSrc}";
}; };
@ -419,7 +427,6 @@ in {
# Editor # Editor
helix helix
vscode vscode
zed-editor
docker-compose docker-compose

View File

@ -251,7 +251,6 @@ home.file.".config/nvim/".source = "${neovim-config}/";
}; };
home.packages = with pkgs; [ home.packages = with pkgs; [
jetbrains.rust-rover
nemo nemo
texlab texlab
(texlive.combine { (texlive.combine {