parts.nix.md

parts.nix

FlakeFlake inputs and outputs are understood here, with flake-aware hovers and completion.
{ inputs, ... }: {
  imports = [
    # adds home-manager options to flake-parts
    inputs.home-manager.flakeModules.home-manager
  ];

  systems = [
    "x86_64-linux"
    "aarch64-linux"
    "x86_64-darwin"
    "aarch64-darwin"
  ];
}

This file configures flake-parts. It imports the home-manager flake-parts module, allowing you to create home systems and home modules, and also defines systems supported by your flake.

Share your thoughts