Compare commits
No commits in common. "e8e0758417aa4542b85bd4b66245e09d6f4d5ca2" and "4493b8aa7041a1aa518d304f11679fee1b97e829" have entirely different histories.
e8e0758417
...
4493b8aa70
|
@ -151,16 +151,16 @@
|
||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1701539137,
|
"lastModified": 1701540982,
|
||||||
"narHash": "sha256-nVO/5QYpf1GwjvtpXhyxx5M3U/WN0MwBro4Lsk+9mL0=",
|
"narHash": "sha256-5ajSy6ODgGmAbmymRdHnjfVnuVrACjI8wXoGVvrtvww=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "933d7dc155096e7575d207be6fb7792bc9f34f6d",
|
"rev": "6386d8aafc28b3a7ed03880a57bdc6eb4465491d",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"id": "nixpkgs",
|
"id": "nixpkgs",
|
||||||
"ref": "nixos-23.11",
|
"ref": "nixos-23.05",
|
||||||
"type": "indirect"
|
"type": "indirect"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
description = "System configuration for zion";
|
description = "System configuration for zion";
|
||||||
|
|
||||||
inputs = {
|
inputs = {
|
||||||
nixpkgs.url = "nixpkgs/nixos-23.11";
|
nixpkgs.url = "nixpkgs/nixos-23.05";
|
||||||
nixpkgs-unstable.url = "nixpkgs/nixos-unstable";
|
nixpkgs-unstable.url = "nixpkgs/nixos-unstable";
|
||||||
agenix = {
|
agenix = {
|
||||||
url = "github:ryantm/agenix";
|
url = "github:ryantm/agenix";
|
||||||
|
|
|
@ -7,82 +7,80 @@
|
||||||
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 = {
|
folders = {
|
||||||
devices = {
|
Documents = {
|
||||||
panacea.id =
|
id = "wusdj-bfjkr";
|
||||||
"NF4SYEJ-RSGPDEF-CDEYC3A-JWZMKNC-KG4FVQP-CZ5HRFY-XM22BZD-N7B6VAH";
|
type = "receiveonly";
|
||||||
caravanserai.id =
|
path = "/vault/syncthing/Documents";
|
||||||
"MIRF73R-S7AV47R-VLWZUK2-TFCVQPV-FRYCPND-Y4VR3W2-ZAIQXZD-JAEQCAD";
|
devices = [ "panacea" "caravanserai" ];
|
||||||
};
|
};
|
||||||
folders = {
|
|
||||||
Documents = {
|
|
||||||
id = "wusdj-bfjkr";
|
|
||||||
type = "receiveonly";
|
|
||||||
path = "/vault/syncthing/Documents";
|
|
||||||
devices = [ "panacea" "caravanserai" ];
|
|
||||||
};
|
|
||||||
|
|
||||||
Notes = {
|
Notes = {
|
||||||
id = "kafhz-bfmzm";
|
id = "kafhz-bfmzm";
|
||||||
type = "receiveonly";
|
type = "receiveonly";
|
||||||
path = "/vault/syncthing/Notes";
|
path = "/vault/syncthing/Notes";
|
||||||
devices = [ "panacea" "caravanserai" ];
|
devices = [ "panacea" "caravanserai" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
Music = {
|
Music = {
|
||||||
id = "2aqt7-vpprc";
|
id = "2aqt7-vpprc";
|
||||||
type = "receiveonly";
|
type = "receiveonly";
|
||||||
path = "/vault/syncthing/Music";
|
path = "/vault/syncthing/Music";
|
||||||
devices = [ "panacea" "caravanserai" ];
|
devices = [ "panacea" "caravanserai" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
Photos = {
|
Photos = {
|
||||||
id = "mjibc-ustcg";
|
id = "mjibc-ustcg";
|
||||||
type = "receiveonly";
|
type = "receiveonly";
|
||||||
path = "/vault/syncthing/Photos";
|
path = "/vault/syncthing/Photos";
|
||||||
devices = [ "panacea" "caravanserai" ];
|
devices = [ "panacea" "caravanserai" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
Projects = {
|
Projects = {
|
||||||
id = "cjhmu-avy9v";
|
id = "cjhmu-avy9v";
|
||||||
type = "receiveonly";
|
type = "receiveonly";
|
||||||
path = "/vault/syncthing/Projects";
|
path = "/vault/syncthing/Projects";
|
||||||
devices = [ "panacea" ];
|
devices = [ "panacea" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
Phone = {
|
Phone = {
|
||||||
id = "m2007j20cg_vc7r-photos";
|
id = "m2007j20cg_vc7r-photos";
|
||||||
type = "receiveonly";
|
type = "receiveonly";
|
||||||
path = "/vault/syncthing/Photos/Phone";
|
path = "/vault/syncthing/Photos/Phone";
|
||||||
devices = [ "panacea" "caravanserai" ];
|
devices = [ "panacea" "caravanserai" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
Files = {
|
Files = {
|
||||||
id = "tsk52-u6rbk";
|
id = "tsk52-u6rbk";
|
||||||
type = "receiveonly";
|
type = "receiveonly";
|
||||||
path = "/vault/syncthing/Files";
|
path = "/vault/syncthing/Files";
|
||||||
devices = [ "panacea" "caravanserai" ];
|
devices = [ "panacea" "caravanserai" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
Phone-screenshots = {
|
Phone-screenshots = {
|
||||||
id = "pp70r-pbr70";
|
id = "pp70r-pbr70";
|
||||||
type = "receiveonly";
|
type = "receiveonly";
|
||||||
path = "/vault/syncthing/Photos/Phone-screenshots";
|
path = "/vault/syncthing/Photos/Phone-screenshots";
|
||||||
devices = [ "panacea" "caravanserai" ];
|
devices = [ "panacea" "caravanserai" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
Audio = {
|
Audio = {
|
||||||
id = "tarrs-5mxck";
|
id = "tarrs-5mxck";
|
||||||
type = "receiveonly";
|
type = "receiveonly";
|
||||||
path = "/vault/syncthing/Audio";
|
path = "/vault/syncthing/Audio";
|
||||||
devices = [ "panacea" "caravanserai" ];
|
devices = [ "panacea" "caravanserai" ];
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -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 = [ "1.1.1.1" "9.9.9.9" ];
|
dns = [ "192.168.13.2" ];
|
||||||
networkConfig.DNSSEC = "no";
|
networkConfig.DNSSEC = "no";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -187,10 +187,7 @@
|
||||||
# ACME certs configuration
|
# ACME certs configuration
|
||||||
security.acme = {
|
security.acme = {
|
||||||
acceptTerms = true;
|
acceptTerms = true;
|
||||||
defaults = {
|
defaults.email = "akasroua@gmail.com";
|
||||||
email = "akasroua@disroot.org";
|
|
||||||
dnsResolver = "127.0.0.1:53";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
# Generate dhparams
|
# Generate dhparams
|
||||||
|
|
Loading…
Reference in New Issue