Upgrade to NixOS 23.05 and SSD boot
This commit is contained in:
@@ -1,10 +1,7 @@
|
||||
{ config, pkgs, pkgs-unstable, lib, ... }: {
|
||||
{ config, pkgs, lib, ... }: {
|
||||
# Set up Gitea with LFS support
|
||||
services.gitea = {
|
||||
enable = true;
|
||||
domain = "git.coolneng.duckdns.org";
|
||||
rootUrl = "https://git.coolneng.duckdns.org";
|
||||
package = pkgs-unstable.gitea;
|
||||
database = {
|
||||
type = "postgres";
|
||||
passwordFile = config.age.secrets.gitea.path;
|
||||
@@ -16,10 +13,17 @@
|
||||
contentDir = "${config.services.gitea.repositoryRoot}/data/lfs";
|
||||
};
|
||||
settings = {
|
||||
server = {
|
||||
DISABLE_SSH = true;
|
||||
DOMAIN = "git.coolneng.duckdns.org";
|
||||
ROOTURL = "https://git.coolneng.duckdns.org";
|
||||
};
|
||||
ui.DEFAULT_THEME = "arc-green";
|
||||
session.COOKIE_SECURE = true;
|
||||
server.DISABLE_SSH = true;
|
||||
actions.ENABLED = true;
|
||||
};
|
||||
};
|
||||
|
||||
# Start services after ZFS mount
|
||||
systemd.services.gitea.unitConfig.RequiresMountsFor = [ "vault-git.mount" ];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user