-
-
Notifications
You must be signed in to change notification settings - Fork 14.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
calamares: fix calamares modules, add nixos modules, and add new iso #161788
Conversation
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/considering-new-installation-approaches/17778/16 |
I simplified the calamares-nixos-extensions a bit: bobvanderlinden@c34a688 I also worked on making sure I could run calamares inside a VM more easily without rebuilding the ISO (it was slow on my laptop): https://github.com/bobvanderlinden/nixpkgs/tree/calamares-nixos |
Merged your changes. Looks great! |
nixos/modules/installer/cd-dvd/installation-cd-graphical-calamares-base.nix
Outdated
Show resolved
Hide resolved
nixos/modules/installer/cd-dvd/installation-cd-graphical-calamares-base.nix
Outdated
Show resolved
Hide resolved
nixos/modules/installer/cd-dvd/installation-cd-graphical-calamares-base.nix
Outdated
Show resolved
Hide resolved
nixos/modules/installer/cd-dvd/installation-cd-graphical-calamares-gnome.nix
Outdated
Show resolved
Hide resolved
nixos/modules/installer/cd-dvd/installation-cd-graphical-calamares.nix
Outdated
Show resolved
Hide resolved
This are things i noticed when testing:
"Welcome to Calamares" is not user friendly. A user does not have to know which software we use for the Installer.
We still don't have official system requirements :(
that's different from NixOS install following manual. usually i'm asked only in stage 1, not grub
Instructions for manual partitioning should be added to the manual. At least before stable release!
Not sure if that dialog is true or default Calamares. In any case, the option name has a typo!
A more useful and not so scary error dialog would be great! Error:
It should Error:
The showcases switch too fast. I learned from conference streaming that i as a video mixer have to read the text slowly, twice and then switch the scene.
Better showcases for desktop users can be added in a later PR. Should be done before shipping stable release!
We can add selection of a desktop in a new PR. Thanks for your work. This is a huge milestone for NixOS! ✨ |
nixos/modules/installer/cd-dvd/installation-cd-graphical-base.nix
Outdated
Show resolved
Hide resolved
I was hoping this would be easy, but apparently elementary OS isn't based on Calamares. Their installer seems custom: https://github.com/elementary/installer. I haven't found an option to see the live log in Calamares. I've submitted a feature request: calamares/calamares#1896 |
I'm working on the errors with luks and swap. Figured out what's needed in the configuration, now in the process of automating it in the modules. Will push changes soon |
Should all be fixed in the new version of calamares-nixos-extensions. Currently uploading new test image. |
I believe that this is intended behavior in GNOME 40 and above. Unsure if there is a way to disable it for the intaller |
That was already fixed in the image yesterday. It looks like this after boot: I thought we might want to maximize the window also, but it would look bad on bigger screens. I check the boxes when i have retested the reported issues and they are fixed. |
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/what-would-you-do-if-you-were-the-bdfl-of-nix/6949/17 |
Ok, updated licenses and added networking on "No Desktop" options. Building new ISOs, but everything seems good to go! |
Result of 2 packages marked as broken and skipped:
2 packages blacklisted:
5 packages built:
|
ISOs uploaded! |
What happened (to the Calamares 3.2.56 update)? |
Think something went wrong with a push, lemme check |
Ok, fixed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes look good. Checked also the used repository. Only the patches are too much for me to review, but it does work.
Tested install
- with Plasma ISO on UEFI hardware, LUKS, Pantheon, autologin
- with GNOME ISO on BIOS VM, LUKS, MATE
i have not found any bigger issue
We can now wait for the channel to advance to include the changes and announce it then, so more people can test it. https://nixpk.gs/pr-tracker.html?pr=161788 If you read this, feel free to test using the last ISOs linked in the description. |
Looks great, thanks for your help! I'll continue testing as we approach 22.05 release! |
Thanks for all the hard work folks, hopefully, this will bring nixos to more people. |
Very nice, :) Proud of all the great work, will definitely diminish some of the overhead of adopting NixOS :) |
It is now in the unstable channel and i was able to boot the gnome image. I announced this achievement on my social media: https://chaos.social/@davidak/108253717600383941 @dasJ i suggest to use my image for the release announcement post. I gave it a very permissive license, so media can use it too. |
I think this is relevant for @Mic92 |
Just trying out the installer (which is great) but I noticed I don't get any logs within "toggle logs" because os-prober cannot start IDK if it being a VM caused any of the issues here I am using https://hydra.nixos.org/build/175427824 so maybe I should grab a newer copy from hydra |
@06kellyjac that is the expected output right now (calamares/calamares#1921) |
Motivation for this change
Currently, installing NixOS is rather difficult for new users, and the new experience when booting into one of the graphical ISOs is a blank GNOME or Plasma desktop with no super obvious indication of what to do next. Even though following the guide is not all that hard, I believe that integrating Calamares into the current NixOS isos would help make the installation experience better for new users.
Closes #15573
Closes #21662
Closes #100475
Things done
This draft PR contains 3 things:
The GNOME test ISO can be downloaded here nixos-gnome-22.05pre375061.c777cdf5c56-x86_64-linux.iso
The Plasma5 test ISO is also available here: nixos-plasma5-22.05pre375061.c777cdf5c56-x86_64-linux.iso.
All feedback is appreciated!
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)nixos/doc/manual/md-to-db.sh
to update generated release notesCurrent Issues
No way to enable unfree driversLaptops with Broadcom wifi cards will not have it enabled after installation