mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 04:19:19 -08:00
chore(nfs): goliath
This commit is contained in:
parent
db8981cad0
commit
681e25cd9c
4 changed files with 37 additions and 3 deletions
|
|
@ -14,6 +14,7 @@
|
|||
systems = "${nfsRoot}/kyuuto/systems";
|
||||
gengetsu = "${nfsRoot.systems}/gengetsu";
|
||||
mugetsu = "${nfsRoot.systems}/mugetsu";
|
||||
goliath = "${nfsRoot.systems}/goliath";
|
||||
};
|
||||
in {
|
||||
services.nfs = {
|
||||
|
|
@ -82,6 +83,24 @@ in {
|
|||
};
|
||||
};
|
||||
};
|
||||
"${nfsRoot.goliath}/root" = {
|
||||
flags = flagSets.common ++ ["fsid=172"] ++ ["async"];
|
||||
clients = {
|
||||
goliath = {
|
||||
machine = flagSets.goliathClients;
|
||||
flags = flagSets.metal;
|
||||
};
|
||||
};
|
||||
};
|
||||
"${nfsRoot.goliath}/boot" = {
|
||||
flags = flagSets.common ++ ["fsid=173"] ++ ["async"];
|
||||
clients = {
|
||||
goliath = {
|
||||
machine = flagSets.goliathClients;
|
||||
flags = flagSets.metal;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
@ -130,5 +149,15 @@ in {
|
|||
what = "${kyuuto.dataDir}/systems/mugetsu/fs/boot";
|
||||
where = "${nfsRoot.mugetsu}/boot";
|
||||
}
|
||||
{
|
||||
inherit type options wantedBy before;
|
||||
what = "${kyuuto.dataDir}/systems/goliath/fs/root";
|
||||
where = "${nfsRoot.goliath}/root";
|
||||
}
|
||||
{
|
||||
inherit type options wantedBy before;
|
||||
what = "${kyuuto.dataDir}/systems/goliath/fs/boot";
|
||||
where = "${nfsRoot.goliath}/boot";
|
||||
}
|
||||
];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue