Compare commits
2 Commits
76266ac03e
...
8a987487d1
Author | SHA1 | Date | |
---|---|---|---|
8a987487d1 | |||
af9459ba81 |
2
Justfile
2
Justfile
@ -21,4 +21,4 @@ generate format="install-iso" config="install-iso":
|
|||||||
nix shell nixpkgs#nixos-generators --command nixos-generate -f {{format}} --flake ./#{{config}}
|
nix shell nixpkgs#nixos-generators --command nixos-generate -f {{format}} --flake ./#{{config}}
|
||||||
|
|
||||||
vps:
|
vps:
|
||||||
nixos-rebuild switch --flake ./#vps --target-host root@10.0.0.1
|
nixos-rebuild switch --flake ./#mailserver --target-host root@10.0.0.1
|
||||||
|
@ -13,16 +13,18 @@ let
|
|||||||
modules = [ hardware ] ++ modules;
|
modules = [ hardware ] ++ modules;
|
||||||
});
|
});
|
||||||
novaConfig = mods: configWithModules { hardware = hardwareConfigurations.nova; modules = essential ++ desktop ++ mods; };
|
novaConfig = mods: configWithModules { hardware = hardwareConfigurations.nova; modules = essential ++ desktop ++ mods; };
|
||||||
|
installer = conf: conf // { hardware = import /mnt/etc/nixos/hardware-configuration.nix; };
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
flake.nixosConfigurations = {
|
flake.nixosConfigurations = rec {
|
||||||
nova = novaConfig [ mods.ivand ];
|
nova = novaConfig [ mods.ivand ];
|
||||||
nova-music = novaConfig (with mods; [ ivand music ]);
|
nova-music = novaConfig (with mods; [ ivand music ]);
|
||||||
nova-crypto = novaConfig (with mods; [ ivand cryptocurrency ]);
|
nova-crypto = novaConfig (with mods; [ ivand cryptocurrency ]);
|
||||||
nova-nonya = novaConfig (with mods; [ ivand anon cryptocurrency ]);
|
nova-nonya = novaConfig (with mods; [ ivand anon cryptocurrency ]);
|
||||||
nova-ai = novaConfig (with mods; [ ivand ai ]);
|
nova-ai = novaConfig (with mods; [ ivand ai ]);
|
||||||
install-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 ]); };
|
mailserver = configWithModules { modules = (with mods; [ base shell security vps ]); };
|
||||||
stara-miner = configWithModules { modules = (with mods; [ base shell security monero-miner ]); };
|
stara-miner = configWithModules { modules = (with mods; [ base shell security monero-miner ]); };
|
||||||
|
stara-miner-installer = installer stara-miner;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user