Desktop: configure syncthing
This commit is contained in:
parent
3fc4d0bf80
commit
559121da21
2 changed files with 11 additions and 0 deletions
|
|
@ -4,5 +4,6 @@
|
||||||
imports = [
|
imports = [
|
||||||
./ssh-agent.nix
|
./ssh-agent.nix
|
||||||
./flatpak.nix
|
./flatpak.nix
|
||||||
|
./syncthing.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
10
roles/desktop/services/syncthing.nix
Normal file
10
roles/desktop/services/syncthing.nix
Normal file
|
|
@ -0,0 +1,10 @@
|
||||||
|
{ config, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
services.syncthing = {
|
||||||
|
enable = true;
|
||||||
|
user = "toast";
|
||||||
|
group = "users";
|
||||||
|
dataDir = config.users.users.toast.home;
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue