Anthony Rodriguez
b808281674
Started moving HM config to the new local modules system. Conditionally toggling based on profiles and modules.
22 lines
558 B
Nix
22 lines
558 B
Nix
{
|
|
lib,
|
|
osConfig,
|
|
inputs,
|
|
pkgs,
|
|
...
|
|
}: {
|
|
config = lib.mkIf osConfig.local.modules.hyprland.enable {
|
|
services.hyprpaper = {
|
|
enable = true;
|
|
package = inputs.hyprpaper.packages.${pkgs.system}.default;
|
|
|
|
settings = {
|
|
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.Service.Slice = "background-graphical.slice";
|
|
};
|
|
}
|