Compare commits
3 Commits
4e317cfd81
...
22fc403563
| Author | SHA1 | Date | |
|---|---|---|---|
|
22fc403563
|
|||
|
d5e11e4909
|
|||
|
bcc764dd50
|
@@ -210,6 +210,11 @@ with pkgs;
|
|||||||
owner = "inadyn";
|
owner = "inadyn";
|
||||||
group = "inadyn";
|
group = "inadyn";
|
||||||
};
|
};
|
||||||
|
secrets.inadyn-porkbun-secret = {
|
||||||
|
file = secrets/inadyn-porkbun-secret.age;
|
||||||
|
owner = "inadyn";
|
||||||
|
group = "inadyn";
|
||||||
|
};
|
||||||
secrets.acme-duckdns = {
|
secrets.acme-duckdns = {
|
||||||
file = secrets/acme-duckdns.age;
|
file = secrets/acme-duckdns.age;
|
||||||
owner = "acme";
|
owner = "acme";
|
||||||
|
|||||||
8
flake.lock
generated
8
flake.lock
generated
@@ -153,16 +153,16 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1755922037,
|
"lastModified": 1764522689,
|
||||||
"narHash": "sha256-wY1+2JPH0ZZC4BQefoZw/k+3+DowFyfOxv17CN/idKs=",
|
"narHash": "sha256-SqUuBFjhl/kpDiVaKLQBoD8TLD+/cTUzzgVFoaHrkqY=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "b1b3291469652d5a2edb0becc4ef0246fff97a7c",
|
"rev": "8bb5646e0bed5dbd3ab08c7a7cc15b75ab4e1d0f",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"id": "nixpkgs",
|
"id": "nixpkgs",
|
||||||
"ref": "nixos-25.05",
|
"ref": "nixos-25.11",
|
||||||
"type": "indirect"
|
"type": "indirect"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
description = "System configuration for zion";
|
description = "System configuration for zion";
|
||||||
|
|
||||||
inputs = {
|
inputs = {
|
||||||
nixpkgs.url = "nixpkgs/nixos-25.05";
|
nixpkgs.url = "nixpkgs/nixos-25.11";
|
||||||
nixpkgs-unstable.url = "nixpkgs/nixos-unstable";
|
nixpkgs-unstable.url = "nixpkgs/nixos-unstable";
|
||||||
agenix = {
|
agenix = {
|
||||||
url = "github:ryantm/agenix";
|
url = "github:ryantm/agenix";
|
||||||
|
|||||||
@@ -47,11 +47,9 @@ in
|
|||||||
# NOTE Temporary workaround until Inadyn fixes the Porkbun module
|
# NOTE Temporary workaround until Inadyn fixes the Porkbun module
|
||||||
services.oink = {
|
services.oink = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
apiKeyFile = config.age.secrets.inadyn-porkbun.path;
|
||||||
apiKey = "PLACEHOLDER";
|
secretApiKeyFile = config.age.secrets.inadyn-porkbun-secret.path;
|
||||||
secretApiKey = "PLACEHOLDER";
|
settings.interval = 1800;
|
||||||
interval = 1800;
|
|
||||||
};
|
|
||||||
domains = [
|
domains = [
|
||||||
{
|
{
|
||||||
domain = "psydnd.org";
|
domain = "psydnd.org";
|
||||||
@@ -59,8 +57,6 @@ in
|
|||||||
}
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
# NOTE Load credentials using environment variables
|
|
||||||
systemd.services.oink.serviceConfig.EnvironmentFile = config.age.secrets.inadyn-porkbun.path;
|
|
||||||
|
|
||||||
# Firewall configuration
|
# Firewall configuration
|
||||||
networking.firewall = {
|
networking.firewall = {
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
services.nginx = {
|
services.nginx = {
|
||||||
enable = true;
|
enable = true;
|
||||||
recommendedTlsSettings = true;
|
recommendedTlsSettings = true;
|
||||||
recommendedZstdSettings = true;
|
recommendedBrotliSettings = true;
|
||||||
recommendedProxySettings = true;
|
recommendedProxySettings = true;
|
||||||
recommendedOptimisation = true;
|
recommendedOptimisation = true;
|
||||||
clientMaxBodySize = "0";
|
clientMaxBodySize = "0";
|
||||||
|
|||||||
5
secrets/inadyn-porkbun-secret.age
Normal file
5
secrets/inadyn-porkbun-secret.age
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
age-encryption.org/v1
|
||||||
|
-> ssh-ed25519 iUaRGg paS5BxWWicriSLAZyCBKd2xylLAp4/LcHmogO7me8yQ
|
||||||
|
MWW/Pkvn+4G4YeYXY9ZPXC92TbcFXQMyHJ2ltFzXpZs
|
||||||
|
--- ZdFfQ7tHfEo+u/0MmigCNh6OIxkd2bimRN30rMUs1ks
|
||||||
|
<EFBFBD>9<EFBFBD>7Y<EFBFBD>$B<>sX<0E>ʽb<CABD>O'J<><4A>S'<27>5!<21><>UMʯ-v<>m<EFBFBD><6D><EFBFBD><EFBFBD><EFBFBD>8%|R,<2C>~I<><14><>G<EFBFBD><47>VQE<0E>0D<30>:Qv<<1E><>)<29><0B><>%fc<66><63>XZչ 7+yB
|
||||||
Binary file not shown.
@@ -17,6 +17,7 @@ in
|
|||||||
"signal.age".publicKeys = [ zion ];
|
"signal.age".publicKeys = [ zion ];
|
||||||
"inadyn-duckdns.age".publicKeys = [ zion ];
|
"inadyn-duckdns.age".publicKeys = [ zion ];
|
||||||
"inadyn-porkbun.age".publicKeys = [ zion ];
|
"inadyn-porkbun.age".publicKeys = [ zion ];
|
||||||
|
"inadyn-porkbun-secret.age".publicKeys = [ zion ];
|
||||||
"acme-duckdns.age".publicKeys = [ zion ];
|
"acme-duckdns.age".publicKeys = [ zion ];
|
||||||
"acme-porkbun.age".publicKeys = [ zion ];
|
"acme-porkbun.age".publicKeys = [ zion ];
|
||||||
"microbin.age".publicKeys = [ zion ];
|
"microbin.age".publicKeys = [ zion ];
|
||||||
|
|||||||
Reference in New Issue
Block a user