use upstream packages where possible

This commit is contained in:
Rouven Seifert 2023-05-03 22:55:06 +02:00
parent 8ffefbf1cb
commit c0c544b447
Signed by: rouven.seifert
GPG key ID: B95E8FE6B11C4D09
4 changed files with 18 additions and 78 deletions

View file

@ -1,10 +1,7 @@
{ config, hyprpaper, ... }:
let
hyprpaper-pkg = hyprpaper.packages.x86_64-linux.default;
in
{ pkgs, ... }:
{
home.packages = [
hyprpaper-pkg
home.packages = with pkgs; [
hyprpaper
];
xdg.configFile."hypr/hyprpaper.conf".text = ''
preload = ${../../../../images/wallpaper.png}
@ -14,7 +11,7 @@ in
systemd.user.services.hyprpaper = {
Install.WantedBy = [ "graphical-session.target" ];
Service = {
ExecStart = "${hyprpaper-pkg}/bin/hyprpaper";
ExecStart = "${pkgs.hyprpaper}/bin/hyprpaper";
Restart = "on-failure";
};
Unit = {