1
0
mirror of https://github.com/Andrey0189/nixos-config-reborn.git synced 2025-09-15 10:06:00 +03:00

declarative hyprpaper

This commit is contained in:
andrey_varnavskiy
2024-12-10 05:08:09 +05:00
parent 66eaf0fe36
commit 0b554c5e8b
2 changed files with 18 additions and 1 deletions

View File

@@ -1,8 +1,9 @@
{ {
imports = [ imports = [
./binds.nix ./binds.nix
./hyprlock.nix
./hypridle.nix ./hypridle.nix
./hyprlock.nix
./hyprpaper.nix
./main.nix ./main.nix
]; ];
} }

View File

@@ -0,0 +1,16 @@
{
home.file.".config/wallpaper.png" = {
source = builtins.fetchurl {
url = "https://codeberg.org/lunik1/nixos-logo-gruvbox-wallpaper/raw/branch/master/png/gruvbox-dark-rainbow.png";
sha256 = "036gqhbf6s5ddgvfbgn6iqbzgizssyf7820m5815b2gd748jw8zc";
};
};
services.hyprpaper = {
enable = true;
settings = {
preload = [ "~/.config/wallpaper.png" ];
wallpaper = [ ",~/.config/wallpaper.png" ];
};
};
}