Add XFS existing partition install mode for dual-boot support - #20
Merged
Conversation
Adds a new "XFS unencrypted (existing partition)" storage mode that lets users install on pre-existing partitions without erasing the entire disk. Users select a boot/ESP partition (used as-is) and a root partition (formatted with XFS), leaving other partitions untouched. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Use lsblk -l -p flags to get flat list output with full device paths, avoiding tree-drawing characters (├─, └─) being included in partition names. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Override efiInstallAsRemovable to install GRUB to its own EFI directory instead of the shared fallback path, and reinstall GRUB after nixos-install to clean conflicting modules from other OSes (e.g. CachyOS). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Package sets: three optional tiers as checkboxes in installer - TUI: yazi, neovim, lazygit, btop, nchat, gomuks, scli, khal, starship, atuin - Pentest: aircrack-ng, nmap, metasploit, wireshark, termshark, hashcat, sqlmap - Games: angband, crawl, cataclysm-dda, vitetris, nudoku, frotz, bsdgames - Minimal base (vim, git, curl, htop, tmux) always installed - Merged main (PR #19) into this branch - Fixed locale conflict (import only en_US by default) - Fixed software/default.nix imports - Fixed modules/default.nix to include locale and software - Formatted all nix files Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
ISO Build Report
Top 50 packages by sizeTrivy Security ScanFull package list (685 packages)SBOM artifact (CycloneDX JSON) is attached to the workflow run. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Replaces #12 (rebased onto current main to resolve conflicts).
Adds a new storage mode that installs tuinix onto an existing partition,
preserving the existing EFI System Partition. This enables dual-boot
setups where another OS (e.g. CachyOS, Ubuntu) already occupies the disk.
Changes
templates/disko-xfs-partition.nix/dev/nvme0n1p2vs/dev/sda2)Original author
Dimas Ciputra (@dimasciput) - original commits from PR #12
Closes #12
Test plan