Moved common home-manager config to shared/home-manager

This commit is contained in:
2025-04-12 23:29:10 +02:00
parent 0649473709
commit a0537f5634
72 changed files with 104 additions and 6716 deletions

View File

@ -0,0 +1,35 @@
# Wallpapers
{
pkgs,
common,
theme,
...
}:
{
home.packages = with pkgs; [ hyprpaper ];
services.hyprpaper = {
enable = true;
settings =
let
monitor1 = builtins.toString theme.wallpaper.monitor1;
monitor2 = builtins.toString theme.wallpaper.monitor2;
in
{
ipc = "on";
splash = false;
splash_offset = 2.0;
preload = [
monitor1
monitor2
];
wallpaper = [
"${common.monitor1},${monitor1}"
"${common.monitor2},${monitor2}"
];
};
};
}