summaryrefslogtreecommitdiff
path: root/profiles
diff options
context:
space:
mode:
authorMike Vink <mike1994vink@gmail.com>2023-10-10 10:03:15 +0000
committerMike Vink <mike1994vink@gmail.com>2023-10-10 10:03:15 +0000
commit63aae9abf1f83a41ba92a4672277ba04c3bd48bf (patch)
treec66e39b6011d5e365e713b2c5967a901a34d5989 /profiles
parentace3eae111b44892f873436c859e1aa8b14b32ab (diff)
changes on wsl machine
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;