Compare commits
No commits in common. "c1e6e330b19e9081407aee34e099f4c5df2f10f1" and "b67c8cff759c680dfac8ef2fe6807651a9a28b6b" have entirely different histories.
c1e6e330b1
...
b67c8cff75
3 changed files with 4 additions and 9 deletions
|
|
@ -14,7 +14,6 @@ in
|
||||||
self.nixosModules.default
|
self.nixosModules.default
|
||||||
# "${modulesPath}/virtualisation/lxc-container.nix"
|
# "${modulesPath}/virtualisation/lxc-container.nix"
|
||||||
];
|
];
|
||||||
services.yggdrasil.persistentKeys = false;
|
|
||||||
deploy = {
|
deploy = {
|
||||||
enable = false;
|
enable = false;
|
||||||
};
|
};
|
||||||
|
|
@ -22,6 +21,7 @@ in
|
||||||
tty-ips.enable = true;
|
tty-ips.enable = true;
|
||||||
};
|
};
|
||||||
networking = {
|
networking = {
|
||||||
|
|
||||||
hostName = "base";
|
hostName = "base";
|
||||||
};
|
};
|
||||||
environment.systemPackages = [
|
environment.systemPackages = [
|
||||||
|
|
|
||||||
|
|
@ -20,10 +20,7 @@ in
|
||||||
allowed-users = [ "gitea-runner" ];
|
allowed-users = [ "gitea-runner" ];
|
||||||
trusted-users = [ "gitea-runner" ];
|
trusted-users = [ "gitea-runner" ];
|
||||||
};
|
};
|
||||||
sops.secrets.forgejo-runners-token = {
|
|
||||||
owner = "gitea-runner";
|
|
||||||
user = "gitea-runner";
|
|
||||||
};
|
|
||||||
services.gitea-actions-runner = {
|
services.gitea-actions-runner = {
|
||||||
package = pkgs.forgejo-runner;
|
package = pkgs.forgejo-runner;
|
||||||
instances = {
|
instances = {
|
||||||
|
|
@ -31,7 +28,7 @@ in
|
||||||
enable = true;
|
enable = true;
|
||||||
url = "https://git.skdevstuios.com";
|
url = "https://git.skdevstuios.com";
|
||||||
name = "nix";
|
name = "nix";
|
||||||
labels = [ "nix:host" ];
|
labels = [ "native:host" ];
|
||||||
tokenFile = config.sops.secrets.forgejo-runners-token.path;
|
tokenFile = config.sops.secrets.forgejo-runners-token.path;
|
||||||
hostPackages = with pkgs; [
|
hostPackages = with pkgs; [
|
||||||
nix
|
nix
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,7 @@
|
||||||
{ lib, config, ... }:
|
{ lib, config, ... }:
|
||||||
{
|
{
|
||||||
options.deploy = {
|
options.deploy = {
|
||||||
enable = lib.mkEnableOption "enable deployrs module" // {
|
enable = (lib.mkEnableOption // { default = true; }) "enable deployrs module";
|
||||||
default = true;
|
|
||||||
};
|
|
||||||
address = lib.mkOption {
|
address = lib.mkOption {
|
||||||
type = lib.types.str;
|
type = lib.types.str;
|
||||||
default = config.networking.hostName;
|
default = config.networking.hostName;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue