Installation with Flakes
Add to flake.nix
Add Better Blur DX as an input to your
flake.nix:flake.nix
The
inputs.nixpkgs.follows = "nixpkgs" line ensures Better Blur DX uses the same nixpkgs version as your system, preventing duplicate dependencies.Add to System Packages
Reference the flake input in your system configuration:
- Wayland (Recommended)
- X11
- Both
configuration.nix
Complete Example
Here’s a complete example showing the flake structure:flake.nix
configuration.nix
Updating
To update to the latest version of Better Blur DX:System Upgrades
Home Manager Integration
You can also install Better Blur DX through Home Manager:home.nix
Pinning a Specific Version
To pin a specific commit or version:flake.nix
COMMIT_HASH with the desired Git commit hash or tag.
Troubleshooting
If you encounter issues:-
Effect not loading: Verify the package is in your system:
-
Build failures: Try updating nixpkgs:
-
Version mismatch: Ensure the flake follows your nixpkgs:
-
Check build logs: View the build output: