mirror of
https://github.com/Nickiel12/nicks-nix-config.git
synced 2024-11-22 20:59:32 -08:00
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:
parent
b451f4f2c0
commit
bddf159ea6
2 changed files with 4 additions and 1 deletions
|
@ -5,6 +5,8 @@
|
||||||
{ config, lib, pkgs, user, inputs, ... }:
|
{ config, lib, pkgs, user, inputs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
||||||
boot.supportedFilesystems = [ "nfts" ];
|
boot.supportedFilesystems = [ "nfts" ];
|
||||||
|
|
||||||
boot.loader.systemd-boot.configurationLimit = 5;
|
boot.loader.systemd-boot.configurationLimit = 5;
|
||||||
|
@ -17,6 +19,7 @@
|
||||||
options = "--delete-generations 8d";
|
options = "--delete-generations 8d";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
programs.zsh.enable = true;
|
||||||
users.users.${user} = {
|
users.users.${user} = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
extraGroups = [ "wheel" "video" "audio" "networkmanager" "lp" "scanner" "input" "uinput" ];
|
extraGroups = [ "wheel" "video" "audio" "networkmanager" "lp" "scanner" "input" "uinput" ];
|
||||||
|
|
|
@ -12,6 +12,7 @@ let
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
|
||||||
|
xdg.mimeApps.associations.added."text/plain" = "vim";
|
||||||
# Let Home Manager install and manage itself.
|
# Let Home Manager install and manage itself.
|
||||||
programs.home-manager.enable = true;
|
programs.home-manager.enable = true;
|
||||||
|
|
||||||
|
@ -79,5 +80,4 @@ in
|
||||||
NIX_SHELL_PRESERVE_PROMPT = 1;
|
NIX_SHELL_PRESERVE_PROMPT = 1;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue