🚚 (cesium) move gitea age config out of services
and into system
This commit is contained in:
parent
bcce101cb6
commit
c51938aa04
|
@ -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;
|
||||||
|
|
8
hosts/cesium/system/age/default.nix
Normal file
8
hosts/cesium/system/age/default.nix
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
{...}: {
|
||||||
|
age.secrets.gitea = {
|
||||||
|
file = ../../../../secrets/gitea.age;
|
||||||
|
owner = "gitea";
|
||||||
|
group = "gitea";
|
||||||
|
};
|
||||||
|
age.identityPaths = ["/root/.ssh/id_ed25519"];
|
||||||
|
}
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue