2024-03-24 23:39:49 +01:00
|
|
|
default:
|
|
|
|
just --list
|
|
|
|
|
2024-03-28 00:05:32 +01:00
|
|
|
nixos target=`hostname`:
|
2024-03-25 04:09:58 +01:00
|
|
|
sudo nixos-rebuild --flake .#{{target}} switch
|
|
|
|
|
2024-03-28 00:05:32 +01:00
|
|
|
home-manager target=(`whoami`+"@"+`hostname`):
|
2024-03-24 23:39:49 +01:00
|
|
|
home-manager --flake .#{{target}} switch
|
|
|
|
|
2024-03-28 00:05:32 +01:00
|
|
|
check-home-manager target=(`whoami`+"@"+`hostname`):
|
2024-03-24 23:39:49 +01:00
|
|
|
home-manager build --no-out-link --flake .#{{target}}
|
|
|
|
|
2024-03-28 00:05:32 +01:00
|
|
|
bootstrap-home-manager target=(`whoami`+"@"+`hostname`):
|
2024-03-24 23:39:49 +01:00
|
|
|
nix run --extra-experimental-features "nix-command flakes" --no-write-lock-file github:nix-community/home-manager/ -- --extra-experimental-features "nix-command flakes" --flake .#{{target}} switch
|
|
|
|
|
|
|
|
format:
|
|
|
|
nix fmt
|
|
|
|
|
|
|
|
home-gc:
|
|
|
|
home-manager expire-generations -7days
|
|
|
|
nix store gc
|