configuration.nix/Justfile

39 lines
693 B
Makefile
Raw Normal View History

2024-08-02 20:11:33 +02:00
default: nixos
2024-06-23 17:09:24 +02:00
2024-08-02 20:11:33 +02:00
all: nixos music nonya ai
2024-06-23 17:09:24 +02:00
home:
2024-07-11 10:22:34 +02:00
home-manager switch --flake ./. -b $(mktemp -u XXXX)
2024-06-23 17:09:24 +02:00
nixos:
doas nixos-rebuild switch --flake ./.
2024-06-24 14:08:29 +02:00
update:
nix flake update
2024-06-24 20:44:19 +02:00
clean: cleanRoot cleanHome
cleanHome:
2024-07-05 19:35:16 +02:00
nix-collect-garbage --delete-older-than 90d
2024-06-24 20:44:19 +02:00
cleanRoot:
2024-07-05 19:35:16 +02:00
doas nix-collect-garbage --delete-older-than 90d
2024-06-24 22:51:55 +02:00
news:
home-manager news --flake ./.
2024-07-05 20:03:30 +02:00
music:
doas nixos-rebuild switch --flake ./#music
2024-07-06 22:58:14 +02:00
nonya:
doas nixos-rebuild switch --flake ./#nonya
2024-07-11 10:23:29 +02:00
ai:
doas nixos-rebuild switch --flake ./#ai
2024-08-03 15:14:13 +02:00
installer-iso:
nix shell nixpkgs#nixos-generators --command nixos-generate -f install-iso --flake ./#nixos
2024-08-03 17:09:52 +02:00
vps:
nixos-rebuild switch --flake ./#vps --target-host root@10.0.0.1