From c49f782e1182986566bd71006dfab287c1294e73 Mon Sep 17 00:00:00 2001 From: Sweetbread Date: Fri, 24 Apr 2026 22:43:33 +0300 Subject: [PATCH] Impreza: add wallpaper --- host/Impreza/modules/hyprland.nix | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 host/Impreza/modules/hyprland.nix diff --git a/host/Impreza/modules/hyprland.nix b/host/Impreza/modules/hyprland.nix new file mode 100644 index 0000000..4ab5c9f --- /dev/null +++ b/host/Impreza/modules/hyprland.nix @@ -0,0 +1,15 @@ +{ pkgs, lib, ... }: { + wayland.windowManager.hyprland = let + wallpaper = pkgs.fetchurl { + name = "miku_wallpaper.jpg"; + url = "https://c.lair.moe/pub/miku_wallpaper.jpeg?raw"; + hash = "sha256-inK4X5KzQk5FHwDw2DYy43nm7XtXlC6I0S1PkYUv+3w="; + }; + in { + settings = { + exec-once = [ + "${lib.getExe pkgs.swww} img -o eDP-1 ${wallpaper}" + ]; + }; + }; +} \ No newline at end of file