Switch things around

work
mat ess 2022-09-25 22:34:46 -04:00
parent 5b037bd5d7
commit 609291820e
4 changed files with 10 additions and 11 deletions

View File

@ -14,7 +14,6 @@
environment.variables = {
TERMINFO_DIRS = [ "${pkgs.kitty.terminfo.outPath}/share/terminfo" ];
};
programs.nix-index.enable = true;
# Fonts
fonts.fontDir.enable = true;

View File

@ -98,6 +98,6 @@ in
"fileicon"
"fzf"
"gifsicle"
# "unison-language"
"unison-language"
];
}

View File

@ -153,19 +153,15 @@
'';
};
darwin-rebuild-edit-kakoune = {
argumentNames = [ "file" ];
darwin-rebuild-edit-with = {
argumentNames = [ "file" "editor" ];
body = ''
if test -z "$file"
set file flake.nix
end
from-nix kak $file
from-nix $editor $file
'';
};
fish_command_not_found.body = ''
command_not_found_handle $argv
'';
};
# }}}
@ -189,8 +185,8 @@
drc = "code ${nixConfigDir}";
# edit darwin-rebuild config in vim
drv = "vim ${nixConfigDir}";
# edit darwin-rebuild config in kakoune
drk = "darwin-rebuild-edit-kakoune";
# edit darwin-rebuild config in helix
drh = "darwin-rebuild-edit-with hx";
flakeup = "nix flake update ${nixConfigDir}/";
nb = "nix build";
nd = "nix develop";

View File

@ -41,6 +41,10 @@
helix = {
enable = true;
};
nix-index = {
enable = true;
enableFishIntegration = true;
};
ssh = {
enable = true;
matchBlocks."*".extraOptions = {