Skip to content

Commit a3df5e6

Browse files
authored
Merge pull request #4 from Bloeckchengrafik/main
docs: add nixos instructions
2 parents 282de1e + ec7d963 commit a3df5e6

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

README.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,33 @@ To get hyprnotify you can either download the binary build by github actions. Or
9393
```sh
9494
yay -S hyprnotify
9595
```
96+
97+
### NixOS
98+
`hyprnotify` is available on NixOS unstable.
99+
It is quite simple to add:
100+
1. Add the unstable tarball:
101+
```nix
102+
let
103+
unstableTarball =
104+
fetchTarball
105+
https://github.com/NixOS/nixpkgs/archive/nixos-unstable.tar.gz;
106+
in
107+
# ...
108+
```
109+
110+
2. Add an overlay to use unstable packages
111+
```nix
112+
nixpkgs.config = {
113+
packageOverrides = pkgs: {
114+
unstable = import unstableTarball {
115+
config = config.nixpkgs.config;
116+
};
117+
};
118+
};
119+
```
120+
121+
3. Add `unstable.hyprnotify` to your `environment.systemPackages`
122+
96123
### Other Linux Distributions
97124
You can download the release binaries directly from the [releases](https://github.com/codelif/hyprnotify/releases) page.
98125

0 commit comments

Comments
 (0)