add garbageCollect alias

This commit is contained in:
Kopatz
2024-04-18 20:26:37 +02:00
parent b53871bec3
commit 482850be9d
2 changed files with 9 additions and 6 deletions

View File

@@ -6,15 +6,16 @@
# new option autosuggestion.enable = true; # new option autosuggestion.enable = true;
enableAutosuggestions = true; enableAutosuggestions = true;
shellAliases = { shellAliases = {
ll = "ls -l"; # TODO: gifsicle -O3 --lossy=30 noita-20240328-191617-1612416266-00316616.gif -o noita-20240328-191617-1612416266.gif
update = "sudo nixos-rebuild switch"; backupNoita = "cp -r ~/.local/share/Steam/steamapps/compatdata/881100/pfx/drive_c/users/steamuser/AppData/LocalLow/Nolla_Games_Noita/save00 /synced/default/backups/noita_save";
updateOffline = "sudo nixos-rebuild switch --option substitute false";
updateFancy = "nh os switch";
checkTime = "(cd /synced/work_drive/TS && nix run)"; checkTime = "(cd /synced/work_drive/TS && nix run)";
checkWaylandWindowsKDE = "qdbus org.kde.KWin /KWin org.kde.KWin.showDebugConsole"; checkWaylandWindowsKDE = "qdbus org.kde.KWin /KWin org.kde.KWin.showDebugConsole";
backupNoita = "cp -r ~/.local/share/Steam/steamapps/compatdata/881100/pfx/drive_c/users/steamuser/AppData/LocalLow/Nolla_Games_Noita/save00 /synced/default/backups/noita_save"; collectGarbage = "sudo nix-collect-garbage --delete-older-than 7d && nix-collect-garbage --delete-older-than 7d";
# TODO: gifsicle -O3 --lossy=30 noita-20240328-191617-1612416266-00316616.gif -o noita-20240328-191617-1612416266.gif ll = "ls -l";
ssh = "TERM=xterm-256color ssh"; ssh = "TERM=xterm-256color ssh";
update = "sudo nixos-rebuild switch";
updateFancy = "nh os switch";
updateOffline = "sudo nixos-rebuild switch --option substitute false";
}; };
oh-my-zsh = { oh-my-zsh = {
enable = true; enable = true;

View File

@@ -6,6 +6,8 @@
}: }:
{ {
imports = [ ./option.nix ]; imports = [ ./option.nix ];
environment.systemPackages = [ pkgs.home-manager ];
home-manager = { home-manager = {
useGlobalPkgs = true; useGlobalPkgs = true;
extraSpecialArgs = { extraSpecialArgs = {