Files
home-manager/tests/integration/standalone/alice-flake-init.nix
Austin Horstman 0a8d50edf2 docs/nix-flakes: clarify extraSpecialArgs usage
Explain when to use extraSpecialArgs versus _module.args in the flake setup guides, and keep the generated standalone fixture aligned with the updated template output.
2026-04-20 09:36:51 -05:00

31 lines
721 B
Nix

{
description = "Home Manager configuration of alice";
inputs = {
# Specify the source of Home Manager and Nixpkgs.
nixpkgs.url = "nixpkgs";
home-manager = {
url = "home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs =
inputs@{ nixpkgs, home-manager, ... }:
let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
in
{
homeConfigurations."alice" = home-manager.lib.homeManagerConfiguration {
inherit pkgs;
# Specify your home configuration modules here, for example,
# the path to your home.nix.
modules = [ ./home.nix ];
extraSpecialArgs = { inherit inputs; };
};
};
}