ark/users/modules/settings/default.nix
2023-03-24 15:10:42 +03:00

33 lines
480 B
Nix

{
config,
lib,
...
}: let
l = lib // builtins;
t = l.types;
cfg = config.settings;
in {
options = {
settings.iconTheme = {
name = l.mkOption {
type = t.str;
};
package = l.mkOption {
type = t.package;
};
};
settings.terminal = {
name = l.mkOption {
type = t.str;
};
binary = l.mkOption {
type = t.path;
};
};
};
config = {
gtk.iconTheme = cfg.iconTheme;
};
}