add forgejo-runner on forgejo vm
This commit is contained in:
parent
28f2315ede
commit
c79992d9ae
|
@ -4,6 +4,7 @@ nixpkgs.lib.nixosSystem {
|
|||
modules = common-modules ++ [
|
||||
./hardware.nix
|
||||
../../users/vinzenz.nix
|
||||
./forgejo-runner.nix
|
||||
{ networking.hostName = "forgejo-runner-1"; }
|
||||
{
|
||||
# uncomment for build check on non arm system (requires --impure)
|
||||
|
@ -11,8 +12,8 @@ nixpkgs.lib.nixosSystem {
|
|||
}
|
||||
{
|
||||
services.tailscale.useRoutingFeatures = "both";
|
||||
}
|
||||
{
|
||||
system.autoUpgrade.allowReboot = true;
|
||||
|
||||
users.users = {
|
||||
root.openssh.authorizedKeys.keys = [
|
||||
''ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFCJUpbpB3KEKVoKWsKoar9J4RNah8gmQoSH6jQEw5dY vinzenz-pixel-JuiceSSH''
|
||||
|
@ -21,8 +22,5 @@ nixpkgs.lib.nixosSystem {
|
|||
];
|
||||
};
|
||||
}
|
||||
{
|
||||
system.autoUpgrade.allowReboot = true;
|
||||
}
|
||||
];
|
||||
}
|
||||
|
|
8
hosts/forgejo-runner-1/forgejo-runner.nix
Normal file
8
hosts/forgejo-runner-1/forgejo-runner.nix
Normal file
|
@ -0,0 +1,8 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
config = {
|
||||
environment.systemPackages = with pkgs; [
|
||||
forgejo-runner
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue