From c9fb5349a50194b3f63d8977dee24a3418a85aca Mon Sep 17 00:00:00 2001 From: itsscb Date: Mon, 16 Jun 2025 22:16:57 +0200 Subject: [PATCH] feat: add sudo-rs, remove zed + rustrover --- configuration.nix | 11 +++++++++-- home.nix | 1 - 2 files changed, 9 insertions(+), 3 deletions(-) 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 {