leon: skiflakify
This commit is contained in:
parent
33fecdb43e
commit
905c4c0fe4
|
@ -892,7 +892,7 @@
|
||||||
|
|
||||||
leon = nixosSystem' {
|
leon = nixosSystem' {
|
||||||
modules = [
|
modules = [
|
||||||
self.nixosModules.microvm
|
self.nixosModules.cluster-options
|
||||||
./hosts/leon
|
./hosts/leon
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
|
@ -30,23 +30,12 @@
|
||||||
{ config, lib, pkgs, ... }:
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
microvm = {
|
deployment = {
|
||||||
|
persistedShares = [ "/etc" "/home" "/var" ];
|
||||||
mem = 2048;
|
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;
|
nix.settings.auto-optimise-store = lib.mkForce false;
|
||||||
|
|
||||||
c3d2.deployment = {
|
|
||||||
server = "server10";
|
|
||||||
mounts = [ "etc" "home" "var"];
|
|
||||||
autoNetSetup = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
networking = {
|
networking = {
|
||||||
hostName = "leon";
|
hostName = "leon";
|
||||||
firewall.enable = true;
|
firewall.enable = true;
|
||||||
|
|
Loading…
Reference in New Issue