feat: add sudo-rs, remove zed + rustrover
This commit is contained in:
parent
4bf8553a38
commit
c9fb5349a5
@ -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
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user