modules: add a theme enable option
This commit is contained in:
parent
64db2313b0
commit
8a225b4763
2 changed files with 3 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
||||||
{pkgs, ...}: {
|
{pkgs, ...}: {
|
||||||
theme = {
|
theme = {
|
||||||
|
enable = true;
|
||||||
wallpaper = pkgs.fetchurl {
|
wallpaper = pkgs.fetchurl {
|
||||||
url = "https://raw.githubusercontent.com/NixOS/nixos-artwork/e0cf0eb237dc5baba86661a3572b20a6183c1876/wallpapers/nix-wallpaper-nineish-catppuccin-frappe.png?raw=true";
|
url = "https://raw.githubusercontent.com/NixOS/nixos-artwork/e0cf0eb237dc5baba86661a3572b20a6183c1876/wallpapers/nix-wallpaper-nineish-catppuccin-frappe.png?raw=true";
|
||||||
hash = "sha256-/HAtpGwLxjNfJvX5/4YZfM8jPNStaM3gisK8+ImRmQ4=";
|
hash = "sha256-/HAtpGwLxjNfJvX5/4YZfM8jPNStaM3gisK8+ImRmQ4=";
|
||||||
|
|
|
@ -3,11 +3,12 @@
|
||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
inherit (lib) mkOption;
|
inherit (lib) mkEnableOption mkOption;
|
||||||
inherit (lib.types) string path package;
|
inherit (lib.types) string path package;
|
||||||
in {
|
in {
|
||||||
imports = [./gtk.nix];
|
imports = [./gtk.nix];
|
||||||
options.theme = {
|
options.theme = {
|
||||||
|
enable = mkEnableOption "theme";
|
||||||
scheme = mkOption {
|
scheme = mkOption {
|
||||||
description = ''
|
description = ''
|
||||||
Name of the tinted-scheming color scheme to use.
|
Name of the tinted-scheming color scheme to use.
|
||||||
|
|
Loading…
Reference in a new issue