fix stylix colors do not apply
This commit is contained in:
parent
5b82205e63
commit
7e6ff4bc48
1 changed files with 5 additions and 4 deletions
|
|
@ -111,8 +111,6 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
programs.nova-shell.theme = lib.mkIf stylixAvailable (lib.mkDefault stylixTheme);
|
|
||||||
|
|
||||||
home.packages =
|
home.packages =
|
||||||
[
|
[
|
||||||
self.packages.${pkgs.stdenv.hostPlatform.system}.nova-shell-cli
|
self.packages.${pkgs.stdenv.hostPlatform.system}.nova-shell-cli
|
||||||
|
|
@ -124,8 +122,11 @@ in
|
||||||
(pkgs.formats.json { }).generate "nova-shell-modules.json" cfg.modules;
|
(pkgs.formats.json { }).generate "nova-shell-modules.json" cfg.modules;
|
||||||
|
|
||||||
xdg.configFile."nova-shell/theme.json".source =
|
xdg.configFile."nova-shell/theme.json".source =
|
||||||
(pkgs.formats.json { }).generate "nova-shell-theme.json"
|
let
|
||||||
cfg.theme;
|
stylixDefaults = if stylixAvailable then stylixTheme else { };
|
||||||
|
finalTheme = lib.recursiveUpdate stylixDefaults cfg.theme;
|
||||||
|
in
|
||||||
|
(pkgs.formats.json { }).generate "nova-shell-theme.json" finalTheme;
|
||||||
|
|
||||||
systemd.user.services.nova-shell = lib.mkIf cfg.systemd.enable {
|
systemd.user.services.nova-shell = lib.mkIf cfg.systemd.enable {
|
||||||
Unit = {
|
Unit = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue