add mpvpaper package

This commit is contained in:
Leonardo Eugênio 2022-10-24 08:02:22 -03:00
parent 746491e050
commit 164e122ee9
5 changed files with 37 additions and 2 deletions

View file

@ -218,7 +218,8 @@
"nixpkgs": "nixpkgs_2",
"nixpkgs-unstable": "nixpkgs-unstable",
"nur": "nur",
"ranger-sixel": "ranger-sixel"
"ranger-sixel": "ranger-sixel",
"wegank": "wegank"
}
},
"rust-analyzer-src": {
@ -238,6 +239,26 @@
"type": "github"
}
},
"wegank": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1666380152,
"narHash": "sha256-Uhnkh3FbbxmWmsGeG9MuF99lCpYBsA43E6y+wYzrkA4=",
"owner": "wegank",
"repo": "nur-packages",
"rev": "f2525c754dd627fe4a83d77c49dd0528dba72e35",
"type": "github"
},
"original": {
"owner": "wegank",
"repo": "nur-packages",
"type": "github"
}
},
"wlroots": {
"flake": false,
"locked": {

View file

@ -7,6 +7,12 @@
home-manager.inputs.nixpkgs.follows = "nixpkgs";
nur.url = "github:nix-community/NUR";
# mpvpaper
wegank = {
url = "github:wegank/nur-packages";
inputs.nixpkgs.follows = "nixpkgs";
};
hyprland = {
url = "github:hyprwm/Hyprland";
inputs.nixpkgs.follows = "nixpkgs-unstable";

View file

@ -9,6 +9,7 @@
(final: prev: {
uservars = import ../user/variables.nix;
dhist = inputs.dhist.packages.${system}.dhist;
mpvpaper = inputs.wegank.packages.${prev.system}.mpvpaper;
alacritty = (prev.unstable.alacritty.overrideAttrs
(old-alacritty: rec {
src = inputs.alacritty-sixel;

View file

@ -114,10 +114,15 @@
nix = {
settings = {
auto-optimise-store = true;
substituters = [ "https://hyprland.cachix.org" "https://lelgenio.cachix.org" ];
substituters = [
"https://hyprland.cachix.org"
"https://lelgenio.cachix.org"
"https://wegank.cachix.org"
];
trusted-public-keys = [
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
"lelgenio.cachix.org-1:W8tMlmDFLU/V+6DlChXjekxoHZpjgVHZpmusC4cueBc="
"wegank.cachix.org-1:xHignps7GtkPP/gYK5LvA/6UFyz98+sgaxBSy7qK0Vs="
];
};
package = pkgs.nixFlakes; # or versioned attributes like nixVersions.nix_2_8

View file

@ -417,6 +417,8 @@ in {
wf-recorder
wl-clipboard
wtype
mpvpaper
];
systemd.user.services = {
mako = {