🚚 (cesium) move gitea age config out of servicesand into system

This commit is contained in:
Laureηt 2024-01-13 14:42:34 +01:00
parent bcce101cb6
commit c51938aa04
Signed by: Laurent
SSH key fingerprint: SHA256:kZEpW8cMJ54PDeCvOhzreNr4FSh6R13CMGH/POoO8DI
3 changed files with 9 additions and 7 deletions

View file

@ -3,13 +3,6 @@
pkgs, pkgs,
... ...
}: { }: {
age.secrets.gitea = {
file = ../../../../secrets/gitea.age;
owner = "gitea";
group = "gitea";
};
age.identityPaths = ["/root/.ssh/id_ed25519"];
services.gitea = { services.gitea = {
enable = true; enable = true;
package = pkgs.forgejo; package = pkgs.forgejo;

View file

@ -0,0 +1,8 @@
{...}: {
age.secrets.gitea = {
file = ../../../../secrets/gitea.age;
owner = "gitea";
group = "gitea";
};
age.identityPaths = ["/root/.ssh/id_ed25519"];
}

View file

@ -13,6 +13,7 @@
# https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/profiles/qemu-guest.nix # https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/profiles/qemu-guest.nix
(modulesPath + "/profiles/qemu-guest.nix") (modulesPath + "/profiles/qemu-guest.nix")
./age
./boot ./boot
./disko ./disko
./networking ./networking