mirror of
https://github.com/starr-dusT/dotfiles.git
synced 2025-02-19 19:27:31 -08:00
Merge branch 'master' of github.com:starr-dusT/dotfiles
This commit is contained in:
commit
c60cacac85
@ -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 = {
|
||||||
|
@ -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 = {
|
||||||
|
@ -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;
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user