treewide: add syncthing
This commit is contained in:
parent
e69c0feab9
commit
375b893a43
4 changed files with 12 additions and 8 deletions
|
@ -16,6 +16,8 @@ in {
|
|||
"${system}/programs/gnome.nix"
|
||||
"${system}/programs/games.nix"
|
||||
"${system}/hardware/nvidia.nix"
|
||||
|
||||
"${system}/services/syncthing.nix"
|
||||
];
|
||||
|
||||
home-manager = {
|
||||
|
|
|
@ -24,6 +24,8 @@ in {
|
|||
"${system}/programs/niri"
|
||||
"${system}/services/gnome.nix"
|
||||
"${system}/services/mail.nix"
|
||||
|
||||
"${system}/services/syncthing.nix"
|
||||
];
|
||||
|
||||
home-manager = {
|
||||
|
|
8
system/services/syncthing.nix
Normal file
8
system/services/syncthing.nix
Normal file
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
services = {
|
||||
syncthing = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
systemd.services.syncthing.environment.STNODEFAULTFOLDER = "true"; # Don't create default ~/Sync folder
|
||||
}
|
|
@ -1,8 +0,0 @@
|
|||
{
|
||||
services = {
|
||||
syncthing = {
|
||||
enable = true;
|
||||
systemd.services.syncthing.environment.STNODEFAULTFOLDER = "true"; # Don't create default ~/Sync folder
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue