diff --git a/Justfile b/Justfile index 9eadd51..36d52a6 100644 --- a/Justfile +++ b/Justfile @@ -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 diff --git a/nixos/configs/default.nix b/nixos/configs/default.nix index 2bbd3ef..716d9e5 100644 --- a/nixos/configs/default.nix +++ b/nixos/configs/default.nix @@ -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 ]); }; }; }