Modules/Color: Configure iconTheme and cursor using color module
This commit is contained in:
@ -50,10 +50,12 @@ in {
|
||||
|> builtins.concatStringsSep "\n")
|
||||
''echo ${lib.concatStrings (lib.replicate 20 "=")}''
|
||||
]);
|
||||
in [
|
||||
applyColors
|
||||
printNixColors
|
||||
];
|
||||
in
|
||||
[
|
||||
applyColors
|
||||
printNixColors
|
||||
]
|
||||
++ color.extraPackages;
|
||||
|
||||
# This module sets its own options to the values specified in a colorscheme file.
|
||||
modules.color = let
|
||||
|
||||
@ -50,6 +50,38 @@ in rec {
|
||||
default = "JetBrainsMono Nerd Font Mono";
|
||||
};
|
||||
|
||||
cursor = lib.mkOption {
|
||||
type = lib.types.str;
|
||||
description = "The cursor to use";
|
||||
example = "Bibata-Modern-Classic";
|
||||
default = "Bibata-Modern-Classic";
|
||||
};
|
||||
|
||||
cursorSize = lib.mkOption {
|
||||
type = lib.types.int;
|
||||
description = "The cursor size";
|
||||
example = 24;
|
||||
default = 24;
|
||||
};
|
||||
|
||||
iconTheme = lib.mkOption {
|
||||
type = lib.types.str;
|
||||
description = "The icon theme to use";
|
||||
example = "Papirus";
|
||||
default = "Papirus";
|
||||
};
|
||||
|
||||
extraPackages = lib.mkOption {
|
||||
type = lib.types.listOf lib.types.package;
|
||||
description = "Extra packages to install";
|
||||
example = ''
|
||||
[
|
||||
pkgs.bibata-cursors
|
||||
]
|
||||
'';
|
||||
default = [];
|
||||
};
|
||||
|
||||
# This option is set automatically
|
||||
wallpapers = let
|
||||
# Collect all the available wallpapers.
|
||||
|
||||
Reference in New Issue
Block a user