Compare commits
16 Commits
63cf0ab6de
..
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 71bea86703 | |||
| 312b743cde | |||
| 7c5bd6ccc9 | |||
| b67302f703 | |||
| 93b1a1d9ff | |||
| ea25687d88 | |||
| d2a0e2f501 | |||
| 1f20860006 | |||
| a57cf3b5c9 | |||
| 6a1de7420a | |||
| cc23ccd89e | |||
| bae3b0fb4c | |||
| dbcff150c4 | |||
| 46fc296ad4 | |||
| 8935518d05 | |||
| 5599ef627e |
@@ -8,15 +8,17 @@ 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
|
||||
export PATH=/run/current-system/sw/bin:$PATH
|
||||
which nix || echo "Nix not found"
|
||||
echo $PATH
|
||||
which nix || echo "Nix not found"
|
||||
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v3
|
||||
@@ -27,4 +29,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"
|
||||
+7
-2
@@ -8,10 +8,13 @@
|
||||
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";
|
||||
@@ -33,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 = {
|
||||
@@ -43,6 +46,7 @@
|
||||
};
|
||||
|
||||
programs.starship.enable = true;
|
||||
programs.nix-ld.enable = true;
|
||||
|
||||
|
||||
# Enable OpenSSH
|
||||
@@ -55,9 +59,10 @@
|
||||
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"; };
|
||||
labels = [ "ubuntu-latest:docker://ubuntu:latest"
|
||||
"nixos:docker://nixpkgs/nix-flakes:latest"
|
||||
"native: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