mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-25 10:51:53 -05:00
home/desktop: check if syncthing is enabled and the username matches making ~/sync bookmark
This commit is contained in:
parent
db95583b4f
commit
8462a15aa6
|
@ -36,7 +36,10 @@
|
|||
"file://${config.xdg.userDirs.pictures}"
|
||||
"file://${config.home.homeDirectory}/src"
|
||||
]
|
||||
++ lib.optional (osConfig.alyraffauf.services.syncthing.enable) "file://${config.home.homeDirectory}/sync";
|
||||
++ lib.optional (
|
||||
osConfig.alyraffauf.services.syncthing.enable
|
||||
&& (osConfig.alyraffauf.services.syncthing.user == config.home.username)
|
||||
) "file://${config.home.homeDirectory}/sync";
|
||||
|
||||
xdg = {
|
||||
dataFile."backgrounds/".source = ../../files/wallpapers;
|
||||
|
|
Loading…
Reference in a new issue