Skip to content

feat(module): use legacy package by default when imported through default.nix#79

Merged
water-sucks merged 1 commit intonix-community:mainfrom
water-sucks:use-legacy-package-by-default-for-default-nix-imports
Jun 29, 2025
Merged

feat(module): use legacy package by default when imported through default.nix#79
water-sucks merged 1 commit intonix-community:mainfrom
water-sucks:use-legacy-package-by-default-for-default-nix-imports

Conversation

@water-sucks
Copy link
Copy Markdown
Collaborator

@water-sucks water-sucks commented Jun 29, 2025

For legacy systems, services.nixos-cli.package needed to be specified manually, since it used the flake package by default.

This changes the default for the option depending on if it was exposed through the flake or through default.nix:

  • If imported using the flake, it will use the flake-enabled nixos package
  • If imported using default.nix, it will use the non-flake-enabled nixosLegacy package

I added a small note specifying this distinction in the installation instructions in the documentation as well.

@water-sucks water-sucks merged commit ebdcb3f into nix-community:main Jun 29, 2025
1 check passed
@water-sucks water-sucks deleted the use-legacy-package-by-default-for-default-nix-imports branch June 29, 2025 23:03
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