mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 06:33:56 -05:00
home/desktop: only crete ~/sync if osConfig.alyraffauf.services.syncthing.enable
This commit is contained in:
parent
24a0a097d3
commit
e86871ec23
|
@ -1,6 +1,7 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
osConfig,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
|
@ -26,15 +27,16 @@
|
|||
};
|
||||
};
|
||||
|
||||
gtk.gtk3.bookmarks = [
|
||||
"file://${config.xdg.userDirs.documents}"
|
||||
"file://${config.xdg.userDirs.download}"
|
||||
"file://${config.xdg.userDirs.music}"
|
||||
"file://${config.xdg.userDirs.videos}"
|
||||
"file://${config.xdg.userDirs.pictures}"
|
||||
"file://${config.home.homeDirectory}/src"
|
||||
"file://${config.home.homeDirectory}/sync"
|
||||
];
|
||||
gtk.gtk3.bookmarks =
|
||||
[
|
||||
"file://${config.xdg.userDirs.documents}"
|
||||
"file://${config.xdg.userDirs.download}"
|
||||
"file://${config.xdg.userDirs.music}"
|
||||
"file://${config.xdg.userDirs.videos}"
|
||||
"file://${config.xdg.userDirs.pictures}"
|
||||
"file://${config.home.homeDirectory}/src"
|
||||
]
|
||||
++ lib.optional (osConfig.alyraffauf.services.syncthing.enable) "file://${config.home.homeDirectory}/sync";
|
||||
|
||||
xdg = {
|
||||
dataFile."backgrounds/".source = ../../files/wallpapers;
|
||||
|
|
Loading…
Reference in a new issue