Switch things around
parent
5b037bd5d7
commit
609291820e
|
@ -14,7 +14,6 @@
|
|||
environment.variables = {
|
||||
TERMINFO_DIRS = [ "${pkgs.kitty.terminfo.outPath}/share/terminfo" ];
|
||||
};
|
||||
programs.nix-index.enable = true;
|
||||
|
||||
# Fonts
|
||||
fonts.fontDir.enable = true;
|
||||
|
|
|
@ -98,6 +98,6 @@ in
|
|||
"fileicon"
|
||||
"fzf"
|
||||
"gifsicle"
|
||||
# "unison-language"
|
||||
"unison-language"
|
||||
];
|
||||
}
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -41,6 +41,10 @@
|
|||
helix = {
|
||||
enable = true;
|
||||
};
|
||||
nix-index = {
|
||||
enable = true;
|
||||
enableFishIntegration = true;
|
||||
};
|
||||
ssh = {
|
||||
enable = true;
|
||||
matchBlocks."*".extraOptions = {
|
||||
|
|
Loading…
Reference in New Issue