Initial commit

This commit is contained in:
AXOLOTsh
2026-01-28 11:41:51 +03:00
commit c1d66293aa
52 changed files with 817 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
{ self, ... } : {
programs.bash = {
enable = true;
shellAliases = {
editor = "nano";
sync = "cd ${self} && git pull && cd -";
rebuild = "sudo nixos-rebuild switch --flake ${self}";
nix-path = "cd ${self}";
gen-list = "sudo nix-env -p /nix/var/nix/profiles/system --list-generations";
clean = "sudo nix-collect-garbage -d";
update = "sudo nix-channel --update";
update-flake = "cd ${self} && nix flake update && cd -";
upgrade = "sudo nixos-rebuild switch --upgrade --flake ${self}";
search = "nix search";
};
};
}