refactor: change custom wallpaper engine module to homemanger option
This commit is contained in:
parent
f7409e0537
commit
dc8f796e18
4 changed files with 93 additions and 220 deletions
|
|
@ -1,26 +0,0 @@
|
|||
# Work pretty good on ONE monitor
|
||||
{
|
||||
config,
|
||||
...
|
||||
}:
|
||||
{ lib, ... }:
|
||||
let
|
||||
wallpaper = "3029865244";
|
||||
assetsDir = "/mnt/windows/Users/danny/scoop/apps/steam/current/steamapps/common/wallpaper_engine/assets";
|
||||
contentDir = "/mnt/windows/Users/danny/scoop/apps/steam/current/steamapps/workshop/content/431960";
|
||||
in
|
||||
{
|
||||
imports = [ ../extra/wallpaper-engine.nix ];
|
||||
services.wallpaperEngine = {
|
||||
enable = true;
|
||||
assetsDir = assetsDir;
|
||||
contentDir = contentDir;
|
||||
extraPrefix = lib.mkIf config.hardware.nvidia.prime.offload.enableOffloadCmd "nvidia-offload";
|
||||
fps = 30;
|
||||
monitors = {
|
||||
"DP-3" = {
|
||||
bg = wallpaper;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue