Reorganize and refactor project
This commit is contained in:
parent
ed1e654706
commit
afcc583dcf
35 changed files with 130 additions and 300 deletions
modules/home-manager/syncthing
15
modules/home-manager/syncthing/default.nix
Normal file
15
modules/home-manager/syncthing/default.nix
Normal file
|
@ -0,0 +1,15 @@
|
|||
{ config, flake, ... }: {
|
||||
config = {
|
||||
services.syncthing.enable = true;
|
||||
|
||||
homeage.file."syncthing-key.pem" = {
|
||||
source = "${flake}/secrets/syncthing-key.pem.age";
|
||||
symlinks = [ "${config.xdg.configHome}/syncthing/key.pem" ];
|
||||
};
|
||||
|
||||
homeage.file."syncthing-cert.pem" = {
|
||||
source = "${flake}/secrets/syncthing-cert.pem.age";
|
||||
symlinks = [ "${config.xdg.configHome}/syncthing/cert.pem" ];
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue