Migrated from nix-colors to stylix
This commit is contained in:
38
modules/home/theming/stylix.nix
Normal file
38
modules/home/theming/stylix.nix
Normal file
@@ -0,0 +1,38 @@
|
||||
{ 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;
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user