Migrated from nix-colors to stylix

This commit is contained in:
2024-12-25 23:55:11 +01:00
parent 030cbad2ca
commit 747c00129b
9 changed files with 543 additions and 232 deletions

View 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;
};
}