leon: skiflakify
This commit is contained in:
parent
33fecdb43e
commit
905c4c0fe4
|
@ -892,7 +892,7 @@
|
|||
|
||||
leon = nixosSystem' {
|
||||
modules = [
|
||||
self.nixosModules.microvm
|
||||
self.nixosModules.cluster-options
|
||||
./hosts/leon
|
||||
];
|
||||
};
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue