import secrets right
This commit is contained in:
parent
9175694ea4
commit
8b449ec721
2 changed files with 11 additions and 6 deletions
|
|
@ -4,6 +4,10 @@ let
|
|||
cfg = config.nyxs-nix.services.k3s;
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
./secrets.nix
|
||||
];
|
||||
|
||||
options.nyxs-nix.services.k3s = with types; {
|
||||
enable = mkEnableOption "Enable the vrrp quotes service";
|
||||
|
||||
|
|
@ -15,10 +19,7 @@ in
|
|||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
imports = [
|
||||
./secrets.nix
|
||||
];
|
||||
|
||||
|
||||
networking.firewall.allowedTCPPorts = [
|
||||
6443 # k3s, api server
|
||||
2379 # k3s, etcd clients
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue