feature/muffinman_implementation (#2)

Co-authored-by: MFlossmann <michael.flossmann@posteo.net>
Reviewed-on: http://192.168.178.49:3000/prunebutt/nixConfig/pulls/2
This commit is contained in:
prunebutt 2024-07-10 14:54:02 +02:00
parent bc0adb16e2
commit b9a6e6052c
7 changed files with 230 additions and 4 deletions

View file

@ -11,7 +11,7 @@
secretsSet = builtins.fromJSON (builtins.readFile ./${secretsFile});
devices = builtins.attrNames secretsSet.syncthing.devices;
in {
options = {
options.myNixOS.services.syncthing = {
rootDir = lib.mkOption {
type = lib.types.path;
default = "/home/${cfg.myNixOS.sharedSettings.mainUser}/sync";
@ -34,6 +34,7 @@ in {
"pixelRoot" = {id = "PO7U5SE-DYKTOM2-TFDS3BM-A25VK7V-MQ3VPFM-EFX3J4D-B3UDCX4-3XQAIAC";};
"pixelDefault" = {id = "HC3CKC7-OUZBLU3-JIKTRYG-DPJE6EC-7POCWNS-6VNOPDU-L7OWYWO-PL332AY";};
"pixelGooglor" = {id = "OWDM4I2-O6STMIS-H3EXF65-FSM26K3-5FLQXRN-VOK7JGC-T6H76IR-QAVO3QK";};
"remus" = {id = "XATHQZF-XO27XG2-65BT5EO-PZQWGMG-BDOYXID-AI5YPDU-ZACUPB4-UTXLPA3";};
};
folders = {