leon: skiflakify

This commit is contained in:
Astro 2022-11-21 03:22:40 +01:00
parent 33fecdb43e
commit 905c4c0fe4
2 changed files with 3 additions and 14 deletions

View File

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

View File

@ -30,23 +30,12 @@
{ config, lib, pkgs, ... }:
{
microvm = {
deployment = {
persistedShares = [ "/etc" "/home" "/var" ];
mem = 2048;
writableStoreOverlay = "/nix/.rw-store";
volumes = [ {
image = "nix-store-overlay.img";
mountPoint = config.microvm.writableStoreOverlay;
size = 5048;
} ];
};
nix.settings.auto-optimise-store = lib.mkForce false;
c3d2.deployment = {
server = "server10";
mounts = [ "etc" "home" "var"];
autoNetSetup = true;
};
networking = {
hostName = "leon";
firewall.enable = true;