Split out hm/common

I went nuclear...
This commit is contained in:
Geoffrey Frogeye 2024-01-11 23:54:03 +01:00
parent 033f411060
commit 4412180b3a
Signed by: geoffrey
GPG key ID: C72403E7F82E6AD8
17 changed files with 345 additions and 307 deletions

View file

@ -27,6 +27,15 @@ in
{
# config = lib.mkIf config.programs.nixvim.enable { # Somehow this is infinite recursion?
config = {
home.sessionVariables = {
EDITOR = "nvim";
} // lib.optionalAttrs config.frogeye.desktop.xorg {
VISUAL = "nvim";
};
programs.bash.shellAliases = {
vi = "nvim";
vim = "nvim";
};
programs.nixvim = {
# Setting a custom base16 theme via nixvim is required so feline works, and
# because stylix makes a config that otherwise only works with dark