add garbageCollect alias
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
@@ -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 = {
|
||||||
|
|||||||
Reference in New Issue
Block a user