Skip to content

Conversation

@jfroche
Copy link

@jfroche jfroche commented Nov 21, 2025

Filter out all existing /nix mount point entries and prelude comments, then always append exactly one new fstab entry to ensure at most one /nix entry in the output.

Description
Checklist
  • Formatted with cargo fmt
  • Built with nix build
  • Ran flake checks with nix flake check
  • Added or updated relevant tests (leave unchecked if not applicable)
  • Added or updated relevant documentation (leave unchecked if not applicable)
  • Linked to related issues (leave unchecked if not applicable)

Filter out all existing /nix mount point entries and prelude comments,
then always append exactly one new fstab entry to ensure at most one
/nix entry in the output.
Copy link

@mkenigs mkenigs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you see any actual issues with duplicate lines, or did this just seem cleaner?

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.

2 participants