leoncloud: skyflakify

This commit is contained in:
Astro 2022-11-25 23:05:32 +01:00
parent ebf4e41b73
commit 572af7e31d
2 changed files with 5 additions and 15 deletions

View File

@ -909,7 +909,7 @@
leoncloud = nixosSystem' {
modules = [
self.nixosModules.microvm
self.nixosModules.cluster-options
./hosts/leoncloud
];
};

View File

@ -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;