Compare commits
3 Commits
b67302f703
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 71bea86703 | |||
| 312b743cde | |||
| 7c5bd6ccc9 |
@@ -8,15 +8,25 @@ on:
|
||||
branches:
|
||||
- main # Adjust this to match your main branch name
|
||||
|
||||
env:
|
||||
PATH: /run/current-system/sw/bin:$PATH
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ubuntu
|
||||
options: --cap-add=NET_RAW --cap-add=NET_ADMIN
|
||||
validate:
|
||||
runs-on: native
|
||||
steps:
|
||||
- name: Install and run ping
|
||||
- name: Debug environment
|
||||
run: |
|
||||
cat /etc/resolv.conf
|
||||
apt-get update && apt-get install -y iputils-ping
|
||||
ping -c 4 google.com
|
||||
echo $PATH
|
||||
which nix || echo "Nix not found"
|
||||
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Validate NixOS configuration
|
||||
run: |
|
||||
node --version
|
||||
nix flake check
|
||||
nix build .#nixosConfigurations.nixbox.config.system.build.toplevel --dry-run
|
||||
env:
|
||||
NIX_CONFIG: "experimental-features = nix-command flakes"
|
||||
+2
-2
@@ -36,7 +36,7 @@
|
||||
|
||||
|
||||
# Set the system version
|
||||
system.stateVersion = "unstable";
|
||||
system.stateVersion = "25.11";
|
||||
|
||||
# add nameserver to be able to resolve names in local network
|
||||
networking = {
|
||||
@@ -59,7 +59,7 @@
|
||||
services.gitea-actions-runner.instances = {
|
||||
runner1 = {
|
||||
token = "Pxh7t6Ip39SFjWQyhCjb7xsRC73k5l3JY3jYYzzD";
|
||||
url = "http://gitea.lan:80/";
|
||||
url = "http://gitea.lan:3000/";
|
||||
name = "runner1";
|
||||
enable = true;
|
||||
settings = { network= "host"; };
|
||||
|
||||
Generated
+3
-3
@@ -2,11 +2,11 @@
|
||||
"nodes": {
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1723991338,
|
||||
"narHash": "sha256-Grh5PF0+gootJfOJFenTTxDTYPidA3V28dqJ/WV7iis=",
|
||||
"lastModified": 1774386573,
|
||||
"narHash": "sha256-4hAV26quOxdC6iyG7kYaZcM3VOskcPUrdCQd/nx8obc=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "8a3354191c0d7144db9756a74755672387b702ba",
|
||||
"rev": "46db2e09e1d3f113a13c0d7b81e2f221c63b8ce9",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
||||
Reference in New Issue
Block a user