flake/hosts/forgejo-ci/default.nix
2024-10-29 08:55:56 +01:00

26 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";
}