diff --git a/hosts/vamos/modules/theme.nix b/hosts/vamos/modules/theme.nix index 3576304..79c955f 100644 --- a/hosts/vamos/modules/theme.nix +++ b/hosts/vamos/modules/theme.nix @@ -1,5 +1,6 @@ {pkgs, ...}: { theme = { + enable = true; wallpaper = pkgs.fetchurl { url = "https://raw.githubusercontent.com/NixOS/nixos-artwork/e0cf0eb237dc5baba86661a3572b20a6183c1876/wallpapers/nix-wallpaper-nineish-catppuccin-frappe.png?raw=true"; hash = "sha256-/HAtpGwLxjNfJvX5/4YZfM8jPNStaM3gisK8+ImRmQ4="; diff --git a/modules/theme/default.nix b/modules/theme/default.nix index 802b758..56da004 100644 --- a/modules/theme/default.nix +++ b/modules/theme/default.nix @@ -3,11 +3,12 @@ pkgs, ... }: let - inherit (lib) mkOption; + inherit (lib) mkEnableOption mkOption; inherit (lib.types) string path package; in { imports = [./gtk.nix]; options.theme = { + enable = mkEnableOption "theme"; scheme = mkOption { description = '' Name of the tinted-scheming color scheme to use.