From 63aae9abf1f83a41ba92a4672277ba04c3bd48bf Mon Sep 17 00:00:00 2001 From: Mike Vink Date: Tue, 10 Oct 2023 10:03:15 +0000 Subject: changes on wsl machine --- profiles/core/configuration.nix | 11 ++++++++++- profiles/core/neovim.nix | 5 +++++ 2 files changed, 15 insertions(+), 1 deletion(-) (limited to 'profiles') 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; -- cgit v1.2.3