Move forgejo to hetznix
This commit is contained in:
parent
1156a9af04
commit
d50f92ca1b
|
@ -15,9 +15,17 @@
|
||||||
./secrets.nix
|
./secrets.nix
|
||||||
./security
|
./security
|
||||||
./services
|
./services
|
||||||
|
|
||||||
|
../../users/opdavies
|
||||||
];
|
];
|
||||||
|
|
||||||
nix.nixPath = [ "nixpkgs=${inputs.nixpkgs-2405}" ];
|
nix = {
|
||||||
|
extraOptions = ''
|
||||||
|
trusted-users = root opdavies
|
||||||
|
'';
|
||||||
|
|
||||||
|
nixPath = [ "nixpkgs=${inputs.nixpkgs-2405}" ];
|
||||||
|
};
|
||||||
|
|
||||||
networking.firewall.allowedTCPPorts = [
|
networking.firewall.allowedTCPPorts = [
|
||||||
80
|
80
|
||||||
|
|
|
@ -18,6 +18,7 @@
|
||||||
# TODO Refactor to use a wildcard certificate.
|
# TODO Refactor to use a wildcard certificate.
|
||||||
"2020.oliverdavies.uk"
|
"2020.oliverdavies.uk"
|
||||||
"bootstrap-with-tailwind.oliverdavies.uk"
|
"bootstrap-with-tailwind.oliverdavies.uk"
|
||||||
|
"code.oliverdavies.uk"
|
||||||
"florida-drupalcamp-tailwind-css.oliverdavies.uk"
|
"florida-drupalcamp-tailwind-css.oliverdavies.uk"
|
||||||
"luke.oliverdavies.uk"
|
"luke.oliverdavies.uk"
|
||||||
"phpsw-sculpin-demo.oliverdavies.uk"
|
"phpsw-sculpin-demo.oliverdavies.uk"
|
||||||
|
|
|
@ -1,10 +1,7 @@
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./acme.nix
|
|
||||||
./caddy
|
./caddy
|
||||||
|
./forgejo.nix
|
||||||
|
./openssl.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
services = {
|
|
||||||
openssh.enable = true;
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
28
nix/hosts/hetznix/services/forgejo.nix
Normal file
28
nix/hosts/hetznix/services/forgejo.nix
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
{ config, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
services = {
|
||||||
|
forgejo = {
|
||||||
|
enable = true;
|
||||||
|
|
||||||
|
settings = {
|
||||||
|
server = {
|
||||||
|
DOMAIN = "code.oliverdavies.uk";
|
||||||
|
HTTP_PORT = 2223;
|
||||||
|
};
|
||||||
|
|
||||||
|
service = {
|
||||||
|
DISABLE_REGISTRATION = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
caddy.virtualHosts."${config.services.forgejo.settings.server.DOMAIN}" = {
|
||||||
|
useACMEHost = "oliverdavies.uk";
|
||||||
|
|
||||||
|
extraConfig = "reverse_proxy localhost:${toString config.services.forgejo.settings.server.HTTP_PORT}";
|
||||||
|
};
|
||||||
|
|
||||||
|
openssh.settings.AllowUsers = [ "forgejo" ];
|
||||||
|
};
|
||||||
|
}
|
10
nix/hosts/hetznix/services/openssl.nix
Normal file
10
nix/hosts/hetznix/services/openssl.nix
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
{
|
||||||
|
services.openssh = {
|
||||||
|
enable = true;
|
||||||
|
|
||||||
|
settings = {
|
||||||
|
AllowUsers = [ "opdavies" ];
|
||||||
|
PermitRootLogin = "no";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
|
@ -13,7 +13,6 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
homelab = {
|
homelab = {
|
||||||
forgejo.enable = true;
|
|
||||||
gitea.enable = true;
|
gitea.enable = true;
|
||||||
immich.enable = true;
|
immich.enable = true;
|
||||||
jellyfin.enable = true;
|
jellyfin.enable = true;
|
||||||
|
|
|
@ -2,8 +2,4 @@
|
||||||
programs.dconf.enable = true;
|
programs.dconf.enable = true;
|
||||||
|
|
||||||
services.logind.lidSwitchExternalPower = "ignore";
|
services.logind.lidSwitchExternalPower = "ignore";
|
||||||
|
|
||||||
age.identityPaths = [
|
|
||||||
"/home/opdavies/.ssh/id_rsa"
|
|
||||||
];
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,7 +2,6 @@
|
||||||
imports = [
|
imports = [
|
||||||
./audiobookshelf.nix
|
./audiobookshelf.nix
|
||||||
./beaverhabits.nix
|
./beaverhabits.nix
|
||||||
./forgejo.nix
|
|
||||||
./freshrss.nix
|
./freshrss.nix
|
||||||
./gitea.nix
|
./gitea.nix
|
||||||
./immich.nix
|
./immich.nix
|
||||||
|
|
|
@ -1,34 +0,0 @@
|
||||||
{ config, lib, ... }:
|
|
||||||
|
|
||||||
with lib;
|
|
||||||
|
|
||||||
{
|
|
||||||
options.features.homelab.forgejo.enable = mkEnableOption "Enable forgejo";
|
|
||||||
|
|
||||||
config = mkIf config.features.homelab.forgejo.enable {
|
|
||||||
services = {
|
|
||||||
forgejo = {
|
|
||||||
enable = true;
|
|
||||||
group = "media";
|
|
||||||
stateDir = "/mnt/media/forgejo";
|
|
||||||
|
|
||||||
settings = {
|
|
||||||
server = {
|
|
||||||
DOMAIN = "forgejo.opdavies.uk";
|
|
||||||
HTTP_PORT = 2223;
|
|
||||||
};
|
|
||||||
|
|
||||||
service = {
|
|
||||||
DISABLE_REGISTRATION = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
caddy.virtualHosts."${config.services.forgejo.settings.server.DOMAIN}" = {
|
|
||||||
useACMEHost = "opdavies.uk";
|
|
||||||
|
|
||||||
extraConfig = "reverse_proxy localhost:${toString config.services.forgejo.settings.server.HTTP_PORT}";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -1,18 +1,19 @@
|
||||||
age-encryption.org/v1
|
age-encryption.org/v1
|
||||||
-> ssh-ed25519 IsVD3g kacSrvgn/CGIwU05AkK6UGhxVm5oO/FRK2jgH1qHVg0
|
-> ssh-ed25519 IsVD3g ZdGzOgZfbKkfBzwZRUvUm9HMBpJIJZhtcaxGSYOiXCM
|
||||||
JXzp1+Al5O8sBw3a4td7RA3HVP6C9tIdvvgZFZ9Se5w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
EFEFqUardSWj0zFL3PQgk2qmrC9W1+isp83Rioi/n/ow8O0Q+XlzO3rQjNYWtEgp
|
1n+yHFRekC0G7AaHMB/JIemFwoTLq9Wm/mFTPol9UJTfAgem6F7895IpFkZAe3Lv
|
||||||
jufzw+3YI9HuNLPXB0xBfSgwP8Ao6iYskE+8IL+xu4ITCec/ItpoYk1Yeb38G2HQ
|
+0QHOgBQpNwVTtqZWi8cTgul+b9FLKd/99pSk72b7hIFF36AoyS5KeJfoUfXLONc
|
||||||
6JlIseQIgpOzw8DlMMWtWjO4U+9JAZh5XOlEgwFPFL25m//24UM7RB3/Yd1/it8i
|
gZa1wra+VIaqV5gMihfb5Ll49QYRhlGn7x3KUkyuxlw6JWby6r6sAYRWprh0JGRb
|
||||||
cNaHR1L2/P8k5FnbR2jhxcTb2tEzlFo422brC0r/Ilc
|
LmFQzI4KiokzD8fq2wCUcr8T90EeAqkTUp6D3b0azoQ
|
||||||
--- MqcbFcs1myK1Dn1h/PQKZ59BdgYXIifkp0DkvoNQaL4
|
--- lTlcpuKW/KS2v/85o9veQsuWTVRGl+ucx511oqQF8uY
|
||||||
€ÒWٱ෹Üy
|
ô«ŞČóÚĆ[†“•†(ŽäíĹś‚:Â`ťÖe•oü,'™‹P0
|
||||||
šj`šÊ$ÜEŠ¬n¥ï‡_<‡íý¤²í%s`#¦d,x¿MGëdf:õÄ*`z‰öR‹X–¯>ýÄKJâ¶0ž€ÙB’ÄØDÂj<Å£¤´§=%
|
“ź‹Z7kľ
|
||||||
|
Döź™^Ô|mP±ť
rWĐvíFî”*š‹÷–vş;ydXîiôN<C3B4>¨bTáôεŔ
|
|
@ -1,20 +1,21 @@
|
||||||
age-encryption.org/v1
|
age-encryption.org/v1
|
||||||
-> ssh-ed25519 nmofLg X3PF+8zBQJgqyt8PckMdeThC89nOXHlCuVdZ8SJzDi8
|
-> ssh-ed25519 M7i4ow DupawEkDJ8n4DcTLZyW6O13ow5OGZ0TGR074SLo49A8
|
||||||
bi7GBOC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--- JJYs6WWGpPxT0s1tEFA/5vZswQiF59V5BHejKwrxJps
|
||||||
|
`aþ1+ÊŽZ2²‚›´_f¤r¨ZæY¥m,̽ìËBOj¢¦•÷#=ö‘[¤ -?z•™£”<C2A3>S›rø/1ûšbY6§µGK~Z¶uŽÀ-™²°7@ØGêtb•Ôg J
|
|
@ -1,6 +1,6 @@
|
||||||
let
|
let
|
||||||
hosts = {
|
hosts = {
|
||||||
hetznix = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMk8n03VeShc0q4ztcaNrmScwM7u0j6fFVtmupy2RlM2";
|
hetznix = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIN/Lylteb1le173In/X94jls+CXFg9RGCyJPBOL90zDD";
|
||||||
lemp11 = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEZ+ljJKd6uqdAk+fqxwtObI4Stab2N9Bjo4QFHY/v8n";
|
lemp11 = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEZ+ljJKd6uqdAk+fqxwtObI4Stab2N9Bjo4QFHY/v8n";
|
||||||
nixedo = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILvtcGJnc94k6wCPfvK9oBvGey0WWVCR8IYSqg5vqage";
|
nixedo = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILvtcGJnc94k6wCPfvK9oBvGey0WWVCR8IYSqg5vqage";
|
||||||
t490 = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILvtcGJnc94k6wCPfvK9oBvGey0WWVCR8IYSqg5vqage";
|
t490 = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILvtcGJnc94k6wCPfvK9oBvGey0WWVCR8IYSqg5vqage";
|
||||||
|
@ -8,6 +8,7 @@ let
|
||||||
|
|
||||||
users = {
|
users = {
|
||||||
opdavies = "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDkkbYaCD9NUIQT0NnsmlyfepwjxBYei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vBbdSIPeH9V5hAcyWENGF4Wf0/Yqtc0dBhfXJmPVBsC2ghZp9oERK+h5Xs7DpzkT0vtkN+wjgA5weIuG8e2UVNO29LWASzlychVqb7BVa6kNn5CyGwauyIGsYvAFnUjkyJpK8qleNM3VO5x9aw26IhSKlnSE9PAdX8p7PpdoWfxWRekKTc4h6iAe7pFOENvuokAvCNsE5LolR4VrYKXjA0m3nupDNWYexAWfR3lSeSlKd9nD3OENS0biJKayZHs11iDUTxm5u5gm/U60b4z0zDXjh1H/DI/pSCG6jjaXDpw==";
|
||||||
|
opdavies-hetznix = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJStz4WQ5IerIyi8HqLB1gwoiKr87uH/bI+Q9sDxVu+a";
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
@ -15,6 +16,7 @@ in
|
||||||
hosts.hetznix
|
hosts.hetznix
|
||||||
hosts.t490
|
hosts.t490
|
||||||
users.opdavies
|
users.opdavies
|
||||||
|
users.opdavies-hetznix
|
||||||
];
|
];
|
||||||
|
|
||||||
"cloudflare-opdavies-uk.age".publicKeys = [
|
"cloudflare-opdavies-uk.age".publicKeys = [
|
||||||
|
|
|
@ -1,19 +1,19 @@
|
||||||
age-encryption.org/v1
|
age-encryption.org/v1
|
||||||
-> ssh-ed25519 sHhprA 51laRPX9Ekpa1X63TQKvlZSFTBOLwC8s2aDzvD2OmlE
|
-> ssh-ed25519 sHhprA Nsfwkbjh1xMbkfvYoJQ2eX4Os7eW/ync1TVDSRUtTwE
|
||||||
Xs7z0c2uQxHJFgmDsczy8zpRl9wnacmBMr81xxJ4D0c
|
DIYEChpd5XLo7+8Bp8b4KKR6WjRkBOCFKvYs9HMaDXY
|
||||||
-> ssh-ed25519 IsVD3g BWtBEJcfYhG00l3QLLW4xN9v57FwOSxjvdU2eZJ2tmE
|
-> ssh-ed25519 IsVD3g I+0C0X1Yjw7CFIko83N0AUB5uxcc2xAw4MMuifQiEgw
|
||||||
T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6m4kHBoqj8diaN26lewADrMULxNhW7Lc
|
||||||
LWfymQ61wNRV+AQx+/pOC5K/S9xXnPyJCoqqH9OnPLSMLuOizMo+IcZyP67EnP2L
|
bVnUkU/yA22hMW22vhIlq2JJlIE9kUh/GXWxriM6bLI2hkCeWIH1IkjTELl+8RtL
|
||||||
uESGw15697pCVf0oMuNmX2K/KkC+RcVkf6ZWNAECCYSox9Z/aHQCixLWFQoX1XN7
|
aDyO+Dg68IzEx6yA6MuUoF7oeL6bgT+p7+huPAyg9ZHuJHEX6j8oi2WxHqzi7g54
|
||||||
9lajTEB/XFGCFTNZ/0C6Vj34vvSr9ymZOtLRdAX5IZjpZKmzQroZo1YMxsRRg0C4
|
qH+iEw6jiaYabl/XYnrx1EsX4prGuGNvpbivOMPnjU3eIyo//U0pmioPMct9a3e0
|
||||||
weEc0dVqdYi9bNSr+2QotCs1G2ezTbw7LY911GEMJzY
|
ZUwAjidqvIsrUKD1iibTgUlIIIpehqRfEwxJ+fZ2xCs
|
||||||
--- Tjaef+2qN//4+3hnlMoE+ViliwMOFDdN3LB3RO9hQL0
|
--- FjYSFcft/ABIEmVoaPiwxBMzI0TYHAHnsdxUVwbyTSE
|
||||||
_˛VÇuĎR<02>çaőĚůłŠ<C582>@ŲÁŁ·<C581>x.ŕF2K«Ębüđ°W¬§A.}ž µ|’Ł(Íô7ű gęÍ÷z5tLU˛ŇłÔ'(Pʵsááň}zçŃ3K?¨ń”«¤H<ş(Ľ
|
†íz@·±Ñ™ä¤ÁØ\¾àT”Á¦$~üxë3»-hتñ<C2AA>ÉÕ¬ÉÛà<!,«›oŒªâõ8^t±àèvËõúO3PLŒ+ˆ¡âïU¯ÏvwCBš<42>¨ü6=Õœªš÷<C5A1>A¨Â[g¤<
|
|
@ -1,8 +1,13 @@
|
||||||
{ pkgs, ... }:
|
{
|
||||||
|
pkgs,
|
||||||
|
headless,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
|
||||||
{
|
{
|
||||||
users.users.opdavies = {
|
users.users.opdavies = {
|
||||||
description = "Oliver Davies";
|
description = "Oliver Davies";
|
||||||
|
initialPassword = "opdavies";
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
|
|
||||||
extraGroups = [
|
extraGroups = [
|
||||||
|
@ -11,6 +16,10 @@
|
||||||
"wheel"
|
"wheel"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
openssh.authorizedKeys.keys = [
|
||||||
|
"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDkkbYaCD9NUIQT0NnsmlyfepwjxBYeiJSBCotOpdPTyc5inFAd29DiVw98j4skfaHdzjcqWmMFmDQWM6tGkK7eg8n0WuaABmsjdEbzTtfjHwM0tRDCIh5AtoT4IvoLhwLjEI2jKM05BGCQ2m5lS//AYJK1DjiV4UH+IjXHz6oy/3eFzQwANjxWS+mbR565p21yuAu1DKEyaGeVzT1xDhgzlnZG7Cys/rFgUYpIvYDHMOFxG6hsDB8vqyHiTXniniti5tdvGGYHgRGQcynRTU12aerrqHTIOefrElXJdf3/PA8FIY/Pd3MmZocY/vvQe0EVHXWrNtnHOF3MFQ1tFyfubKO51Dcp9KmzHnyBvO4CtvGVr/upSVWfo0I/EqkIqvCvBbdSIPeH9V5hAcyWENGF4Wf0/Yqtc0dBhfXJmPVBsC2ghZp9oERK+h5Xs7DpzkT0vtkN+wjgA5weIuG8e2UVNO29LWASzlychVqb7BVa6kNn5CyGwauyIGsYvAFnUjkyJpK8qleNM3VO5x9aw26IhSKlnSE9PAdX8p7PpdoWfxWRekKTc4h6iAe7pFOENvuokAvCNsE5LolR4VrYKXjA0m3nupDNWYexAWfR3lSeSlKd9nD3OENS0biJKayZHs11iDUTxm5u5gm/U60b4z0zDXjh1H/DI/pSCG6jjaXDpw=="
|
||||||
|
];
|
||||||
|
|
||||||
packages =
|
packages =
|
||||||
with pkgs;
|
with pkgs;
|
||||||
[ ]
|
[ ]
|
||||||
|
@ -19,4 +28,8 @@
|
||||||
firefox
|
firefox
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
age.identityPaths = [
|
||||||
|
"/home/opdavies/.ssh/id_ed25519"
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue