https://git.jolheiser.com/dotnix.git
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
[private] default: @just --choose [private] rebuild *args: @git add . @sudo nixos-rebuild --flake . {{args}} |& nix run nixpkgs#nix-output-monitor # Rebuild the current machine switch *args: @just rebuild switch {{args}} # Rebuild the current home configuration hm: @git add . @home-manager switch --flake . |& nix run nixpkgs#nix-output-monitor @systemctl --user start agenix.service # Rebuild the current machine for next boot boot *args: @just rebuild boot {{args}} alias nixos := switch alias home := hm