Add additional controllers.

This commit is contained in:
Tom Alexander
2025-12-07 15:48:08 -05:00
parent f981bfff97
commit c1c510e392
25 changed files with 711 additions and 17 deletions

View File

@@ -102,7 +102,7 @@
# nix.sshServe.enable = true;
# nix.sshServe.keys = [ "ssh-dss AAAAB3NzaC1k... bob@example.org" ];
me.etcd.cluster_name = "put a nix on it";
me.etcd.cluster_name = "put-a-nix-on-it";
me.etcd.internal_ip = [
# "10.215.1.221"
"[2620:11f:7001:7:ffff:ffff:0ad7:01dd]"

View File

@@ -12,6 +12,16 @@
# Mount the local disk
fileSystems = lib.mkIf config.me.mountPersistence {
"/.disk" = lib.mkForce {
device = "/dev/nvme0n1p1";
fsType = "ext4";
options = [
"noatime"
"discard"
];
neededForBoot = true;
};
"/.persist" = lib.mkForce {
device = "bind9p";
fsType = "9p";
options = [
@@ -28,26 +38,26 @@
"/persist" = {
fsType = "none";
device = "/.disk/persist";
device = "/.persist/persist";
options = [
"bind"
"rw"
];
depends = [
"/.disk/persist"
"/.persist/persist"
];
neededForBoot = true;
};
"/state" = {
fsType = "none";
device = "/.disk/state";
device = "/.persist/state";
options = [
"bind"
"rw"
];
depends = [
"/.disk/state"
"/.persist/state"
];
neededForBoot = true;
};
@@ -66,6 +76,19 @@
];
neededForBoot = true;
};
"/disk" = {
fsType = "none";
device = "/.disk/persist";
options = [
"bind"
"rw"
];
depends = [
"/.disk/persist"
];
neededForBoot = true;
};
};
};
}