mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 13:03: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,
|
config,
|
||||||
lib,
|
lib,
|
||||||
|
osConfig,
|
||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
|
@ -26,15 +27,16 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
gtk.gtk3.bookmarks = [
|
gtk.gtk3.bookmarks =
|
||||||
"file://${config.xdg.userDirs.documents}"
|
[
|
||||||
"file://${config.xdg.userDirs.download}"
|
"file://${config.xdg.userDirs.documents}"
|
||||||
"file://${config.xdg.userDirs.music}"
|
"file://${config.xdg.userDirs.download}"
|
||||||
"file://${config.xdg.userDirs.videos}"
|
"file://${config.xdg.userDirs.music}"
|
||||||
"file://${config.xdg.userDirs.pictures}"
|
"file://${config.xdg.userDirs.videos}"
|
||||||
"file://${config.home.homeDirectory}/src"
|
"file://${config.xdg.userDirs.pictures}"
|
||||||
"file://${config.home.homeDirectory}/sync"
|
"file://${config.home.homeDirectory}/src"
|
||||||
];
|
]
|
||||||
|
++ lib.optional (osConfig.alyraffauf.services.syncthing.enable) "file://${config.home.homeDirectory}/sync";
|
||||||
|
|
||||||
xdg = {
|
xdg = {
|
||||||
dataFile."backgrounds/".source = ../../files/wallpapers;
|
dataFile."backgrounds/".source = ../../files/wallpapers;
|
||||||
|
|
Loading…
Reference in a new issue