Samuel Shuert | 504b0fd | 2024-02-11 14:39:15 -0500 | [diff] [blame] | 1 | { inputs, flakeRoot, system, ... }: let |
2 | wallpaper = "${flakeRoot}/extensions/hyprpaper/wallpaper.png"; | ||||
3 | in { | ||||
4 | home-manager.users.coded.home = { | ||||
5 | packages = [ | ||||
6 | inputs.nixpkgs-unstable.legacyPackages.${system}.hyprpaper | ||||
7 | ]; | ||||
8 | |||||
9 | file.".config/hypr/hyprpaper.conf".text = '' | ||||
10 | preload = ${wallpaper} | ||||
11 | |||||
12 | wallpaper=,${wallpaper} | ||||
13 | |||||
14 | splash = true | ||||
15 | splash_offset = -0.5 | ||||
16 | ''; | ||||
17 | }; | ||||
18 | } |