Skip to content

Conversation

@benley
Copy link
Collaborator

@benley benley commented Jan 22, 2025

  • Split out nix/nixos-module.nix. This way it can theoretically be imported without using flakes, since some people prefer to do things that way.
  • Use a nixpkgs overlay to add tailscale-manager to pkgs, so it shows up when vm-text.nix imports the module
  • Move nixosModules to the system-independent outputs section where it belongs
  • Remove the last references to packageName since we were not using it consistently

Resources: https://vtimofeenko.com/posts/practical-nix-flake-anatomy-a-guided-tour-of-flake.nix/

- Split out nix/nixos-module.nix. This way it can theoretically be
  imported without using flakes, since some people prefer to do things
  that way.
- Use a nixpkgs overlay to add tailscale-manager to pkgs, so it shows up
  when vm-text.nix imports the module
- Move nixosModules to the system-independent outputs section where it
  belongs
- Remove last references to `packageName` since we were not using it
  consistently

Resources: https://vtimofeenko.com/posts/practical-nix-flake-anatomy-a-guided-tour-of-flake.nix/
@benley benley force-pushed the split-nixos-module branch from 0b718a0 to b72b13f Compare January 22, 2025 18:32
@benley benley requested a review from marek-memsql January 24, 2025 16:49
@benley benley merged commit e8bf6e6 into singlestore-labs:main Jan 24, 2025
6 checks passed
@benley benley deleted the split-nixos-module branch January 24, 2025 17:53
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