From ce60482fa10a18244dac207c7a2f59fd58927d41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Moritz=20B=C3=B6hme?= Date: Tue, 15 Feb 2022 14:01:28 +0100 Subject: [PATCH] Add installation instructions for NixOS --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index f0aef50..886781a 100755 --- a/README.md +++ b/README.md @@ -22,6 +22,16 @@ ``` yay -S sptlrx-bin ``` +- NixOS imperatively (via nix-env) +``` +nix-env -iA sptlrx +``` +- NixOS declaratively (via `/etc/nixos/configuration.nix`) +```nix +{ + enviroment.systemPackages = with pkgs; [ sptlrx ]; +} +``` - Other ``` curl -sSL instl.sh/raitonoberu/sptlrx/linux | sudo bash