Skip to content

NixOS

To install Noctalia using flakes, you first need to add the flake input and then install the package.

Add Noctalia to your flake inputs:

flake.nix
{
inputs = {
noctalia = {
url = "github:noctalia-dev/noctalia-shell/v5";
inputs.nixpkgs.follows = "nixpkgs";
};
};
}

Add the package to your system packages or equivalent:

configuration.nix
{ inputs, pkgs, ... }:
{
environment.systemPackages = [
inputs.noctalia.packages.${pkgs.stdenv.hostPlatform.system}.default
];
}

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=" ];
};