This commit is contained in:
2023-04-12 20:32:07 +02:00
committed by soraefir
parent 10fbbc2654
commit 624fccea29
91 changed files with 5545 additions and 4 deletions

16
home/cli/zsh/default.nix Executable file
View File

@@ -0,0 +1,16 @@
{
...
}:
let
nixflake_dir = "$HOME/files/nixconfig";
in {
programs.zsh = {
enable = true;
shellAliases = {
"devsh" = "nix develop ${nixflake_dir} -c zsh";
"nixupdt" = "cd ${nixflake_dir} && nix flake update";
"nixbuild" = "cd ${nixflake_dir} && sudo nixos-rebuild switch --flake ./ ";
"nixgc" = "nix-collect-garbage -d";
};
};
}