Compare commits

..

No commits in common. "c2392d759c44a33310e8f2eabfd8321a835f4992" and "9cb73ed40a33971441c23e243d4397fd279fc891" have entirely different histories.

2 changed files with 13 additions and 17 deletions

11
.woodpecker/checks.yml Normal file
View file

@ -0,0 +1,11 @@
steps:
check:
image: nixos/nix
commands:
- echo 'experimental-features = flakes nix-command' >> /etc/nix/nix.conf
- nix flake check
fmt:
image: nixos/nix
commands:
- echo 'experimental-features = flakes nix-command' >> /etc/nix/nix.conf
- nix run nixpkgs#alejandra -- -c .

View file

@ -1,8 +1,4 @@
{
lib,
config,
...
}: {
{lib, ...}: {
services.forgejo = {
enable = true;
stateDir = "/var/lib/forgejo";
@ -14,7 +10,7 @@
};
actions = {
ENABLED = true;
DEFAULT_ACTIONS_URL = "https://code.forgejo.org";
DEFAULT_ACTIONS_URL = "https://gitea.com";
};
server = {
HTTP_PORT = 3200;
@ -36,15 +32,4 @@
};
};
};
services.gitea-actions-runner.instances.main = {
enable = true;
name = config.networking.hostName;
url = "https://git.flake.sh";
token = "WJXKbVSyfUVpeJYiFpRlf04CyxDS0mYG7at8B9kX";
labels = [
"debian-latest:docker://node:18-bullseye"
"ubuntu-latest:docker://node:18-bullseye"
#"native:host"
];
};
}