fix!: fixed nano being set as default editor

Worked around the fact that the HomeManger zsh has a weird order of env var sets that ends up overriding the EDITOR=vim setting
This commit is contained in:
Nickiel12 2023-01-14 15:58:59 -08:00
parent b451f4f2c0
commit bddf159ea6
2 changed files with 4 additions and 1 deletions

View file

@ -5,6 +5,8 @@
{ config, lib, pkgs, user, inputs, ... }:
{
boot.supportedFilesystems = [ "nfts" ];
boot.loader.systemd-boot.configurationLimit = 5;
@ -17,6 +19,7 @@
options = "--delete-generations 8d";
};
programs.zsh.enable = true;
users.users.${user} = {
isNormalUser = true;
extraGroups = [ "wheel" "video" "audio" "networkmanager" "lp" "scanner" "input" "uinput" ];

View file

@ -12,6 +12,7 @@ let
in
{
xdg.mimeApps.associations.added."text/plain" = "vim";
# Let Home Manager install and manage itself.
programs.home-manager.enable = true;
@ -79,5 +80,4 @@ in
NIX_SHELL_PRESERVE_PROMPT = 1;
};
};
}