mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2025-04-25 16:08:30 +02:00
use upstream packages where possible
This commit is contained in:
parent
8ffefbf1cb
commit
c0c544b447
4 changed files with 18 additions and 78 deletions
|
@ -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 = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue