Switch things around
parent
5b037bd5d7
commit
609291820e
|
@ -14,7 +14,6 @@
|
||||||
environment.variables = {
|
environment.variables = {
|
||||||
TERMINFO_DIRS = [ "${pkgs.kitty.terminfo.outPath}/share/terminfo" ];
|
TERMINFO_DIRS = [ "${pkgs.kitty.terminfo.outPath}/share/terminfo" ];
|
||||||
};
|
};
|
||||||
programs.nix-index.enable = true;
|
|
||||||
|
|
||||||
# Fonts
|
# Fonts
|
||||||
fonts.fontDir.enable = true;
|
fonts.fontDir.enable = true;
|
||||||
|
|
|
@ -98,6 +98,6 @@ in
|
||||||
"fileicon"
|
"fileicon"
|
||||||
"fzf"
|
"fzf"
|
||||||
"gifsicle"
|
"gifsicle"
|
||||||
# "unison-language"
|
"unison-language"
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -153,19 +153,15 @@
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
darwin-rebuild-edit-kakoune = {
|
darwin-rebuild-edit-with = {
|
||||||
argumentNames = [ "file" ];
|
argumentNames = [ "file" "editor" ];
|
||||||
body = ''
|
body = ''
|
||||||
if test -z "$file"
|
if test -z "$file"
|
||||||
set file flake.nix
|
set file flake.nix
|
||||||
end
|
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}";
|
drc = "code ${nixConfigDir}";
|
||||||
# edit darwin-rebuild config in vim
|
# edit darwin-rebuild config in vim
|
||||||
drv = "vim ${nixConfigDir}";
|
drv = "vim ${nixConfigDir}";
|
||||||
# edit darwin-rebuild config in kakoune
|
# edit darwin-rebuild config in helix
|
||||||
drk = "darwin-rebuild-edit-kakoune";
|
drh = "darwin-rebuild-edit-with hx";
|
||||||
flakeup = "nix flake update ${nixConfigDir}/";
|
flakeup = "nix flake update ${nixConfigDir}/";
|
||||||
nb = "nix build";
|
nb = "nix build";
|
||||||
nd = "nix develop";
|
nd = "nix develop";
|
||||||
|
|
|
@ -41,6 +41,10 @@
|
||||||
helix = {
|
helix = {
|
||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
|
nix-index = {
|
||||||
|
enable = true;
|
||||||
|
enableFishIntegration = true;
|
||||||
|
};
|
||||||
ssh = {
|
ssh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
matchBlocks."*".extraOptions = {
|
matchBlocks."*".extraOptions = {
|
||||||
|
|
Loading…
Reference in New Issue