This is a flake to install Nook Desktop on systems using the Nix package manager.
nix run github:sammypanda/nixos-nook-desktop
nix run github:sammypanda/nixos-nook-desktop --extra-experimental-features flakes --extra-experimental-features nix-command
Add the following in your flake inputs:
{
inputs = {
# the rest of your inputs here
nook-desktop = {
url = "github:sammypanda/nixos-nook-desktop";
inputs.nixpkgs.follows = "nixpkgs";
}
};
# ...
...and in outputs you can overlay and add to system or user packages as pkgs.nook-desktop
. Or instead just add nook-desktop.packages.YOURPLATFORM.default
to system or user packages without overlaying.
# ...
outputs = { nook-desktop, ... } @ inputs:
let
pkgs = import nixpkgs {
overlays = [self.overlays.default];
}
in {
overlays.default = final: prev: {
nook-desktop = inputs.nook-desktop.packages.YOURPLATFORM.default;
# OR
# nook-desktop = inputs.nook-desktop.packages."${system}".default;
}
}
# ...
}