Getting started with Stylix and KDE Plasma 5 #389
-
Hello stylix community, My Nix configuration uses KDE Plasma 5, and I want to use stylix for obvious reasons. So I included stylix how it is described in vimjoyers Video. # flake.nix
{
# ...
inputs = {
# ...
stylix = {
url = "github:danth/stylix";
inputs.nixpkgs.follows = "nixpkgs";
inputs.home-manager.follows = "home-manager";
};
};
outputs = { self, nixpkgs, ... }@inputs: {
nixosConfigurations.default = nixpkgs.lib.nixosSystem {
specialArgs = {inherit inputs;};
modules = [
# ...
inputs.stylix.nixosModules.stylix
];
};
# ...
};
} # configuration.nix
# ...
stylix = {
base16Scheme = "${pkgs.base16-schemes}/share/themes/still-alive.yaml";
image = ./images/nms.jpg;
polarity = "dark";
cursor.size = 100;
autoEnable = true;
opacity = {
desktop = 0.5;
};
};
# ... Even though I have set it all and rebuild switch works without errors, nothing changes in my setup (even after a logout). In the Readme it also says "some manual steps may be needed" to make stylix work on KDE. What would be these steps? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Firstly, check that |
Beta Was this translation helpful? Give feedback.
-
I solved my problem, that was the error I got:
Just as the error says make sure to set |
Beta Was this translation helpful? Give feedback.
Firstly, check that
home-manager-《username》.service
finished successfully. If it didn't, remove any conflicting files and try to restart it.