diff --git a/.github/workflows/apply-kubernetes.yml b/.github/workflows/apply-kubernetes.yml index dc35474..c94b512 100644 --- a/.github/workflows/apply-kubernetes.yml +++ b/.github/workflows/apply-kubernetes.yml @@ -21,7 +21,7 @@ jobs: steps: - name: update home server containers env: - KUBECONFIG: .kube/config + KUBECONFIG: /home/github/.kube/config MY_GITHUB_TOKEN: ${{ secrets.MY_GITHUB_TOKEN }} HOMEASSISTANT_TOKEN: ${{ secrets.HOMEASSISTANT_TOKEN }} GRAFANA_PASSWORD: ${{ secrets.GRAFANA_PASSWORD }} diff --git a/nix/home-server.nix b/nix/home-server.nix index 7476e65..08deb5a 100644 --- a/nix/home-server.nix +++ b/nix/home-server.nix @@ -254,7 +254,6 @@ tokenFile = "/data/runner/github-infrastructure-token.txt"; url = "https://github.com/alexmickelson/infrastructure"; extraLabels = [ "home-server" ]; - #workDir = "/data/runner/infrastructure/"; replace = true; serviceOverrides = { ReadWritePaths = [ @@ -269,12 +268,8 @@ ProtectSystem = false; PrivateMounts = false; PrivateUsers = false; - #DynamicUser = true; - #NoNewPrivileges = false; ProtectHome = false; - #RuntimeDirectoryPreserve = "yes"; Restart = lib.mkForce "always"; - #RuntimeMaxSec = "7d"; }; extraPackages = with pkgs; [ docker @@ -287,15 +282,8 @@ ]; }; }; - # services.cron = { - # enable = true; - # systemCronJobs = [ - # "*/5 * * * * root date >> /tmp/cron.log" - # ]; - # }; networking.firewall.enable = false; - # networking.firewall.trustedInterfaces = [ "docker0" ]; # This value determines the NixOS release from which the default # settings for stateful data, like file locations and database versions