2024-11-16 05:32:51 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
config,
|
|
|
|
pkgs,
|
2025-03-02 18:41:56 +00:00
|
|
|
system,
|
2024-11-16 05:32:51 +00:00
|
|
|
...
|
2025-01-07 04:44:48 +00:00
|
|
|
}: let
|
2025-03-02 18:41:56 +00:00
|
|
|
inherit (lib.snowfall.system) is-darwin;
|
|
|
|
|
2024-11-17 06:34:40 +00:00
|
|
|
cfg = config.marleyos.appearance.base;
|
2024-11-17 07:36:51 +00:00
|
|
|
inherit (config.marleyos) isDesktop;
|
2025-01-07 04:44:48 +00:00
|
|
|
in {
|
2025-01-14 05:05:10 +00:00
|
|
|
options.marleyos.appearance.base.enable = lib.mkEnableOption "base";
|
2024-11-16 05:32:51 +00:00
|
|
|
|
2025-01-14 05:05:10 +00:00
|
|
|
config = lib.mkIf cfg.enable {
|
2025-01-12 17:44:58 +00:00
|
|
|
marleyos = {
|
|
|
|
apps = {
|
|
|
|
pinentry =
|
|
|
|
if isDesktop
|
|
|
|
then pkgs.pinentry-gtk2
|
|
|
|
else pkgs.pinentry-curses;
|
2024-11-16 05:32:51 +00:00
|
|
|
};
|
|
|
|
};
|
2025-03-02 18:41:56 +00:00
|
|
|
|
|
|
|
stylix = {
|
|
|
|
iconTheme = {
|
|
|
|
package = pkgs.kora-icon-theme;
|
2025-03-02 18:54:23 +00:00
|
|
|
dark = "kora";
|
|
|
|
light = "kora-light-panel";
|
2025-03-02 18:41:56 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
fonts.sizes.terminal = lib.mkIf (is-darwin system) 14;
|
|
|
|
};
|
2025-03-02 18:54:23 +00:00
|
|
|
|
|
|
|
home.packages = with pkgs; [
|
|
|
|
kora-icon-theme
|
|
|
|
];
|
2024-11-16 05:32:51 +00:00
|
|
|
};
|
|
|
|
}
|