Make configuration easier and errors more obvious
This commit is contained in:
parent
39d8043ed0
commit
0a48c6ecce
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@
|
|||
services.syncthing = {
|
||||
enable = true;
|
||||
user = "vili";
|
||||
dataDir = "/home/vili/";
|
||||
dataDir = config.users.users.${config.services.syncthing.user}.home;
|
||||
|
||||
settings = {
|
||||
devices = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue