diff --git a/.gitea/workflows/validate-nixos-config.yml b/.gitea/workflows/validate-nixos-config.yml index 4b69ae4..d9bafff 100644 --- a/.gitea/workflows/validate-nixos-config.yml +++ b/.gitea/workflows/validate-nixos-config.yml @@ -10,22 +10,12 @@ on: jobs: validate: - runs-on: nixos # This assumes you have a runner with the "flakes-action" label - container: - image: nixpkgs/nix-flakes - options: --network host + runs-on: native steps: - - name: Install Node.js - run: | - ping google.de -c10 - nix-channel --add https://nixos.org/channels/nixpkgs-unstable nixpkgs - nix-channel --update - nix-env -i nodejs-slim - name: Checkout repository uses: actions/checkout@v3 - - name: Validate NixOS configuration run: | node --version diff --git a/configuration.nix b/configuration.nix index 14c51d7..f249a55 100644 --- a/configuration.nix +++ b/configuration.nix @@ -57,6 +57,7 @@ enable = true; labels = [ "ubuntu-latest:docker://ubuntu:latest" "nixos:docker://nixpkgs/nix-flakes:latest" + "native:host" ]; }; };