25 lines
492 B
Nix
25 lines
492 B
Nix
{ config, pkgs, ... }:
|
|
|
|
{
|
|
imports = [
|
|
./homepage
|
|
./samba.nix
|
|
./uptime-kuma.nix
|
|
./vaultwarden.nix
|
|
];
|
|
|
|
services = {
|
|
tailscale.enable = true;
|
|
};
|
|
|
|
services.gitea-actions-runner.instances.default = {
|
|
enable = true;
|
|
|
|
labels = [
|
|
"nixos-host:host"
|
|
];
|
|
name = config.networking.hostName;
|
|
token = ''$(${pkgs.coreutils}/bin/cat ${config.age.secrets.forgejo-runner-token.path}')'';
|
|
url = config.services.forgejo.settings.server.ROOT_URL;
|
|
};
|
|
}
|