update Readme installation instructions for Nix

This commit is contained in:
Agahnim
2026-04-29 22:28:26 +02:00
committed by Agahnim
parent ae9c012040
commit 483e58dfd1

View File

@@ -82,10 +82,11 @@ npins add github Novattz creamlinux-installer --branch main
```nix ```nix
let let
sources = import ./npins; sources = import ./npins;
creamlinux = pkgs.callPackage sources.creamlinux-installer {};
in in
{ {
environment.systemPackages = [ creamlinux ]; environment.systemPackages = [
(pkgs.callPackage "${sources.creamlinux-installer}/default.nix" {})
];
} }
``` ```
Those are the recommended methods to add creamlinux-installer to your environment. However, you could also add it as an input of your flake, like so: Those are the recommended methods to add creamlinux-installer to your environment. However, you could also add it as an input of your flake, like so: