add just generate recipe

This commit is contained in:
Ivan Kirilov Dimitrov 2024-08-04 14:54:06 +02:00
parent 2d99617d89
commit 0bf31f6699
No known key found for this signature in database
GPG Key ID: 0BDAD4B211C49294
2 changed files with 3 additions and 3 deletions

View File

@ -17,8 +17,8 @@ clean:
nix-collect-garbage --delete-older-than 90d
doas nix-collect-garbage --delete-older-than 90d
installer-iso:
nix shell nixpkgs#nixos-generators --command nixos-generate -f install-iso --flake ./#installer-iso
generate format="install-iso" config="install-iso":
nix shell nixpkgs#nixos-generators --command nixos-generate -f {{format}} --flake ./#{{config}}
vps:
nixos-rebuild switch --flake ./#vps --target-host root@10.0.0.1

View File

@ -20,7 +20,7 @@ in
nova-music = novaConfig (with mods; [ music ivand ]);
nova-nonya = novaConfig (with mods; [ anon cryptocurrency ivand ]);
nova-ai = novaConfig (with mods; [ ai ivand ]);
installer-iso = configWithModules { modules = (with mods; [ grub base shell wireless ]); };
install-iso = configWithModules { modules = (with mods; [ grub base shell wireless ]); };
vps = configWithModules { modules = (with mods; [ base shell security vps ]); };
};
}