Compare commits

..

1 Commits

Author SHA1 Message Date
mapclyps 63cf0ab6de add nix to path 2024-08-25 12:40:57 +00:00
3 changed files with 9 additions and 16 deletions
+4 -6
View File
@@ -8,17 +8,15 @@ on:
branches: branches:
- main # Adjust this to match your main branch name - main # Adjust this to match your main branch name
env:
PATH: /run/current-system/sw/bin:$PATH
jobs: jobs:
validate: validate:
runs-on: native runs-on: native
steps: steps:
- name: Debug environment - name: Debug environment
run: | run: |
echo $PATH echo $PATH
which nix || echo "Nix not found" export PATH=/run/current-system/sw/bin:$PATH
which nix || echo "Nix not found"
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v3 uses: actions/checkout@v3
@@ -29,4 +27,4 @@ jobs:
nix flake check nix flake check
nix build .#nixosConfigurations.nixbox.config.system.build.toplevel --dry-run nix build .#nixosConfigurations.nixbox.config.system.build.toplevel --dry-run
env: env:
NIX_CONFIG: "experimental-features = nix-command flakes" NIX_CONFIG: "experimental-features = nix-command flakes"
+2 -7
View File
@@ -8,13 +8,10 @@
gitea-actions-runner gitea-actions-runner
podman-compose # start group of containers for dev podman-compose # start group of containers for dev
podman-tui podman-tui
nodejs-slim
dive dive
neovim neovim
git git
starship starship
byobu
tmux
]; ];
nix.settings.experimental-features = "nix-command flakes"; nix.settings.experimental-features = "nix-command flakes";
@@ -36,7 +33,7 @@
# Set the system version # Set the system version
system.stateVersion = "25.11"; system.stateVersion = "unstable";
# add nameserver to be able to resolve names in local network # add nameserver to be able to resolve names in local network
networking = { networking = {
@@ -46,7 +43,6 @@
}; };
programs.starship.enable = true; programs.starship.enable = true;
programs.nix-ld.enable = true;
# Enable OpenSSH # Enable OpenSSH
@@ -59,10 +55,9 @@
services.gitea-actions-runner.instances = { services.gitea-actions-runner.instances = {
runner1 = { runner1 = {
token = "Pxh7t6Ip39SFjWQyhCjb7xsRC73k5l3JY3jYYzzD"; token = "Pxh7t6Ip39SFjWQyhCjb7xsRC73k5l3JY3jYYzzD";
url = "http://gitea.lan:3000/"; url = "http://gitea.lan:80/";
name = "runner1"; name = "runner1";
enable = true; enable = true;
settings = { network= "host"; };
labels = [ "ubuntu-latest:docker://ubuntu:latest" labels = [ "ubuntu-latest:docker://ubuntu:latest"
"nixos:docker://nixpkgs/nix-flakes:latest" "nixos:docker://nixpkgs/nix-flakes:latest"
"native:host" "native:host"
Generated
+3 -3
View File
@@ -2,11 +2,11 @@
"nodes": { "nodes": {
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1774386573, "lastModified": 1723991338,
"narHash": "sha256-4hAV26quOxdC6iyG7kYaZcM3VOskcPUrdCQd/nx8obc=", "narHash": "sha256-Grh5PF0+gootJfOJFenTTxDTYPidA3V28dqJ/WV7iis=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "46db2e09e1d3f113a13c0d7b81e2f221c63b8ce9", "rev": "8a3354191c0d7144db9756a74755672387b702ba",
"type": "github" "type": "github"
}, },
"original": { "original": {