Compare commits

..

3 Commits

Author SHA1 Message Date
coolneng e8e0758417
Adapt Syncthing to upstream changes 2023-12-05 10:33:48 +01:00
coolneng 378916ed35
Change DNS resolver excepting for loopback needs 2023-12-05 10:32:35 +01:00
coolneng ea7dfca0db
Upgrade to Nixos 23.11 2023-12-05 10:31:43 +01:00
5 changed files with 71 additions and 66 deletions

View File

@ -151,16 +151,16 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1701540982,
"narHash": "sha256-5ajSy6ODgGmAbmymRdHnjfVnuVrACjI8wXoGVvrtvww=",
"lastModified": 1701539137,
"narHash": "sha256-nVO/5QYpf1GwjvtpXhyxx5M3U/WN0MwBro4Lsk+9mL0=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "6386d8aafc28b3a7ed03880a57bdc6eb4465491d",
"rev": "933d7dc155096e7575d207be6fb7792bc9f34f6d",
"type": "github"
},
"original": {
"id": "nixpkgs",
"ref": "nixos-23.05",
"ref": "nixos-23.11",
"type": "indirect"
}
},

View File

@ -2,7 +2,7 @@
description = "System configuration for zion";
inputs = {
nixpkgs.url = "nixpkgs/nixos-23.05";
nixpkgs.url = "nixpkgs/nixos-23.11";
nixpkgs-unstable.url = "nixpkgs/nixos-unstable";
agenix = {
url = "github:ryantm/agenix";

View File

@ -7,18 +7,19 @@
guiAddress = "0.0.0.0:8384";
dataDir = "/vault/syncthing";
key = config.age.secrets.syncthing.path;
devices = {
panacea.id =
"NF4SYEJ-RSGPDEF-CDEYC3A-JWZMKNC-KG4FVQP-CZ5HRFY-XM22BZD-N7B6VAH";
caravanserai.id =
"MIRF73R-S7AV47R-VLWZUK2-TFCVQPV-FRYCPND-Y4VR3W2-ZAIQXZD-JAEQCAD";
};
extraOptions = {
options = {
maxFolderConcurrency = 4;
progressUpdateIntervalS = -1;
};
};
settings = {
devices = {
panacea.id =
"NF4SYEJ-RSGPDEF-CDEYC3A-JWZMKNC-KG4FVQP-CZ5HRFY-XM22BZD-N7B6VAH";
caravanserai.id =
"MIRF73R-S7AV47R-VLWZUK2-TFCVQPV-FRYCPND-Y4VR3W2-ZAIQXZD-JAEQCAD";
};
folders = {
Documents = {
id = "wusdj-bfjkr";
@ -84,6 +85,7 @@
};
};
};
};
# Enable Radicale
services.radicale = {

View File

@ -29,7 +29,7 @@ in {
matchConfig.Name = "end0";
address = [ "192.168.13.2/24" ];
gateway = [ "192.168.13.1" ];
dns = [ "192.168.13.2" ];
dns = [ "1.1.1.1" "9.9.9.9" ];
networkConfig.DNSSEC = "no";
};

View File

@ -187,7 +187,10 @@
# ACME certs configuration
security.acme = {
acceptTerms = true;
defaults.email = "akasroua@gmail.com";
defaults = {
email = "akasroua@disroot.org";
dnsResolver = "127.0.0.1:53";
};
};
# Generate dhparams