Refactor modules/features a bit
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
{ pkgs, lib, config, ... }:
|
||||
with lib;
|
||||
let
|
||||
cfg = config.features.k8s.host;
|
||||
cfg = config.features.host;
|
||||
|
||||
mkSANs = host: [
|
||||
host.name
|
||||
@@ -71,6 +71,17 @@ let
|
||||
};
|
||||
};
|
||||
|
||||
fileSystems = {
|
||||
"/vol/local-storage/vol1" = {
|
||||
device = "/vol/vol1";
|
||||
options = [ "bind" ];
|
||||
};
|
||||
"/vol/local-storage/vol2" = {
|
||||
device = "/vol/vol2";
|
||||
options = [ "bind" ];
|
||||
};
|
||||
};
|
||||
|
||||
networking = {
|
||||
hostName = cfg.name;
|
||||
domain = "itpartner.intern";
|
||||
|
||||
Reference in New Issue
Block a user