mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-03-22 17:49:07 +01:00
This reverts commit 0c25e7fd34.
The slightly decreased evaluation time isn't worth the added maintenance burden
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" ];
|
|
};
|
|
};
|
|
};
|
|
}
|