From 077bc873193fd49eba90182eea6e268535b653c7 Mon Sep 17 00:00:00 2001 From: Aylur Date: Thu, 26 Dec 2024 01:23:04 +0100 Subject: docs: how to install on nix --- docs/guide/getting-started/nix.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'docs/guide') diff --git a/docs/guide/getting-started/nix.md b/docs/guide/getting-started/nix.md index 6bc5d9b..4ebc337 100644 --- a/docs/guide/getting-started/nix.md +++ b/docs/guide/getting-started/nix.md @@ -5,7 +5,19 @@ next: --- # Nix -Using Astal on Nix will require you to package your project. +Using Astal on Nix will require you to write a derivation for your project. +You can either copy and build off of these example flakes or you can +incorporate the derivations into your existing flake/configuration. + +## Q: "How do I install Astal on Nix?" + +:::details See answer +A: You don't. + +You can't install libraries globally on Nix as you would with regular +package managers like `pacman`, `dnf` or `apt`. You have to write a +derivation for your projects like you would for any other program. +::: ## TypeScript -- cgit v1.2.3