feat: fetch wallpapers remotely as flake input

This commit is contained in:
Youwen Wu 2024-08-26 00:43:36 -07:00
parent 1412f718a4
commit c49fd7b485
Signed by: youwen5
GPG key ID: 865658ED1FE61EC3
3 changed files with 25 additions and 3 deletions

View file

@ -872,7 +872,8 @@
"personal-neovim": "personal-neovim",
"spicetify": "spicetify",
"stablepkgs": "stablepkgs",
"vesktop-bin": "vesktop-bin"
"vesktop-bin": "vesktop-bin",
"wallpapers": "wallpapers"
}
},
"rust-overlay": {
@ -1068,6 +1069,22 @@
"repo": "vesktop-bin-flake",
"type": "github"
}
},
"wallpapers": {
"flake": false,
"locked": {
"lastModified": 1724657366,
"narHash": "sha256-i0lo2ktQPcnAObhsSIY2SoENEjszdQduQh+jqz7gGUs=",
"ref": "refs/heads/main",
"rev": "0cc9bdb3dc8222f1761ce66d4ea35cba297b8be2",
"revCount": 3,
"type": "git",
"url": "https://code.youwen.dev/youwen5/wallpapers"
},
"original": {
"type": "git",
"url": "https://code.youwen.dev/youwen5/wallpapers"
}
}
},
"root": "root",

View file

@ -61,6 +61,11 @@
personal-neovim.url = "github:youwen5/neovim-flake";
vesktop-bin.url = "github:youwen5/vesktop-bin-flake";
wallpapers = {
url = "git+https://code.youwen.dev/youwen5/wallpapers";
flake = false;
};
};
outputs = {

View file

@ -1,5 +1,5 @@
{
config,
inputs,
pkgs,
...
}: {
@ -22,7 +22,7 @@
# '';
home.file.".wallpapers" = {
source = ../../../wallpapers;
source = inputs.wallpapers;
recursive = true;
};