Compare commits

..

3 commits

Author SHA1 Message Date
Jermeiah S
c1e6e330b1
fix sops
Some checks are pending
/ test (push) Waiting to run
2025-06-19 18:31:19 -04:00
Jermeiah S
3d79018cf6
formatting 2025-06-19 18:27:38 -04:00
Jermeiah S
c3862ff13a
fix default mechanism for deployrs module 2025-06-19 18:17:33 -04:00
3 changed files with 9 additions and 4 deletions

View file

@ -14,6 +14,7 @@ in
self.nixosModules.default
# "${modulesPath}/virtualisation/lxc-container.nix"
];
services.yggdrasil.persistentKeys = false;
deploy = {
enable = false;
};
@ -21,7 +22,6 @@ in
tty-ips.enable = true;
};
networking = {
hostName = "base";
};
environment.systemPackages = [

View file

@ -20,7 +20,10 @@ in
allowed-users = [ "gitea-runner" ];
trusted-users = [ "gitea-runner" ];
};
sops.secrets.forgejo-runners-token = {
owner = "gitea-runner";
user = "gitea-runner";
};
services.gitea-actions-runner = {
package = pkgs.forgejo-runner;
instances = {
@ -28,7 +31,7 @@ in
enable = true;
url = "https://git.skdevstuios.com";
name = "nix";
labels = [ "native:host" ];
labels = [ "nix:host" ];
tokenFile = config.sops.secrets.forgejo-runners-token.path;
hostPackages = with pkgs; [
nix

View file

@ -1,7 +1,9 @@
{ lib, config, ... }:
{
options.deploy = {
enable = (lib.mkEnableOption // { default = true; }) "enable deployrs module";
enable = lib.mkEnableOption "enable deployrs module" // {
default = true;
};
address = lib.mkOption {
type = lib.types.str;
default = config.networking.hostName;