mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 14:01:34 +01:00
Replace hyprpaper with wpaperd
This commit is contained in:
parent
419d0bac87
commit
a401c0f4cf
2 changed files with 15 additions and 1 deletions
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
custom = {
|
||||
services = {
|
||||
hyprpaper.enable = true;
|
||||
wpaperd.enable = true;
|
||||
hypridle.enable = true;
|
||||
waybar.enable = true;
|
||||
cliphist.enable = true;
|
||||
|
|
|
|||
14
modules/home/services/wpaperd.nix
Normal file
14
modules/home/services/wpaperd.nix
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{ config, lib, ... }:
|
||||
{
|
||||
options.custom.services.wpaperd.enable = lib.mkEnableOption "";
|
||||
|
||||
config = lib.mkIf config.custom.services.wpaperd.enable {
|
||||
services.wpaperd = {
|
||||
enable = true;
|
||||
settings.default = {
|
||||
path = "${config.xdg.userDirs.pictures}/Wallpapers";
|
||||
duration = "30m";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue