git: Move to forgejo and migrate to marabethia

This commit is contained in:
Charlotte Van Petegem 2024-11-10 22:11:07 +01:00
parent d49d3c74a6
commit 5537cc85c2
No known key found for this signature in database
GPG key ID: 019E764B7184435A
23 changed files with 114 additions and 289 deletions

View file

@ -1,4 +1,4 @@
{ pkgs, ... }:
{ lib, pkgs, config, ... }:
{
imports = [ ./hardware.nix ];
@ -38,6 +38,7 @@
tetris.server = true;
};
services = {
git.enable = true;
nginx.hosts = [
{
fqdn = "cvpetegem.be";
@ -65,4 +66,5 @@
];
};
};
services.postgresql.dataDir = lib.mkForce "/var/lib/postgresql/${config.services.postgresql.package.psqlSchema}";
}

View file

@ -57,6 +57,14 @@
fsType = "vfat";
options = [ "fmask=0022" "dmask=0022" ];
};
"/var/lib/forgejo" = {
device = "zroot/safe/services/forgejo";
fsType = "zfs";
};
"/var/lib/postgresql" = {
device = "zroot/safe/services/postgresql";
fsType = "zfs";
};
};
swapDevices = [