name: Validate NixOS Config on: push: branches: - main # Adjust this to match your main branch name pull_request: branches: - main # Adjust this to match your main branch name jobs: test: runs-on: ubuntu-latest container: image: ubuntu options: --cap-add=NET_RAW --cap-add=NET_ADMIN steps: - name: Install and run ping run: | apt-get update && apt-get install -y iputils-ping ping -c 4 google.com