home/desktop: fetch wallpapers from git
Before Width: | Height: | Size: 2.7 MiB |
Before Width: | Height: | Size: 2.1 MiB |
Before Width: | Height: | Size: 716 KiB |
Before Width: | Height: | Size: 3.6 MiB |
Before Width: | Height: | Size: 1.2 MiB |
Before Width: | Height: | Size: 1.4 MiB |
Before Width: | Height: | Size: 3 MiB |
Before Width: | Height: | Size: 7.4 MiB |
Before Width: | Height: | Size: 4.6 MiB |
Before Width: | Height: | Size: 5.6 MiB |
Before Width: | Height: | Size: 2.4 MiB |
Before Width: | Height: | Size: 1 MiB |
Before Width: | Height: | Size: 7.6 MiB |
Before Width: | Height: | Size: 4.7 MiB |
Before Width: | Height: | Size: 4 MiB |
Before Width: | Height: | Size: 1.4 MiB |
Before Width: | Height: | Size: 4.1 MiB |
|
@ -48,7 +48,12 @@
|
||||||
) "file://${config.home.homeDirectory}/sync";
|
) "file://${config.home.homeDirectory}/sync";
|
||||||
|
|
||||||
xdg = {
|
xdg = {
|
||||||
dataFile."backgrounds/".source = ../../files/wallpapers;
|
dataFile."backgrounds".source = builtins.fetchGit {
|
||||||
|
url = "https://github.com/alyraffauf/wallpapers.git";
|
||||||
|
rev = "7603a8aa36b0d8d76bd9fd80d19e8b601e4839aa";
|
||||||
|
ref = "master";
|
||||||
|
};
|
||||||
|
|
||||||
userDirs = {
|
userDirs = {
|
||||||
enable = true;
|
enable = true;
|
||||||
createDirectories = true;
|
createDirectories = true;
|
||||||
|
|