Closed Ladas552 closed 1 month ago
I don't have Hyprland as enabled in Home-manager or installed in packages. And if I try to disable hyperpaper with
home-manager.users.user.stylix.targets.hyprpaper.enable = false;
I get the error:error: The option `home-manager.users.ladas552.stylix.targets.hyprpaper.enable' has conflicting definition values: - In `/nix/store/nbcyd1kbx2w64g4qniz4jmss6x19q2f1-modules/hyprland/hm.nix': true - In `/nix/store/r76nm72pmhqgyywnvg4i9s4wrv326qq5-source/nixos/desktop/stilyx': false Use `lib.mkForce value` or `lib.mkDefault value` to change the priority on any of these definitions.
I don't think /nix/store/r76nm72pmhqgyywnvg4i9s4wrv326qq5-source/nixos/desktop/stilyx
comes from Stylix.
As if hyprpaper is enabled by default. The work around is disabling the hyperland target all together with
home-manager.users.user.stylix.targets.hyprland.enable = false;
.
https://github.com/danth/stylix/pull/501 should resolve this.
Actually, this is being worked on in Nixpkgs: https://github.com/NixOS/nixpkgs/pull/338841.
stylix.targets.hyprland.enable
defaults to true
:
Which enables Hyprpaper:
This is incorrect - although the build failure is being fixed upstream, we shouldn't be installing Hyprpaper for Stylix users which aren't on Hyprland.
Hyperpaper is failing to build on nixpkgs-unstable I use Stylix NixOS module with stylix.homeManagerIntegration.autoImport and stylix.homeManagerIntegration.followSystem to also theme my Home-Manager that is a module in my NixOS
I don't have Hyprland as enabled in Home-manager or installed in packages. And if I try to disable hyperpaper with
home-manager.users.user.stylix.targets.hyprpaper.enable = false;
I get the error:As if hyprpaper is enabled by default. The work around is disabling the hyperland target all together with
home-manager.users.user.stylix.targets.hyprland.enable = false;
.Here is a build crash log of hyprpaper: