fix runner, added terranix

This commit is contained in:
Jermeiah S 2025-06-20 13:10:04 -04:00
parent 741aa5da9c
commit 838ada9aaa
No known key found for this signature in database
3 changed files with 54 additions and 4 deletions

View file

@ -30,8 +30,8 @@ in
];
};
sops.secrets.forgejo-runners-token = {
owner = "gitea-runner";
group = "gitea-runner";
# owner = "gitea-runner";
# group = "gitea-runner";
mode = "0777";
};
services.gitea-actions-runner = {
@ -41,7 +41,10 @@ in
enable = true;
url = "https://git.skdevstudios.com";
name = "nix";
labels = [ "native:host" ];
labels = [
"native:host"
"nix"
];
tokenFile = config.sops.secrets.forgejo-runners-token.path;
hostPackages = with pkgs; [
nix

42
flake.lock generated
View file

@ -353,7 +353,8 @@
"nixos-generators": "nixos-generators",
"nixos-unified": "nixos-unified",
"nixpkgs": "nixpkgs_3",
"sops-nix": "sops-nix"
"sops-nix": "sops-nix",
"terranix": "terranix"
}
},
"sops-nix": {
@ -388,6 +389,45 @@
"type": "github"
}
},
"systems_2": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default",
"type": "github"
}
},
"terranix": {
"inputs": {
"flake-parts": [
"flake-parts"
],
"nixpkgs": [
"nixpkgs"
],
"systems": "systems_2"
},
"locked": {
"lastModified": 1747080393,
"owner": "typedrat",
"repo": "terranix",
"rev": "61c3bfe7b3884a84e9411046d53970d8f969a9b6",
"type": "github"
},
"original": {
"owner": "typedrat",
"ref": "expose-config",
"repo": "terranix",
"type": "github"
}
},
"treefmt-nix": {
"inputs": {
"nixpkgs": [

View file

@ -10,6 +10,13 @@
disko.url = "https://flakehub.com/f/nix-community/disko/1.12.0.tar.gz";
deploy-rs.url = "github:serokell/deploy-rs";
deploy-rs.inputs.nixpkgs.follows = "nixpkgs";
terranix = {
url = "github:typedrat/terranix/expose-config";
inputs = {
nixpkgs.follows = "nixpkgs";
flake-parts.follows = "flake-parts";
};
};
nix-index-database.url = "github:nix-community/nix-index-database";
nix-index-database.inputs.nixpkgs.follows = "nixpkgs";
nixos-anywhere.url = "github:nix-community/nixos-anywhere/1.10.0";