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": "nixpkgs_2",
"nixpkgs-unstable": "nixpkgs-unstable", "nixpkgs-unstable": "nixpkgs-unstable",
"nur": "nur", "nur": "nur",
"ranger-sixel": "ranger-sixel" "ranger-sixel": "ranger-sixel",
"wegank": "wegank"
} }
}, },
"rust-analyzer-src": { "rust-analyzer-src": {
@ -238,6 +239,26 @@
"type": "github" "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": { "wlroots": {
"flake": false, "flake": false,
"locked": { "locked": {

View file

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

View file

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

View file

@ -114,10 +114,15 @@
nix = { nix = {
settings = { settings = {
auto-optimise-store = true; 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 = [ trusted-public-keys = [
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc=" "hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
"lelgenio.cachix.org-1:W8tMlmDFLU/V+6DlChXjekxoHZpjgVHZpmusC4cueBc=" "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 package = pkgs.nixFlakes; # or versioned attributes like nixVersions.nix_2_8

View file

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