leoncloud: skyflakify
This commit is contained in:
parent
ebf4e41b73
commit
572af7e31d
|
@ -909,7 +909,7 @@
|
|||
|
||||
leoncloud = nixosSystem' {
|
||||
modules = [
|
||||
self.nixosModules.microvm
|
||||
self.nixosModules.cluster-options
|
||||
./hosts/leoncloud
|
||||
];
|
||||
};
|
||||
|
|
|
@ -1,24 +1,14 @@
|
|||
{ zentralwerk, config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
microvm = {
|
||||
mem = 4024;
|
||||
writableStoreOverlay = "/nix/.rw-store";
|
||||
volumes = [ {
|
||||
image = "nix-store-overlay.img";
|
||||
mountPoint = config.microvm.writableStoreOverlay;
|
||||
size = 32 * 1024;
|
||||
} ];
|
||||
deployment = {
|
||||
persistedShares = [ "/etc" "/home" "/var" ];
|
||||
storage = "big";
|
||||
mem = 2048;
|
||||
};
|
||||
|
||||
nix.settings.auto-optimise-store = lib.mkForce false;
|
||||
|
||||
c3d2.deployment = {
|
||||
server = "server9";
|
||||
mounts = [ "etc" "home" "var" ];
|
||||
autoNetSetup = true;
|
||||
};
|
||||
|
||||
networking = {
|
||||
hostName = "leoncloud";
|
||||
firewall.enable = true;
|
||||
|
|
Loading…
Reference in New Issue