Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stylix no longer functional after update #417

Closed
ArtemChandragupta opened this issue Jun 10, 2024 · 2 comments
Closed

Stylix no longer functional after update #417

ArtemChandragupta opened this issue Jun 10, 2024 · 2 comments

Comments

@ArtemChandragupta
Copy link

ArtemChandragupta commented Jun 10, 2024

Hi. I use Stylix mainly to set a GTK theme, because default gruvbox-gtk is full of bugs. So autoEnable = false in both NixOS and Home Manager modules.

Now, after updating, Stylix deleted some packages:

swappy-20240610_130433

After that my cursor changed to default.

This is my Home Manager module
{ pkgs, ... }: {
  stylix = {
    polarity = "dark";
    base16Scheme = {
      base00 = "282828";
      base01 = "1d2021";
      base02 = "504945";
      base03 = "665c54";
      base04 = "bdae93";
      base05 = "d5c4a1";
      base06 = "ebdbb2";
      base07 = "fbf1c7";
      base08 = "fb4934";
      base09 = "fe8019";
      base0A = "458588";
      base0B = "b8bb26";
      base0C = "8ec07c";
      base0D = "83a598";
      base0E = "d3869b";
      base0F = "d65d0e";
    };
    targets.gtk.enable = true;

    cursor = {
      package = pkgs.bibata-cursors;
      name = "Bibata-Original-Classic";
      size = 24;
    };

    fonts = {
      sizes = {
        applications = 12;
        terminal = 12;
        desktop = 12;
        popups = 12;
      };
    };
  };

  gtk = {
    enable = true;
    iconTheme = {
      name = "Mint-Y-Sand";
      package = pkgs.cinnamon.mint-y-icons;
    };
  };
}
This is my NixOS module
{ pkgs, ...}: {
  stylix = {
    autoEnable = false;
    image = ../../home-modules/./hyprland/hyprlock/blue.png;
  };
}

Can you say what has changed and what I should do?

@ArtemChandragupta ArtemChandragupta changed the title Stylix update dexided to ignore my cursor theme Stylix update desided to ignore my cursor theme Jun 10, 2024
@trueNAHO
Copy link
Collaborator

You probably need to add stylix.enable = true;: 7682713.

@ArtemChandragupta
Copy link
Author

Yes, this is the answer. Thanks!

@danth danth changed the title Stylix update desided to ignore my cursor theme Stylix no longer functional after update Jun 10, 2024
@danth danth pinned this issue Jun 10, 2024
jfvillablanca added a commit to jfvillablanca/nixos-dot that referenced this issue Aug 26, 2024
- stylix is now disabled by default
- danth/stylix#417
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants