add nixos install instructions

This commit is contained in:
Troy 2025-01-14 12:48:25 +00:00
parent 28d59a4c7a
commit 22b9cf046c
Signed by: troy
GPG key ID: DFC06C02ED3B4711

View file

@ -8,6 +8,24 @@
This is my first attempt at making something with Rust so that I may learn alongside creating something that I personally find useful. This is my first attempt at making something with Rust so that I may learn alongside creating something that I personally find useful.
## Installation
On NixOS you can install Packard by including it as an input in flake.nix, then adding it to your system packages.
```nix
inputs = {
packard.url = "github:troylusty/packard";
};
```
```nix
environment.systemPackages = {
inputs.packard.packages."${pkgs.system}".default
};
```
Alternatively, [the latest release](https://github.com/troylusty/packard/releases/latest) binary is available.
## Configuration ## Configuration
There are now several options available to be configured, with more on their way. As of now Packard's config file should be placed within `$HOME/.config/packard` and formatted in TOML. There are now several options available to be configured, with more on their way. As of now Packard's config file should be placed within `$HOME/.config/packard` and formatted in TOML.