nix/modules/home/theming/stylix.nix

39 lines
762 B
Nix
Raw Normal View History

2024-12-25 23:55:11 +01:00
{ config, lib, inputs, pkgs, ... }:
with lib;
let
cfg = config.settings.theming.stylix;
in {
options = {
settings.theming.stylix.enable = lib.mkOption {
type = lib.types.bool;
description = ''
Enable stylix configuration
'';
};
};
imports = [
inputs.stylix.homeManagerModules.stylix
];
config = mkIf cfg.enable {
stylix.enable = true;
stylix.image = ../../../assets/wallpaper-2.png;
stylix.polarity = "dark";
stylix.base16Scheme = "${pkgs.base16-schemes}/share/themes/da-one-ocean.yaml";
stylix.autoEnable = true;
stylix.cursor = {
package = pkgs.phinger-cursors;
name = "phinger-cursors-dark";
size = 24;
};
stylix.fonts.sizes.applications = 10;
};
}