summaryrefslogtreecommitdiff
path: root/profiles
diff options
context:
space:
mode:
Diffstat (limited to 'profiles')
-rw-r--r--profiles/core/configuration.nix11
-rw-r--r--profiles/core/neovim.nix5
2 files changed, 15 insertions, 1 deletions
diff --git a/profiles/core/configuration.nix b/profiles/core/configuration.nix
index 211522d..545d7fa 100644
--- a/profiles/core/configuration.nix
+++ b/profiles/core/configuration.nix
@@ -7,7 +7,16 @@
isNormalUser = true;
extraGroups = ["wheel" "networkmanager" "docker" "transmission"];
};
-
+ security = {
+ sudo = {
+ wheelNeedsPassword = false;
+ extraConfig = ''
+ Defaults env_keep+="EDITOR"
+ Defaults env_keep+="SSH_CONNECTION SSH_CLIENT SSH_TTY"
+ Defaults env_keep+="http_proxy https_proxy"
+ '';
+ };
+ };
environment.systemPackages = with pkgs; [
man-pages
man-pages-posix
diff --git a/profiles/core/neovim.nix b/profiles/core/neovim.nix
index 5cca7f0..b1aaff7 100644
--- a/profiles/core/neovim.nix
+++ b/profiles/core/neovim.nix
@@ -25,6 +25,11 @@
};
};
+ home.packages = with pkgs; [
+ neovide
+ ripgrep
+ ];
+
programs.neovim = {
enable = true;
package = pkgs.neovim-unwrapped;