Compare commits

..

No commits in common. "8a987487d1146d73e33ae82e1d62fd5476efe0f4" and "76266ac03e91f88ababd953384d78c7020802418" have entirely different histories.

2 changed files with 3 additions and 5 deletions

View File

@ -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 ./#mailserver --target-host root@10.0.0.1 nixos-rebuild switch --flake ./#vps --target-host root@10.0.0.1

View File

@ -13,18 +13,16 @@ 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 = rec { flake.nixosConfigurations = {
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 ]); };
mailserver = configWithModules { modules = (with mods; [ base shell security vps ]); }; vps = 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;
}; };
} }