Skip to content

feat(apply): pass NIXOS_GENERATION_TAG through if it is set#97

Merged
water-sucks merged 2 commits intonix-community:mainfrom
water-sucks:use-env-var-for-nixos-generation-tag
Aug 4, 2025
Merged

feat(apply): pass NIXOS_GENERATION_TAG through if it is set#97
water-sucks merged 2 commits intonix-community:mainfrom
water-sucks:use-env-var-for-nixos-generation-tag

Conversation

@water-sucks
Copy link
Copy Markdown
Collaborator

If someone wants to use a generation tag for an extended period of time (i.e. for testing), it's rather tedious to type in every time nixos apply is ran, even if using it through command history.

This allows users to set the NIXOS_GENERATION_TAG variable that is already used internally for building the configuration with nix for describing generations.

@water-sucks water-sucks force-pushed the use-env-var-for-nixos-generation-tag branch from 9befb03 to 20e74f0 Compare August 4, 2025 06:11
@water-sucks water-sucks merged commit c78af9f into nix-community:main Aug 4, 2025
1 check passed
@water-sucks water-sucks deleted the use-env-var-for-nixos-generation-tag branch November 3, 2025 10:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant