mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
chore(gengetsu): common nixos.hw.c4130
This commit is contained in:
parent
64efbaf503
commit
3c5e7179bb
18 changed files with 217 additions and 132 deletions
|
|
@ -63,9 +63,11 @@ in {
|
|||
optional (local.enable or false && local.address4 != null) "${local.address4}/32"
|
||||
++ optional (local.enable or false && local.address6 != null) "${local.address6}/128";
|
||||
allowed =
|
||||
if addrs != [] then addrs
|
||||
if addrs != []
|
||||
then addrs
|
||||
else lib.warn "${name} NFS: falling back to all LAN" cidrForNetwork.allLan.all;
|
||||
in allowed;
|
||||
in
|
||||
allowed;
|
||||
mkC4130Client = name: mkMetalClient name ++ mkMetalClient "idrac-${name}";
|
||||
in {
|
||||
common = [
|
||||
|
|
@ -91,7 +93,9 @@ in {
|
|||
"ro"
|
||||
];
|
||||
metal = [
|
||||
"sec=sys" "no_root_squash" "rw"
|
||||
"sec=sys"
|
||||
"no_root_squash"
|
||||
"rw"
|
||||
];
|
||||
# client machines
|
||||
clientGroups = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue