ark/users/modules/settings/default.nix

33 lines
480 B
Nix
Raw Normal View History

2022-07-01 04:45:26 +03:00
{
config,
2022-09-12 03:32:23 +03:00
lib,
2022-07-01 04:45:26 +03:00
...
}: let
2022-10-04 02:08:44 +03:00
l = lib // builtins;
t = l.types;
2022-09-12 03:32:23 +03:00
cfg = config.settings;
in {
options = {
2022-10-04 02:08:44 +03:00
settings.iconTheme = {
name = l.mkOption {
type = t.str;
};
package = l.mkOption {
type = t.package;
};
};
2022-09-12 03:32:23 +03:00
settings.terminal = {
2022-10-04 02:08:44 +03:00
name = l.mkOption {
type = t.str;
2022-09-12 03:32:23 +03:00
};
2022-11-27 01:04:43 +03:00
binary = l.mkOption {
type = t.path;
};
2022-09-12 03:32:23 +03:00
};
};
2022-07-01 04:45:26 +03:00
2022-10-22 01:49:09 +03:00
config = {
2023-03-24 15:10:42 +03:00
gtk.iconTheme = cfg.iconTheme;
2022-09-12 03:32:23 +03:00
};
}