git: Move to forgejo and migrate to marabethia
This commit is contained in:
parent
d49d3c74a6
commit
5537cc85c2
23 changed files with 114 additions and 289 deletions
|
@ -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}";
|
||||
}
|
||||
|
|
|
@ -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 = [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue