flake/hosts/forgejo-ci/default.nix
2024-10-18 23:01:33 +02:00

20 lines
643 B
Nix

{ config, pkgs, lib, inputs, ... }: with config.lyn.lib; {
imports =
[
./hardware-configuration.nix
];
lyn.sops.secrets."hosts/forgejo-ci/forgejo_ci_token" = {};
lyn.users.lyn.enable = true;
lyn.kernel.latest.enable = true;
lyn.kernel.hardened.enable = true;
lyn.profiles.base.enable = true;
lyn.profiles.vm.enable = true;
lyn.services.forgejo-ci.enable = true;
lyn.services.forgejo-ci.domain = "git.shibe.pro";
lyn.services.forgejo-ci.instancename = "shibepro-ci";
boot.loader.systemd-boot.enable = true;
networking.hostName = "forgejo-ci"; # Define your hostname.
system.stateVersion = "23.05";
}