NixOS
Nix Flakes
Section titled “Nix Flakes”To install Noctalia using flakes, you first need to add the flake input and then install the package.
Adding the Flake input
Section titled “Adding the Flake input”Add Noctalia to your flake inputs:
{ inputs = { noctalia = { url = "github:noctalia-dev/noctalia-shell/v5"; inputs.nixpkgs.follows = "nixpkgs"; }; };}Installing the Package
Section titled “Installing the Package”Add the package to your system packages or equivalent:
{ inputs, pkgs, ... }:{ environment.systemPackages = [ inputs.noctalia.packages.${pkgs.stdenv.hostPlatform.system}.default ];}Binary Cache
Section titled “Binary Cache”Pre-built binaries are available on Cachix, so you can skip compiling locally.
You can add the cache either to your flake, nixos configuration, or /etc/nix/nix.conf.
nixConfig = { extra-substituters = [ "https://noctalia.cachix.org" ]; extra-trusted-public-keys = [ "noctalia.cachix.org-1:pCOR47nnMEo5thcxNDtzWpOxNFQsBRglJzxWPp3dkU4=" ];};nix.settings = { extra-substituters = [ "https://noctalia.cachix.org" ]; extra-trusted-public-keys = [ "noctalia.cachix.org-1:pCOR47nnMEo5thcxNDtzWpOxNFQsBRglJzxWPp3dkU4=" ];};extra-substituters = https://noctalia.cachix.orgextra-trusted-public-keys = noctalia.cachix.org-1:pCOR47nnMEo5thcxNDtzWpOxNFQsBRglJzxWPp3dkU4=