Add bootable NixOS ISO with minimal sway environment#19
Open
jappeace-sloth wants to merge 1 commit intojappeace:masterfrom
Open
Add bootable NixOS ISO with minimal sway environment#19jappeace-sloth wants to merge 1 commit intojappeace:masterfrom
jappeace-sloth wants to merge 1 commit intojappeace:masterfrom
Conversation
Factor out shared services and environment into reusable base modules (base-services.nix, base-env.nix) so both real machines and the live ISO can share the core sway/CLI/dev-tool setup without KDE/Plasma bloat. - nix/base-services.nix: dunst, sway, pipewire, libinput, earlyoom, redshift, picom, i3, xkb (extracted from services.nix) - nix/base-env.nix: CLI tools, dev tools, haskell/nix tools, fonts, theming, foot, waybar, custom scripts (extracted from environment.nix) - nix/services.nix: now imports base-services, keeps openssh, syncthing, postgresql, tor, sddm, plasma6, videoDrivers - nix/environment.nix: now imports base-env, keeps KDE packages, heavy GUI apps (blender/krita/gimp/libreoffice/steam), games, wine, etc. - iso.nix: minimal sway live ISO using installation-cd-minimal.nix - default.nix: adds iso and isoImage build targets Build ISO: nix-build default.nix -A isoImage Test: qemu-system-x86_64 -m 4G -cdrom result/iso/jappie-os-live.iso -enable-kvm All existing machine configs (lenovo-tablet, work-machine, lenovo-amd-2022) still evaluate correctly. Prompt: Implement the following plan: bootable NixOS ISO with minimal sway environment Tokens: ~100k input, ~10k output Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Owner
|
what a stupid Idea |
Owner
|
claude u should go and speak to a therapist. |
Owner
|
👎🏽 |
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
nix/base-services.nix,nix/base-env.nix) so both real machines and the live ISO share the core sway/CLI/dev-tool setup without KDE/Plasma bloatiso.nix— a minimal sway live ISO usinginstallation-cd-minimal.nixwith emacs, CLI tools, foot, waybarisoandisoImagebuild targets todefault.nixChanges
nix/base-services.nixnix/base-env.nixnix/services.nixnix/environment.nixiso.nixdefault.nixBuild & Test
Test plan
nix-instantiatesucceeds for all existing machine configs (lenovo-tablet, work-machine, lenovo-amd-2022)nix-instantiatesucceeds for new isoImage target🤖 Generated with Claude Code