From 99fea827d77a3d1222747c00464be7049004cb62 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Wed, 29 Mar 2023 08:18:17 +0100 Subject: [PATCH] Set nvim as default editor, enable ssh-agent --- nixos/common/common.nix | 3 +-- nixos/home/neovim.nix | 5 ++++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/nixos/common/common.nix b/nixos/common/common.nix index 358058cd..5e093c0d 100644 --- a/nixos/common/common.nix +++ b/nixos/common/common.nix @@ -21,8 +21,7 @@ in networking.networkmanager.enable = true; # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. - # Enable the OpenSSH daemon. - services.openssh.enable = true; + programs.ssh.startAgent = true; nix.gc = { automatic = true; diff --git a/nixos/home/neovim.nix b/nixos/home/neovim.nix index 968663e8..5087eb5d 100644 --- a/nixos/home/neovim.nix +++ b/nixos/home/neovim.nix @@ -1,8 +1,11 @@ { pkgs, ... }: { + programs.neovim = { + enable = true; + defaultEditor = true; + }; home.packages = with pkgs; [ - neovim gnumake gcc python310Packages.pynvim