mirror of
https://github.com/starr-dusT/dotfiles.git
synced 2025-02-19 03:07:32 -08:00
Merge branch 'master' of github.com:starr-dusT/dotfiles
This commit is contained in:
commit
c60cacac85
@ -41,7 +41,6 @@
|
||||
devices = {
|
||||
"kestrel" = { id = "5WWL4FE-ARZ4FHP-J33HQCH-CZKEXLN-2RAY4KW-PDI754F-3HVPZYI-VC3ESAF"; };
|
||||
};
|
||||
folders = {};
|
||||
};
|
||||
};
|
||||
system = {
|
||||
|
@ -60,8 +60,9 @@
|
||||
enable = true;
|
||||
keyPath = ../../secrets/syncthing/kestrel/key.pem.age;
|
||||
certPath = ../../secrets/syncthing/kestrel/cert.pem.age;
|
||||
devices = {};
|
||||
folders = {};
|
||||
devices = {
|
||||
"bulwark" = { id = "YKPOWTQ-XMXG3SD-XKLPVEC-H4SO345-2ZZQK65-EBISRED-ISKCFMQ-T74P6Q5"; };
|
||||
};
|
||||
};
|
||||
};
|
||||
system = {
|
||||
|
@ -22,14 +22,6 @@ in {
|
||||
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 {
|
||||
@ -62,7 +54,6 @@ in {
|
||||
key = "/run/agenix/syncthing/key.pem";
|
||||
cert = "/run/agenix/syncthing/cert.pem";
|
||||
settings.devices = cfg.devices;
|
||||
settings.folders = cfg.folders;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user