marleyos/modules/home/appearance/base/default.nix
punkfairie 83de2f8264
fix: Finally fix homeManager/darwin outputs
I forgot to add new modules to darwin/homeManager outputs oops
2025-03-20 19:11:19 -07:00

42 lines
818 B
Nix

{
lib,
config,
pkgs,
system,
inputs,
...
}: let
inherit (lib.snowfall.system) is-darwin;
cfg = config.marleyos.appearance.base;
inherit (config.marleyos) isDesktop;
in {
options.marleyos.appearance.base.enable = lib.mkEnableOption "base";
config = lib.mkIf cfg.enable {
marleyos = {
apps = {
pinentry =
if isDesktop
then pkgs.pinentry-gtk2
else pkgs.pinentry-curses;
};
};
stylix =
{
iconTheme = {
package = pkgs.kora-icon-theme;
dark = "kora";
light = "kora-light-panel";
};
fonts.sizes.terminal = lib.mkIf (is-darwin system) 14;
}
// import "${inputs.self}/stylix.nix" {inherit pkgs;};
home.packages = with pkgs; [
kora-icon-theme
];
};
}