mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-22 00:21:34 +01:00
14 lines
343 B
Nix
14 lines
343 B
Nix
{ config, lib, ... }:
|
|
{
|
|
options.custom.services.hyprpaper.enable = lib.mkEnableOption "";
|
|
|
|
config = lib.mkIf config.custom.services.hyprpaper.enable {
|
|
services.hyprpaper = {
|
|
enable = true;
|
|
settings = {
|
|
preload = [ "~/Pictures/.wallpaper" ];
|
|
wallpaper = [ ", ~/Pictures/.wallpaper" ];
|
|
};
|
|
};
|
|
};
|
|
}
|