config.nix/modules/desktop/wallpaper.nix
martyTF 5fa40025d0 we just gettin started
just a few more modules, like bitwarden, syncthing, screenshots
2025-12-20 05:59:46 +01:00

22 lines
284 B
Nix

{
config,
pkgs,
inputs,
lib,
...
}:
{
options = {
desktop = {
wallpaper.enable = lib.mkEnableOption "enable wallpapers";
};
};
config = lib.mkIf config.desktop.wallpaper.enable {
home.packages = with pkgs; [
waypaper
swww
];
};
}