wallpapers
This commit is contained in:
parent
4280614fe8
commit
3055adfe61
5 changed files with 26 additions and 0 deletions
|
|
@ -10,5 +10,6 @@
|
|||
./hyprland.nix
|
||||
./walker.nix
|
||||
./waybar.nix
|
||||
./wallpaper.nix
|
||||
];
|
||||
}
|
||||
|
|
|
|||
22
modules/window_manager/wallpaper.nix
Normal file
22
modules/window_manager/wallpaper.nix
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
inputs,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
options = {
|
||||
window_manager = {
|
||||
wallpaper.enable = lib.mkEnableOption "enable wallpapers";
|
||||
};
|
||||
};
|
||||
|
||||
config = lib.mkIf config.window_manager.wallpaper.enable {
|
||||
home.packages = with pkgs; [
|
||||
waypaper
|
||||
swww
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue