nix/config/Wallpaper.nix

19 lines
431 B
Nix
Raw Normal View History

2024-06-30 00:20:19 +03:00
{ pkgs, lib, ... }: with lib; let
2024-08-20 16:16:59 +03:00
url = "https://i.imgur.com/yBQicIG.jpeg";
sha256 = "1j1s5vfidsqja5vsa3i8is8z5r3vh2dqsvfzpra8gdzah7hkz2sk";
2024-06-25 04:04:39 +03:00
forceContrastText = false;
in {
options = {
module.wallpaper = {
2024-06-25 04:04:39 +03:00
forceContrastText = mkOption {
default = forceContrastText;
type = types.bool;
};
path = mkOption {
default = pkgs.fetchurl { inherit url sha256; };
type = types.path;
};
};
};
}