diff --git a/configuration.nix b/configuration.nix index 5017d99..5794a2b 100644 --- a/configuration.nix +++ b/configuration.nix @@ -179,6 +179,12 @@ in { # sound.enable = true; services.pulseaudio.enable = false; security.rtkit.enable = true; + security.sudo-rs = { + enable = true; + extraConfig = '' + Defaults env_keep += "EDITOR VISUAL" + ''; + }; users.groups.fsc = { gid = 1010; }; @@ -232,7 +238,9 @@ in { }; variables = { - EDITOR = "zeditor"; + EDITOR = "nvim"; + SUDO_EDITOR = "nvim"; + VISUAL = "nvim"; XCURSOR_THEME = "Adwaita"; RUST_SRC_PATH = "${pkgs.rust.packages.stable.rustPlatform.rustLibSrc}"; }; @@ -419,7 +427,6 @@ in { # Editor helix vscode - zed-editor docker-compose diff --git a/home.nix b/home.nix index 2429989..399c50e 100644 --- a/home.nix +++ b/home.nix @@ -251,7 +251,6 @@ home.file.".config/nvim/".source = "${neovim-config}/"; }; home.packages = with pkgs; [ - jetbrains.rust-rover nemo texlab (texlive.combine {