Files
nix-config-ryan4yin/hosts/k8s/k3s-prod-1-master-2/default.nix
Ryan Yin b382999a70 refactor: Use haumea for filesystem-based module system for flake outputs
refactor: Use hyphen(`-`) for variable names & folder names(except Python), replace all unserscore(`_`) with hyphen(`-`).
2024-03-10 20:12:02 +08:00

20 lines
313 B
Nix

{
pkgs,
myvars,
mylib,
...
}: let
hostName = "k3s-prod-1-master-2"; # define your hostname.
k8sLib = import ../lib.nix;
coreModule = k8sLib.gencoreModule {
inherit pkgs hostName;
inherit (myvars) networking;
};
in {
imports =
(mylib.scanPaths ./.)
++ [
coreModule
];
}