forked from fi/nix-infra
ugh
This commit is contained in:
parent
4d77ff303b
commit
217879ec9b
13 changed files with 95 additions and 40 deletions
|
|
@ -13,6 +13,10 @@
|
||||||
database.passwordFile = "/run/secrets/keycloak-database-password";
|
database.passwordFile = "/run/secrets/keycloak-database-password";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
systemd.services.keycloak.environment = {
|
||||||
|
JAVA_OPTS_APPEND = "-XX:-UseBASE64Intrinsics";
|
||||||
|
};
|
||||||
|
|
||||||
sops.secrets."keycloak-database-password" = {
|
sops.secrets."keycloak-database-password" = {
|
||||||
mode = "0440";
|
mode = "0440";
|
||||||
owner = "root";
|
owner = "root";
|
||||||
|
|
|
||||||
|
|
@ -11,6 +11,7 @@ mail-nekomesh-nekover-se: ENC[AES256_GCM,data:k25S+W3t4gn8HuUs4xge5iLjxtayB82y9P
|
||||||
mail-social-nekover-se: ENC[AES256_GCM,data:b+7hmL8yiqABkf5NFUQVTSBmj1EjImzB58Q0xpDkxSU9DVkhhURTzoi+HdgFgOOzDtkegzprokXA+I+j,iv:LtOn8+dx5Nhes4t5qpqWsnaOfD07IBZEaCXKIniJlJc=,tag:ipLZNPRN7YCkvVJYKonXmQ==,type:str]
|
mail-social-nekover-se: ENC[AES256_GCM,data:b+7hmL8yiqABkf5NFUQVTSBmj1EjImzB58Q0xpDkxSU9DVkhhURTzoi+HdgFgOOzDtkegzprokXA+I+j,iv:LtOn8+dx5Nhes4t5qpqWsnaOfD07IBZEaCXKIniJlJc=,tag:ipLZNPRN7YCkvVJYKonXmQ==,type:str]
|
||||||
mail-id-nekover-se: ENC[AES256_GCM,data:5odIPSrJEVoT95hch48lu4pmb0PVnjtTUOo3eohfbX1I8CNpwIuhz4Mjk5lam5q3toIKtXMhtA73RAup,iv:bvpCkS4Tz0/oorStgip0XXnsxkBMAoFJrTFAzrjPLYU=,tag:KOVNkURmuwb+8VRxfTxEDQ==,type:str]
|
mail-id-nekover-se: ENC[AES256_GCM,data:5odIPSrJEVoT95hch48lu4pmb0PVnjtTUOo3eohfbX1I8CNpwIuhz4Mjk5lam5q3toIKtXMhtA73RAup,iv:bvpCkS4Tz0/oorStgip0XXnsxkBMAoFJrTFAzrjPLYU=,tag:KOVNkURmuwb+8VRxfTxEDQ==,type:str]
|
||||||
mail-forgejo-nekover-se: ENC[AES256_GCM,data:PLZFl5aokzJorTCKD8/qJs0N1BlDLPl1tW23roMMCRkn9tAupaNwZASp1pKrPJBVBCAH4Ijj84WDIhsHdQzNhg==,iv:CExDJ2uwe0juL0f+SCyTGOfUHuEwPTHduHUkh8WAQMo=,tag:pf0QArVKBNh1F4TMxsJyRA==,type:str]
|
mail-forgejo-nekover-se: ENC[AES256_GCM,data:PLZFl5aokzJorTCKD8/qJs0N1BlDLPl1tW23roMMCRkn9tAupaNwZASp1pKrPJBVBCAH4Ijj84WDIhsHdQzNhg==,iv:CExDJ2uwe0juL0f+SCyTGOfUHuEwPTHduHUkh8WAQMo=,tag:pf0QArVKBNh1F4TMxsJyRA==,type:str]
|
||||||
|
mail-pterodactyl-nekover-se: ENC[AES256_GCM,data:mxVPCiHHIEQ2ooywG3Y5dk4j3wnyoBxwTJuT9HQNgj/0RQP6AkPIEmSY0knbrpfHnhfNTdJABkGgge8c7Gp2Cj/paskmyyqSKg==,iv:lYdw7YWTKWd+r3jPRO8eo9R+lPYNsGxU2xEoJViIXk4=,tag:O/cFAd7f2apCYHGll74rXw==,type:str]
|
||||||
sops:
|
sops:
|
||||||
age:
|
age:
|
||||||
- enc: |
|
- enc: |
|
||||||
|
|
@ -31,7 +32,7 @@ sops:
|
||||||
dsyjzSv8WubSloRUHkV7hwfHxgVzg37A5nlQo/qSdJC6TtfWmoXpsg==
|
dsyjzSv8WubSloRUHkV7hwfHxgVzg37A5nlQo/qSdJC6TtfWmoXpsg==
|
||||||
-----END AGE ENCRYPTED FILE-----
|
-----END AGE ENCRYPTED FILE-----
|
||||||
recipient: age1hny8kwx0uymselgas25q558ruxxdv7lgtu9d5rnd6x9w3nysk4zqumzzrp
|
recipient: age1hny8kwx0uymselgas25q558ruxxdv7lgtu9d5rnd6x9w3nysk4zqumzzrp
|
||||||
lastmodified: "2026-05-24T00:23:52Z"
|
lastmodified: "2026-11-14T22:09:49Z"
|
||||||
mac: ENC[AES256_GCM,data:QH4MalhMoA5CyNmGPksMRzn6LOfxxRSBlufJ6ejcDx+l6owNT3xqKAYE9EfIUMh8z7Sw+btHhn8q02K2FnWlYD2FUY187cCcoykGRU+juJEDZH6yQ5PCqrBKXDB0wv8IBI/xTeFS7mUOzlvZfHtnLKULNZBfojN9f9jDoZCUhYo=,iv:S0AU8Ox62kk3nwL31QzYT0CGDaYNYbG/ONaQhiUbGD4=,tag:qKUkkxNouKaDb/1ptXSobg==,type:str]
|
mac: ENC[AES256_GCM,data:vyHE3dIhAJfHLtivWPcfPQFHCHdE76PbjSrdfuUjjhNVi0UKLvPrA/InuteC372cq2vcjdcv6mE+UYye7yVSAqHQYnGmybJcGDJmF1j8VZ7hnaFWekJjIaU4CCcpOefvt2p/ObRAAW0JxnfEKJC6sfiglEyV0fvORc9S1yLKaDE=,iv:vCinm6YnGbPF5Mdb0kCDiCT1loLNUnZRYpwXpZrLrvo=,tag:46V9E6xgyr+wR7+7slYBPg==,type:str]
|
||||||
unencrypted_suffix: _unencrypted
|
unencrypted_suffix: _unencrypted
|
||||||
version: 3.13.0
|
version: 3.13.3
|
||||||
|
|
|
||||||
|
|
@ -67,6 +67,11 @@
|
||||||
sendOnly = true;
|
sendOnly = true;
|
||||||
aliases = [ "nyareply@nekover.se" ];
|
aliases = [ "nyareply@nekover.se" ];
|
||||||
};
|
};
|
||||||
|
"pterodactyl@nekover.se" = {
|
||||||
|
hashedPasswordFile = "/run/secrets/mail-pterodactyl-nekover-se";
|
||||||
|
sendOnly = true;
|
||||||
|
aliases = [ "nyareply@nekover.se" ];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
# Reference the existing ACME configuration created by nginx
|
# Reference the existing ACME configuration created by nginx
|
||||||
x509.useACMEHost = config.mailserver.fqdn;
|
x509.useACMEHost = config.mailserver.fqdn;
|
||||||
|
|
@ -159,4 +164,10 @@
|
||||||
group = "root";
|
group = "root";
|
||||||
restartUnits = [ "postfix.service" ];
|
restartUnits = [ "postfix.service" ];
|
||||||
};
|
};
|
||||||
|
sops.secrets."mail-pterodactyl-nekover-se" = {
|
||||||
|
mode = "0440";
|
||||||
|
owner = "root";
|
||||||
|
group = "root";
|
||||||
|
restartUnits = [ "postfix.service" ];
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
{ pkgs, nixpkgs-unstable, nixpkgs-master, ... }:
|
{ pkgs, nixpkgs-unstable, nixpkgs-master, nixpkgs-mastodon-476, ... }:
|
||||||
let
|
let
|
||||||
tangerineUI = pkgs.fetchgit {
|
tangerineUI = pkgs.fetchgit {
|
||||||
url = "https://github.com/mattbirchler/Tangerine-Neue-for-Mastodon.git";
|
url = "https://github.com/mattbirchler/Tangerine-Neue-for-Mastodon.git";
|
||||||
|
|
@ -16,14 +16,14 @@ let
|
||||||
};
|
};
|
||||||
mastodonNekoverseOverlay = final: prev: {
|
mastodonNekoverseOverlay = final: prev: {
|
||||||
mastodon = (prev.mastodon.override rec {
|
mastodon = (prev.mastodon.override rec {
|
||||||
version = "4.7.5";
|
version = "4.7.6";
|
||||||
srcOverride = final.applyPatches {
|
srcOverride = final.applyPatches {
|
||||||
src = pkgs.stdenv.mkDerivation {
|
src = pkgs.stdenv.mkDerivation {
|
||||||
name = "mastodonWithThemes";
|
name = "mastodonWithThemes";
|
||||||
src = pkgs.fetchgit {
|
src = pkgs.fetchgit {
|
||||||
url = "https://github.com/mastodon/mastodon.git";
|
url = "https://github.com/mastodon/mastodon.git";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-pnYJbfPX+Nd1W39HfOsEstzk78U/o0BqbwGhq6+ZrmA=";
|
sha256 = "sha256-dAnTfsKcYzAlLgSwoUpTiEiPsxukYd64WRI8SEG/Vks=";
|
||||||
};
|
};
|
||||||
# mastodon ships with broken symlinks, disable the check for that for now
|
# mastodon ships with broken symlinks, disable the check for that for now
|
||||||
dontCheckForBrokenSymlinks = true;
|
dontCheckForBrokenSymlinks = true;
|
||||||
|
|
@ -54,7 +54,7 @@ let
|
||||||
yarnMissingHashes = prev.mastodon.src.yarnMissingHashes;
|
yarnMissingHashes = prev.mastodon.src.yarnMissingHashes;
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
pkgs-overlay = nixpkgs-unstable.legacyPackages."x86_64-linux".extend mastodonNekoverseOverlay;
|
pkgs-overlay = nixpkgs-mastodon-476.legacyPackages."x86_64-linux".extend mastodonNekoverseOverlay;
|
||||||
vapidPublicKey = pkgs.writeText "vapid-public-key" "BDCbFEDCZ8eFuWr3uEq4Qc30UFZUQeNpF8OCw6OjPwAtaKS1yTM3Ue749Xjqy5WhBDjakzlixh4Gk7gluUhIdsU=";
|
vapidPublicKey = pkgs.writeText "vapid-public-key" "BDCbFEDCZ8eFuWr3uEq4Qc30UFZUQeNpF8OCw6OjPwAtaKS1yTM3Ue749Xjqy5WhBDjakzlixh4Gk7gluUhIdsU=";
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
|
@ -100,6 +100,8 @@ in
|
||||||
elasticsearch.host = "127.0.0.1";
|
elasticsearch.host = "127.0.0.1";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
services.postgresql.package = pkgs.postgresql_18;
|
||||||
|
|
||||||
sops.secrets."mastodon-secret-key-base" = {
|
sops.secrets."mastodon-secret-key-base" = {
|
||||||
mode = "0440";
|
mode = "0440";
|
||||||
owner = "mastodon";
|
owner = "mastodon";
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
{ ... }:
|
{ pkgs, ... }:
|
||||||
{
|
{
|
||||||
services.matrix-synapse = {
|
services.matrix-synapse = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@
|
||||||
hostName = "pterodactyl";
|
hostName = "pterodactyl";
|
||||||
firewall = {
|
firewall = {
|
||||||
enable = true;
|
enable = true;
|
||||||
allowedTCPPorts = [ 80 443 ];
|
allowedTCPPorts = [ 80 8443 ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,8 @@
|
||||||
{
|
{
|
||||||
services.pterodactyl-panel = {
|
services.pterodactyl-panel = {
|
||||||
enable = true;
|
enable = true;
|
||||||
hostName = "pterodactyl.vs.grzb.de";
|
package = pkgs.pterodactyl-panel_2;
|
||||||
|
hostName = "gameserver.nekover.se";
|
||||||
appKeyFile = "/run/secrets/appkey";
|
appKeyFile = "/run/secrets/appkey";
|
||||||
hashIdsSaltFile = "/run/secrets/hashids-salt";
|
hashIdsSaltFile = "/run/secrets/hashids-salt";
|
||||||
initialAdmin = {
|
initialAdmin = {
|
||||||
|
|
@ -18,15 +19,27 @@
|
||||||
passwordFile = "/run/secrets/mail-password";
|
passwordFile = "/run/secrets/mail-password";
|
||||||
from.address = "pterodactyl@nekover.se";
|
from.address = "pterodactyl@nekover.se";
|
||||||
};
|
};
|
||||||
|
nginx = {
|
||||||
|
forceSSL = true;
|
||||||
|
enableACME = true;
|
||||||
|
extraConfig = ''
|
||||||
|
listen 0.0.0.0:8443 http2 ssl proxy_protocol;
|
||||||
|
|
||||||
|
set_real_ip_from 10.202.41.100; # IPv4 from web-public-2
|
||||||
|
set_real_ip_from 10.203.10.3; # IPv6 from valkyrie
|
||||||
|
real_ip_header proxy_protocol;
|
||||||
|
'';
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
services.pterodactyl-wings = {
|
services.pterodactyl-wings = {
|
||||||
enable = false;
|
enable = true;
|
||||||
tokenFile = "/run/secrets/token.secret";
|
openFirewall = true;
|
||||||
|
tokenFile = "/run/secrets/token";
|
||||||
settings = {
|
settings = {
|
||||||
remote = "http://pterodactyl.vs.grzb.de";
|
uuid = "a345cf7e-bb7a-4b65-bce8-27d436ec3658";
|
||||||
uuid = "af2b7256-d712-47f4-aa02-6341b9cf30db";
|
token_id = "NCjstOQZX6BOmXP1";
|
||||||
token_id = "1zgQbvAuWe7vo3y8";
|
api.port = 4443;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -50,4 +63,9 @@
|
||||||
owner = config.services.pterodactyl-panel.user;
|
owner = config.services.pterodactyl-panel.user;
|
||||||
group = config.services.pterodactyl-panel.group;
|
group = config.services.pterodactyl-panel.group;
|
||||||
};
|
};
|
||||||
|
sops.secrets."token" = {
|
||||||
|
mode = "0440";
|
||||||
|
owner = "root";
|
||||||
|
group = "root";
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,7 @@ appkey: ENC[AES256_GCM,data:yLkaAv+OMyj0xpUEXEdf46SUdpYeHCsyH2bnCvZ+wLci8u2hOoF0
|
||||||
hashids-salt: ENC[AES256_GCM,data:TCtF3ti6XY0B5wj0DQLl6SYIc94=,iv:A2gzf9RITAzIHmso8LGeJePeZe/9GmJkMWJ95Ku82AA=,tag:DFLv1bFlH/2n5pXXz0WAYw==,type:str]
|
hashids-salt: ENC[AES256_GCM,data:TCtF3ti6XY0B5wj0DQLl6SYIc94=,iv:A2gzf9RITAzIHmso8LGeJePeZe/9GmJkMWJ95Ku82AA=,tag:DFLv1bFlH/2n5pXXz0WAYw==,type:str]
|
||||||
initial-admin-password: ENC[AES256_GCM,data:u0IV7Bhi3pr6rHHfP1DFyzs58IVzpfkbOz3XT2RQkX2q2LUohUoZuJQdc6aWYG7/XtPn+8EzSIC8PdJk/H8mSQ==,iv:lyrOAUQDVmTDUxufrEKEYRSFrxh33RKStAB0aWJXHK0=,tag:reaE+UaFz77LlEsDExOG0Q==,type:str]
|
initial-admin-password: ENC[AES256_GCM,data:u0IV7Bhi3pr6rHHfP1DFyzs58IVzpfkbOz3XT2RQkX2q2LUohUoZuJQdc6aWYG7/XtPn+8EzSIC8PdJk/H8mSQ==,iv:lyrOAUQDVmTDUxufrEKEYRSFrxh33RKStAB0aWJXHK0=,tag:reaE+UaFz77LlEsDExOG0Q==,type:str]
|
||||||
mail-password: ENC[AES256_GCM,data:vtIaojOhfdXpYD95GLoh/VBTU7YuoywNc0HueH+goL/V6fCC2UCPU7cNoc5VAq/a4b/5FK1FOPBF7sGFcp8xYg==,iv:htNsXA6DuzLVWjO9ixtMMOs+MKltABB4Drvc7GrI4n0=,tag:1Ey3XOMnCpZicg8cUdrcnA==,type:str]
|
mail-password: ENC[AES256_GCM,data:vtIaojOhfdXpYD95GLoh/VBTU7YuoywNc0HueH+goL/V6fCC2UCPU7cNoc5VAq/a4b/5FK1FOPBF7sGFcp8xYg==,iv:htNsXA6DuzLVWjO9ixtMMOs+MKltABB4Drvc7GrI4n0=,tag:1Ey3XOMnCpZicg8cUdrcnA==,type:str]
|
||||||
|
token: ENC[AES256_GCM,data:GgaVhhLrEatP0Wi7iAzG1sMV46/87CRnvpQwRQk5Z1LA6u7bJ+M577r5NQf/uWh3+HVLEladAV19dsi8t/QkbQ==,iv:E6aGvL6EEOwJwlKR3KgtDYOUdx22nY4BLNgd3WuEg70=,tag:iuzevwppaelZ80Vsemyb/w==,type:str]
|
||||||
sops:
|
sops:
|
||||||
age:
|
age:
|
||||||
- enc: |
|
- enc: |
|
||||||
|
|
@ -22,7 +23,7 @@ sops:
|
||||||
ZP3wj6DMWLeET2x7gW0CoDbKy/r20QJKZumQUfVAKuyyc1545/7+UA==
|
ZP3wj6DMWLeET2x7gW0CoDbKy/r20QJKZumQUfVAKuyyc1545/7+UA==
|
||||||
-----END AGE ENCRYPTED FILE-----
|
-----END AGE ENCRYPTED FILE-----
|
||||||
recipient: age1jc55rpt8g0cp2m9cycku2ghrsp0wnezzqqun3qe7k6aws4f9ypysyvyxnc
|
recipient: age1jc55rpt8g0cp2m9cycku2ghrsp0wnezzqqun3qe7k6aws4f9ypysyvyxnc
|
||||||
lastmodified: "2026-11-14T16:07:39Z"
|
lastmodified: "2026-11-20T19:21:07Z"
|
||||||
mac: ENC[AES256_GCM,data:GBtN1T4h1PZ15oIXmeqqBG9HE+L3nZZwGxow03UbUeYO7hALEAJUVVOfuqW2E5OXKzfCPAUc2laC9DgTieH6Lv8efPGKy9x53xL8LUv/iUBSnA5zPTuup9hettfyPRGqvTpjBKl+EQGDdqyjLEJryeZdIc4xyvtlnTKIbHl4RU8=,iv:UB08VSRYLP2rznDH1eNqU18iyspZfRdY9LSAOvLLdjA=,tag:hB/Z5H7LhwGOr8CR9AqpOg==,type:str]
|
mac: ENC[AES256_GCM,data:nafhuSsfTdlvQfS7l/yolK/y4DugR6uFVXqM4stcMNLyJGwYIDjVKp+exnznbHjHA0wGimLVGl36ZYP8YDps7vMst5E/3IKHkq1XXT1FkKaO9kipJKJG/cmU07zuNtnnwAJyaLoF75DmxebeyrstKHo5P59ncOQuboRSjivql8s=,iv:15jDgssDhXpd26sK6aTKI/tdg3DsCcWeJvw3sT6Aps4=,tag:DjGBSTCtKEz0aM10XDvYNQ==,type:str]
|
||||||
unencrypted_suffix: _unencrypted
|
unencrypted_suffix: _unencrypted
|
||||||
version: 3.13.3
|
version: 3.13.3
|
||||||
|
|
|
||||||
|
|
@ -28,6 +28,7 @@
|
||||||
nekover.se 10.202.41.100:8443;
|
nekover.se 10.202.41.100:8443;
|
||||||
mesh.nekover.se 10.202.41.126:8443;
|
mesh.nekover.se 10.202.41.126:8443;
|
||||||
nix-cache.nekover.se 10.202.41.121:8443;
|
nix-cache.nekover.se 10.202.41.121:8443;
|
||||||
|
gameserver.nekover.se 10.202.43.100:8443;
|
||||||
searx.nekover.se 10.202.41.105:8443;
|
searx.nekover.se 10.202.41.105:8443;
|
||||||
social.nekover.se 10.202.41.104:8443;
|
social.nekover.se 10.202.41.104:8443;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -15,6 +15,7 @@ let
|
||||||
"jackett.grzb.de" = "torrent.vs.grzb.de";
|
"jackett.grzb.de" = "torrent.vs.grzb.de";
|
||||||
"jellyseerr.grzb.de" = "jellyseerr.vs.grzb.de";
|
"jellyseerr.grzb.de" = "jellyseerr.vs.grzb.de";
|
||||||
"keycloak-admin.nekover.se" = "keycloak.vs.grzb.de";
|
"keycloak-admin.nekover.se" = "keycloak.vs.grzb.de";
|
||||||
|
"gameserver.nekover.se" = "pterodactyl.vs.grzb.de";
|
||||||
"radarr.grzb.de" = "torrent.vs.grzb.de";
|
"radarr.grzb.de" = "torrent.vs.grzb.de";
|
||||||
"searx.nekover.se" = "searx.vs.grzb.de";
|
"searx.nekover.se" = "searx.vs.grzb.de";
|
||||||
"social.nekover.se" = "mastodon.vs.grzb.de";
|
"social.nekover.se" = "mastodon.vs.grzb.de";
|
||||||
|
|
|
||||||
52
flake.lock
generated
52
flake.lock
generated
|
|
@ -176,11 +176,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs-master": {
|
"nixpkgs-master": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1794685940,
|
"lastModified": 1795131022,
|
||||||
"narHash": "sha256-E4a/BXlIxynsA0GDt9iwHmfGZd1nolyDiGWOafpqW1w=",
|
"narHash": "sha256-lc1IiBlpzkBCyUoFVFpYdAGpMMwGetQpvIiCk/ZCTvg=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "f5e5053491e9337ff52ca04b6b0ff9070de60870",
|
"rev": "5a1f7386c393d08237a7499ab23ae3c6816f720c",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -190,13 +190,29 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nixpkgs-unstable": {
|
"nixpkgs-mastodon-476": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1794666816,
|
"lastModified": 1795088855,
|
||||||
"narHash": "sha256-+0k232f2hL/ENytM0z48OY9BLdnJx1GVdW8lsyQ8lXU=",
|
"narHash": "sha256-z2D+BGUWMpvgM61rlIk9x2s1hjRvQ2TBSmPEOuyHRcM=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "82566dfe91ca5e12bc10b36272280628142f651d",
|
"rev": "d3432655460e6cf1bf7e9dbba8f7add6429de137",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "NixOS",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"rev": "d3432655460e6cf1bf7e9dbba8f7add6429de137",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"nixpkgs-unstable": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1795098731,
|
||||||
|
"narHash": "sha256-y1GUzNe5w8Di8Vu3eilszPhRKo0BUODT77Fx0HwYc1M=",
|
||||||
|
"owner": "NixOS",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"rev": "b8a59ac94c4c495610130c08e5b4c99c2758b571",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -208,11 +224,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs_2": {
|
"nixpkgs_2": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1794671743,
|
"lastModified": 1795098939,
|
||||||
"narHash": "sha256-QnyikQ4v7nE6fJ2Bt9KSM/9dI6jRvVdJMHxIMU0MKvI=",
|
"narHash": "sha256-zmAhBnYUn1isWKdRr5T+qnQNJ4iwRvpMtnsbQfSh3Pg=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "704801e9e347f34634ff60c96cdeb8dcc19a60d6",
|
"rev": "69467f449339164b3f036b1dfa27b1b0c5e38925",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -259,13 +275,8 @@
|
||||||
"nixpkgs": "nixpkgs_3"
|
"nixpkgs": "nixpkgs_3"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
<<<<<<< HEAD
|
"lastModified": 1795187939,
|
||||||
"lastModified": 1794686301,
|
"narHash": "sha256-H2v72ppje9myd9vbQ+G7bxN22KMGajfCsBrpAomzr7o=",
|
||||||
"narHash": "sha256-2R3+HA887NCt65olhKavlRMzH6c/QDKKL/v/FScZ+EA=",
|
|
||||||
=======
|
|
||||||
"lastModified": 1794671746,
|
|
||||||
"narHash": "sha256-WhvFhNe3JRw2AfEYHtSA0w7Pz4I+CSrnB/Np1kB68oQ=",
|
|
||||||
>>>>>>> 55bb324 (pterodactyl)
|
|
||||||
"path": "/home/fi/repositories/pterodactyl-nixos",
|
"path": "/home/fi/repositories/pterodactyl-nixos",
|
||||||
"type": "path"
|
"type": "path"
|
||||||
},
|
},
|
||||||
|
|
@ -280,6 +291,7 @@
|
||||||
"nixos-generators": "nixos-generators",
|
"nixos-generators": "nixos-generators",
|
||||||
"nixpkgs": "nixpkgs_2",
|
"nixpkgs": "nixpkgs_2",
|
||||||
"nixpkgs-master": "nixpkgs-master",
|
"nixpkgs-master": "nixpkgs-master",
|
||||||
|
"nixpkgs-mastodon-476": "nixpkgs-mastodon-476",
|
||||||
"nixpkgs-unstable": "nixpkgs-unstable",
|
"nixpkgs-unstable": "nixpkgs-unstable",
|
||||||
"pterodactyl": "pterodactyl",
|
"pterodactyl": "pterodactyl",
|
||||||
"simple-nixos-mailserver": "simple-nixos-mailserver",
|
"simple-nixos-mailserver": "simple-nixos-mailserver",
|
||||||
|
|
@ -315,11 +327,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1794624949,
|
"lastModified": 1794866654,
|
||||||
"narHash": "sha256-3q/hxp/flW1PnV3Dx+H3p8kHGEHJ7251BqVMNsAAB9E=",
|
"narHash": "sha256-Y28AMB8lyKjASdJ0BVsR2AqR1cUsVuo8RVVpzHoECho=",
|
||||||
"owner": "Mic92",
|
"owner": "Mic92",
|
||||||
"repo": "sops-nix",
|
"repo": "sops-nix",
|
||||||
"rev": "11e5885d241743ff0193465d533b20e754bc3ce0",
|
"rev": "7c637afdccdf9bcf35c4a2d67b58a77c1fd843a4",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
||||||
|
|
@ -4,6 +4,7 @@
|
||||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-26.05-small";
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-26.05-small";
|
||||||
nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixos-unstable-small";
|
nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixos-unstable-small";
|
||||||
nixpkgs-master.url = "github:NixOS/nixpkgs/master";
|
nixpkgs-master.url = "github:NixOS/nixpkgs/master";
|
||||||
|
nixpkgs-mastodon-476.url = "github:NixOS/nixpkgs/d3432655460e6cf1bf7e9dbba8f7add6429de137";
|
||||||
nixos-generators = {
|
nixos-generators = {
|
||||||
url = "github:nix-community/nixos-generators";
|
url = "github:nix-community/nixos-generators";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
|
@ -16,7 +17,7 @@
|
||||||
pterodactyl.url = "path:/home/fi/repositories/pterodactyl-nixos";
|
pterodactyl.url = "path:/home/fi/repositories/pterodactyl-nixos";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = { self, colmena, nixpkgs, nixpkgs-unstable, nixpkgs-master, nixos-generators, simple-nixos-mailserver, sops-nix, pterodactyl, ... }@inputs:
|
outputs = { self, colmena, nixpkgs, nixpkgs-unstable, nixpkgs-master, nixpkgs-mastodon-476, nixos-generators, simple-nixos-mailserver, sops-nix, pterodactyl, ... }@inputs:
|
||||||
let
|
let
|
||||||
hosts = import ./hosts.nix inputs;
|
hosts = import ./hosts.nix inputs;
|
||||||
helper = import ./helper.nix inputs;
|
helper = import ./helper.nix inputs;
|
||||||
|
|
@ -36,7 +37,7 @@
|
||||||
nodeNixpkgs = builtins.mapAttrs (name: host: host.pkgs) hosts;
|
nodeNixpkgs = builtins.mapAttrs (name: host: host.pkgs) hosts;
|
||||||
|
|
||||||
specialArgs = {
|
specialArgs = {
|
||||||
inherit nixpkgs-unstable nixpkgs-master hosts simple-nixos-mailserver;
|
inherit nixpkgs-unstable nixpkgs-master nixpkgs-mastodon-476 hosts simple-nixos-mailserver;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
} // builtins.mapAttrs (helper.generateColmenaHost) hosts;
|
} // builtins.mapAttrs (helper.generateColmenaHost) hosts;
|
||||||
|
|
|
||||||
|
|
@ -66,7 +66,6 @@ in
|
||||||
environment = "proxmox";
|
environment = "proxmox";
|
||||||
};
|
};
|
||||||
matrix = {
|
matrix = {
|
||||||
hostNixpkgs = nixpkgs-unstable;
|
|
||||||
site = "vs";
|
site = "vs";
|
||||||
environment = "proxmox";
|
environment = "proxmox";
|
||||||
};
|
};
|
||||||
|
|
@ -84,6 +83,10 @@ in
|
||||||
environment = "proxmox";
|
environment = "proxmox";
|
||||||
};
|
};
|
||||||
pterodactyl = {
|
pterodactyl = {
|
||||||
|
pkgs = import nixpkgs {
|
||||||
|
system = "x86_64-linux";
|
||||||
|
overlays = [ pterodactyl.overlays.default ];
|
||||||
|
};
|
||||||
site = "vs";
|
site = "vs";
|
||||||
environment = "proxmox";
|
environment = "proxmox";
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue