diff --git a/config/home-manager/programs/hypr/paper.nix b/config/home-manager/programs/hypr/paper.nix index 2a4c6e4..8ae67e3 100644 --- a/config/home-manager/programs/hypr/paper.nix +++ b/config/home-manager/programs/hypr/paper.nix @@ -1,6 +1,6 @@ { lib, - config, + osConfig, inputs, pkgs, ... @@ -10,11 +10,11 @@ package = inputs.hyprpaper.packages.${pkgs.system}.default; settings = { - preload = ["${config.local.style.wallpaper}"]; - wallpaper = [", ${config.local.style.wallpaper}"]; + preload = ["${osConfig.local.style.wallpaper}"]; + wallpaper = [", ${osConfig.local.style.wallpaper}"]; }; }; systemd.user.services.hyprpaper.Unit.After = lib.mkForce "graphical-session.target"; - systemd.user.services.hyprpaper.Unit.Slice = "background-graphical.slice"; + systemd.user.services.hyprpaper.Service.Slice = "background-graphical.slice"; } diff --git a/flake.lock b/flake.lock index 8d632ef..340d90e 100644 --- a/flake.lock +++ b/flake.lock @@ -506,6 +506,35 @@ "type": "github" } }, + "hyprgraphics_3": { + "inputs": { + "hyprutils": [ + "hyprpaper", + "hyprutils" + ], + "nixpkgs": [ + "hyprpaper", + "nixpkgs" + ], + "systems": [ + "hyprpaper", + "systems" + ] + }, + "locked": { + "lastModified": 1734906236, + "narHash": "sha256-vH/ysV2ONGQgYZPtcJKwc8jJivzyVxru2aaOxC20ZOE=", + "owner": "hyprwm", + "repo": "hyprgraphics", + "rev": "6dea3fba08fd704dd624b6d4b261638fb4003c9c", + "type": "github" + }, + "original": { + "owner": "hyprwm", + "repo": "hyprgraphics", + "type": "github" + } + }, "hypridle": { "inputs": { "hyprlang": [ @@ -707,6 +736,41 @@ "type": "github" } }, + "hyprpaper": { + "inputs": { + "hyprgraphics": "hyprgraphics_3", + "hyprlang": [ + "hyprland", + "hyprlang" + ], + "hyprutils": [ + "hyprland", + "hyprutils" + ], + "hyprwayland-scanner": "hyprwayland-scanner_2", + "nixpkgs": [ + "hyprland", + "nixpkgs" + ], + "systems": [ + "hyprland", + "systems" + ] + }, + "locked": { + "lastModified": 1734906298, + "narHash": "sha256-L0zaWJi2wS/kgdY1WOM8xJuiXDBDh1TMMKLRcmy5ycs=", + "owner": "hyprwm", + "repo": "hyprpaper", + "rev": "2f305d5f480c12882578e74498301129705a1bb5", + "type": "github" + }, + "original": { + "owner": "hyprwm", + "repo": "hyprpaper", + "type": "github" + } + }, "hyprutils": { "inputs": { "nixpkgs": [ @@ -782,6 +846,31 @@ "type": "github" } }, + "hyprwayland-scanner_2": { + "inputs": { + "nixpkgs": [ + "hyprpaper", + "nixpkgs" + ], + "systems": [ + "hyprpaper", + "systems" + ] + }, + "locked": { + "lastModified": 1734793513, + "narHash": "sha256-rrrHcXapXJvGFqX+L/Bb0182L25jofAZ0fm1FInvrTQ=", + "owner": "hyprwm", + "repo": "hyprwayland-scanner", + "rev": "4d7367b6eee87397e2dbca2e78078dd0a4ef4c61", + "type": "github" + }, + "original": { + "owner": "hyprwm", + "repo": "hyprwayland-scanner", + "type": "github" + } + }, "hyprwm-contrib": { "inputs": { "nixpkgs": [ @@ -3370,6 +3459,7 @@ "hyprland": "hyprland", "hyprland-qtutils": "hyprland-qtutils_2", "hyprlock": "hyprlock", + "hyprpaper": "hyprpaper", "hyprwm-contrib": "hyprwm-contrib", "lanzaboote": "lanzaboote", "niri": "niri", diff --git a/flake.nix b/flake.nix index 3b38811..295ea42 100644 --- a/flake.nix +++ b/flake.nix @@ -80,6 +80,15 @@ systems.follows = "hyprland/systems"; }; }; + hyprpaper = { + url = "github:hyprwm/hyprpaper"; + inputs = { + hyprlang.follows = "hyprland/hyprlang"; + hyprutils.follows = "hyprland/hyprutils"; + nixpkgs.follows = "hyprland/nixpkgs"; + systems.follows = "hyprland/systems"; + }; + }; hyprwm-contrib = { url = "github:hyprwm/contrib"; inputs.nixpkgs.follows = "nixpkgs";