Skip to content

Commit

Permalink
fix: disable traefik
Browse files Browse the repository at this point in the history
  • Loading branch information
marcusramberg committed Nov 21, 2024
1 parent 49fdf72 commit 352d538
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion nixos/k3s.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
{ lib, config, ... }:
{
lib,
pkgs,
config,
...
}:
with lib;
let
cfg = config.profiles.k3s;
Expand All @@ -16,11 +21,15 @@ in
};

config = mkIf cfg.enable {
environment.systemPackages = with pkgs; [
openiscsi
];
services.k3s = {
enable = true;
tokenFile = config.age.secrets.k3s-token.path;
extraFlags =
[
"--disable traefik"
"--write-kubeconfig-mode=644"
]
++ lib.optionals cfg.tailscale.enable [
Expand Down

0 comments on commit 352d538

Please sign in to comment.