cityseventeen: rename and make tokyo night
This commit is contained in:
parent
6004b4eac5
commit
0d7aa6843b
36 changed files with 394 additions and 438 deletions
|
@ -5,13 +5,22 @@
|
|||
}:
|
||||
let
|
||||
cfg = config.alqueva.system.dconf;
|
||||
inherit (lib) types;
|
||||
inherit (lib.options) mkEnableOption mkOption;
|
||||
inherit (lib.types)
|
||||
str
|
||||
enum
|
||||
attrs
|
||||
listOf
|
||||
ints
|
||||
package
|
||||
;
|
||||
inherit (lib.modules) mkIf;
|
||||
in
|
||||
{
|
||||
options.alqueva.system.dconf = {
|
||||
enable = lib.mkEnableOption "configuration with DConf";
|
||||
luminosity = lib.mkOption {
|
||||
type = types.enum [
|
||||
enable = mkEnableOption "configuration with DConf";
|
||||
luminosity = mkOption {
|
||||
type = enum [
|
||||
"dark"
|
||||
"light"
|
||||
"default"
|
||||
|
@ -20,36 +29,36 @@ in
|
|||
description = "The luminosity you want to use for GTK.";
|
||||
apply = lum: if lum == "default" then lum else "prefer-${lum}";
|
||||
};
|
||||
theme = lib.mkOption {
|
||||
type = types.str;
|
||||
theme = mkOption {
|
||||
type = str;
|
||||
description = "The theme you want to use for GTK.";
|
||||
default = "";
|
||||
};
|
||||
icon.theme = lib.mkOption {
|
||||
type = types.str;
|
||||
icon.theme = mkOption {
|
||||
type = str;
|
||||
description = "The icon theme you want to use for GTK.";
|
||||
default = "";
|
||||
};
|
||||
cursor = {
|
||||
theme = lib.mkOption {
|
||||
type = types.str;
|
||||
theme = mkOption {
|
||||
type = str;
|
||||
description = "The cursor theme you want to use for GTK.";
|
||||
default = "";
|
||||
};
|
||||
size = lib.mkOption {
|
||||
type = types.ints.u32;
|
||||
size = mkOption {
|
||||
type = ints.u32;
|
||||
default = 24;
|
||||
description = "The cursor size you want to use for GTK.";
|
||||
apply = size: lib.gvariant.mkUint32 size;
|
||||
};
|
||||
};
|
||||
extraDconfPackages = lib.mkOption {
|
||||
type = types.listOf types.package;
|
||||
extraDconfPackages = mkOption {
|
||||
type = listOf package;
|
||||
description = "Extra packages to install for DConf.";
|
||||
default = [ ];
|
||||
};
|
||||
extraDconfSettings = lib.mkOption {
|
||||
type = types.attrsOf types.anything;
|
||||
extraDconfSettings = mkOption {
|
||||
type = attrs;
|
||||
description = "Extra settings you want to apply to DConf.";
|
||||
default = { };
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue