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

View File

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

View File

@ -7,18 +7,19 @@
guiAddress = "0.0.0.0:8384"; guiAddress = "0.0.0.0:8384";
dataDir = "/vault/syncthing"; dataDir = "/vault/syncthing";
key = config.age.secrets.syncthing.path; 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 = { extraOptions = {
options = { options = {
maxFolderConcurrency = 4; maxFolderConcurrency = 4;
progressUpdateIntervalS = -1; 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 = { folders = {
Documents = { Documents = {
id = "wusdj-bfjkr"; id = "wusdj-bfjkr";
@ -84,6 +85,7 @@
}; };
}; };
}; };
};
# Enable Radicale # Enable Radicale
services.radicale = { services.radicale = {

View File

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

View File

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