Skip to content

Installation

Nix

IXpect can be installed as a nix module.

Usage

{
  inputs = {
    nixpkgs.url = "github:nixos/nixpkgs/nixos-24.11";
    ifstate = {
      url = "git+https://codeberg.org/ixpect/ixpect";
      inputs.nixpkgs.follows = "nixpkgs";
    };
  };

  outputs = { self, nixpkgs, ifstate, ... }: {
    nixosConfigurations = {
      hostname = nixpkgs.lib.nixosSystem {
        modules = [
          ifstate.nixosModules.default
        ];
      };
    };
  };
}