Skip to content

Commit

Permalink
Merge pull request #4 from Bloeckchengrafik/main
Browse files Browse the repository at this point in the history
docs: add nixos instructions
  • Loading branch information
codelif authored Jul 3, 2024
2 parents 282de1e + ec7d963 commit a3df5e6
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,33 @@ To get hyprnotify you can either download the binary build by github actions. Or
```sh
yay -S hyprnotify
```

### NixOS
`hyprnotify` is available on NixOS unstable.
It is quite simple to add:
1. Add the unstable tarball:
```nix
let
unstableTarball =
fetchTarball
https://github.com/NixOS/nixpkgs/archive/nixos-unstable.tar.gz;
in
# ...
```

2. Add an overlay to use unstable packages
```nix
nixpkgs.config = {
packageOverrides = pkgs: {
unstable = import unstableTarball {
config = config.nixpkgs.config;
};
};
};
```

3. Add `unstable.hyprnotify` to your `environment.systemPackages`

### Other Linux Distributions
You can download the release binaries directly from the [releases](https://github.com/codelif/hyprnotify/releases) page.

Expand Down

0 comments on commit a3df5e6

Please sign in to comment.