adding uwsm, ty fufexan. and quite a bit more

This commit is contained in:
cnst
2024-11-18 06:14:56 +01:00
parent 8d121fda97
commit edfc9767c7
17 changed files with 120 additions and 119 deletions

View File

@@ -2,14 +2,14 @@
config,
lib,
pkgs,
# inputs,
inputs,
...
}: let
inherit (lib) mkIf mkEnableOption;
cfg = config.home.services.hyprpaper;
# hyprpaperFlake = inputs.hyprpaper.packages.${pkgs.system}.default;
hyprpaperPkg = pkgs.hyprpaper;
hyprpaperFlake = inputs.hyprpaper.packages.${pkgs.system}.default;
# hyprpaperPkg = pkgs.hyprpaper;
in {
options = {
home.services.hyprpaper.enable = mkEnableOption "Enables hyprpaper";
@@ -17,7 +17,7 @@ in {
config = mkIf cfg.enable {
services.hyprpaper = {
enable = true;
package = hyprpaperPkg;
package = hyprpaperFlake;
settings = {
ipc = "on";
splash = false;
@@ -51,5 +51,6 @@ in {
];
};
};
systemd.user.services.hyprpaper.Unit.After = lib.mkForce "graphical-session.target";
};
}