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' { leoncloud = nixosSystem' {
modules = [ modules = [
self.nixosModules.microvm self.nixosModules.cluster-options
./hosts/leoncloud ./hosts/leoncloud
]; ];
}; };

View File

@ -1,24 +1,14 @@
{ zentralwerk, config, lib, pkgs, ... }: { zentralwerk, config, lib, pkgs, ... }:
{ {
microvm = { deployment = {
mem = 4024; persistedShares = [ "/etc" "/home" "/var" ];
writableStoreOverlay = "/nix/.rw-store"; storage = "big";
volumes = [ { mem = 2048;
image = "nix-store-overlay.img";
mountPoint = config.microvm.writableStoreOverlay;
size = 32 * 1024;
} ];
}; };
nix.settings.auto-optimise-store = lib.mkForce false; nix.settings.auto-optimise-store = lib.mkForce false;
c3d2.deployment = {
server = "server9";
mounts = [ "etc" "home" "var" ];
autoNetSetup = true;
};
networking = { networking = {
hostName = "leoncloud"; hostName = "leoncloud";
firewall.enable = true; firewall.enable = true;