feat: home-manager stylix

This commit is contained in:
punkfairie 2025-05-26 13:17:56 -07:00
parent 6ab38a390f
commit 540bd601e2
Signed by: punkfairie
GPG key ID: B3C5488E9A1A7CA6
3 changed files with 22 additions and 40 deletions

View file

@ -5,6 +5,7 @@
./options
./home-manager.nix
./stylix.nix
./system
./programs

21
modules/home/stylix.nix Normal file
View file

@ -0,0 +1,21 @@
{
lib,
pkgs,
...
}: {
config = {
stylix = {
iconTheme = {
package = pkgs.kora-icon-theme;
dark = "kora";
light = "kora-light-panel";
};
fonts.sizes.terminal = lib.mkIf pkgs.stdenv.isDarwin 14;
};
home.packages = with pkgs; [
kora-icon-theme
];
};
}

View file

@ -1,40 +0,0 @@
{
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;
};
home.packages = with pkgs; [
kora-icon-theme
];
};
}