Merge branch 'master' of github.com:starr-dusT/dotfiles

This commit is contained in:
Tyler Starr 2024-10-22 21:17:43 -07:00
commit c60cacac85
3 changed files with 3 additions and 12 deletions

View File

@ -41,7 +41,6 @@
devices = { devices = {
"kestrel" = { id = "5WWL4FE-ARZ4FHP-J33HQCH-CZKEXLN-2RAY4KW-PDI754F-3HVPZYI-VC3ESAF"; }; "kestrel" = { id = "5WWL4FE-ARZ4FHP-J33HQCH-CZKEXLN-2RAY4KW-PDI754F-3HVPZYI-VC3ESAF"; };
}; };
folders = {};
}; };
}; };
system = { system = {

View File

@ -60,8 +60,9 @@
enable = true; enable = true;
keyPath = ../../secrets/syncthing/kestrel/key.pem.age; keyPath = ../../secrets/syncthing/kestrel/key.pem.age;
certPath = ../../secrets/syncthing/kestrel/cert.pem.age; certPath = ../../secrets/syncthing/kestrel/cert.pem.age;
devices = {}; devices = {
folders = {}; "bulwark" = { id = "YKPOWTQ-XMXG3SD-XKLPVEC-H4SO345-2ZZQK65-EBISRED-ISKCFMQ-T74P6Q5"; };
};
}; };
}; };
system = { system = {

View File

@ -22,14 +22,6 @@ in {
A set of devices and associated IDs. A set of devices and associated IDs.
''; '';
}; };
folders = mkOption {
type = types.attrs;
default = {};
description = ''
A set of folders, each defined by a set of attributes like
path, devices, and other configuration options.
'';
};
}; };
config = lib.mkIf cfg.enable { config = lib.mkIf cfg.enable {
@ -62,7 +54,6 @@ in {
key = "/run/agenix/syncthing/key.pem"; key = "/run/agenix/syncthing/key.pem";
cert = "/run/agenix/syncthing/cert.pem"; cert = "/run/agenix/syncthing/cert.pem";
settings.devices = cfg.devices; settings.devices = cfg.devices;
settings.folders = cfg.folders;
}; };
}; };
} }