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