Commit graph

1269 commits

Author SHA1 Message Date
Emily 51a41ce9a1
installer/nixos-generate-config: remove broadcom_sta (#426831) 2025-07-27 05:35:35 +01:00
NullCube 9c9f467d49 installer/nixos-generate-config: remove broadcom_sta
Resolves the installer failing on devices that include this hardware, as
broadcom_sta was marked as insecure due to being unmaintained and having
active CVE's.

This commit be reverted when/if the installer has a mechanism for allowing
insecure packages.
2025-07-26 18:37:53 -07:00
Wolfgang Walther 5a0711127c
treewide: run nixfmt 1.0.0 2025-07-24 13:55:40 +02:00
phaer 037a064feb
sd-image: Fix image.filePath directory prefix 2025-07-18 11:12:08 -07:00
Emily 8115e2b01a nixos-generate-config: prefer /dev/mapper paths for mounts
Currently, we generate `/dev/disk/by-uuid` paths for encrypted LUKS
volumes, which makes it impossible to determine that they are waiting
on a Device Mapper device at boot. Using `/dev/mapper` paths ensures
that systemd stage 1 waives its standard mount timeout for these
volumes to allow the user more time to enter the LUKS password.
2025-07-13 12:59:43 +01:00
Philip Taron 8279ffe622
treewide: specify that mebibytes are used when it's ambiguous (#424169) 2025-07-11 12:29:33 -07:00
Axel Karjalainen 7159ab6f43 treewide: specify where mebibytes are used when it's ambiguous 2025-07-11 00:44:23 +03:00
Martin Weinelt f633ed9278
nixos/installer: enable networkmanager by default (#420923) 2025-07-04 22:21:11 +02:00
Sandro 3376b10c73
nixos/nixos-generate-config: remove extra indentation in flake output (#420274) 2025-07-04 21:48:28 +02:00
Martin Weinelt 1ef7d63228
nixos/installer: ship the minimal ISO with networkmanager
With networkmanager we can provide a much more welcoming network setup
experience in the installer and it costs us less than 10 MB with this
configuration on the minimal ISO.

By default, for new profiles it will enable DHCP and RA and allow
interactive reconfiguration through `nmtui` or `nmcli`. Especially the
TUI interface is very easy to pick up and removes the need for typing in
manual commands when setting up the WLAN connection.
2025-06-30 10:37:11 +02:00
Martin Weinelt b05541933d
nixos/installer: enable networkmanager by default
This is the easiest pick for new users to get their footing on NixOS.

NetworKManager allows managing a wide variety of different network
interface types interactively and with ease. It replaces `useDHCP` since
its default profiles for Ethernet and WLAN come with DHCP enabled by
default.
2025-06-29 19:55:44 +02:00
ryunix 9feba7c2ff nixos/nixos-generate-config: remove extra indentation in flake output 2025-06-27 00:36:25 +09:00
Jörg Thalheim 28e4681066 nixVersions.nix: 2.28.3 -> 2.28.4 2025-06-24 18:25:41 +02:00
Emily a7a3457082 nixos/installer/plasma6: disable KDE PIM 2025-06-19 21:52:02 +01:00
Emily 49dd486796 nixos/installer/plasma6: exclude kdePackages.plasma-workspace-wallpapers 2025-06-19 21:51:38 +01:00
Thiago Kenji Okada 9806c0cd3e nixos/tools: enable system.rebuild.enableNg by default 2025-06-11 10:43:12 +01:00
Graham Christensen 7e7cf1ce2f nixos-generate-config: Add a flake default to the conf file 2025-06-06 10:32:55 -04:00
hand7s c464c44a42
nixos/gnome & nixos/gdm: move out of x11
Since DEs like KDE Plasma 6, GNOME and COSMIC are not designed to be X11-exclusive, putting them under `services.xserver` is misleading. In particular, GNOME defaults to Wayland these days and X11 support is going to be dropped in near future.

Let’s follow Plasma and move GNOME NixOS options out of `xserver` attribute.

This patch does not include any changes to X11 support itself.

Signed-off-by: John Titor <50095635+JohnRTitor@users.noreply.github.com>
2025-05-28 13:27:36 +02:00
Aleksana fef2e4ea93
nixos/installation-cd-graphical-base: disable hyper-v guest on exotic platforms (#403737) 2025-05-23 21:29:36 +08:00
Paul Haerle 36607ba6e6
installer/tools: fix grammatical error in docs (#388452) 2025-05-10 11:31:39 +02:00
Paul Haerle 772ee19537
installer: fix broken search suggestion in default config (#378797) 2025-05-09 20:35:51 +02:00
Weijia Wang cd16ea241c nixos/installation-cd-graphical-base: disable hyper-v guest on exotic platforms 2025-05-05 15:52:04 +02:00
Jörg Thalheim 7fd4e73000 nix: update nix-fallback-paths to 2.28.3 2025-04-30 08:35:16 +02:00
illustris 5803bdb9fc
Revert "Use mkImageMediaOverride for filesystem attributes of various images" 2025-04-29 08:41:26 +05:30
jopejoe1 326702f8bb
Use mkImageMediaOverride for filesystem attributes of various images (#397330) 2025-04-24 18:54:06 +02:00
zowoq e5b760b14f nix: update nix-fallback-paths to 2.28.2 2025-04-20 15:24:11 +10:00
phaer 5bd99195fa installer/sd-card: use mkImageMediaOverride...
...for filesystem options. Before this change, users would typically encounter conflicting option definitions when trying to build an image for a generic nixos closure, i.e. `nixos-rebuild build-image --image-variant sd-card --flake .#my-host`
2025-04-11 14:33:47 +02:00
Jörg Thalheim 8db5666df2 nixVersions: update nix-fallback-paths (2.24.14 -> 2.28.1) 2025-04-09 06:39:56 +02:00
Jörg Thalheim ae8f07e1dd nixVersions.nix_2_24: 2.24.13 -> 2.24.14
Diff: https://github.com/NixOS/nix/compare/2.24.13...2.24.14
2025-04-07 12:36:38 +02:00
Silvan Mosberger 374e6bcc40 treewide: Format all Nix files
Format all Nix files using the officially approved formatter,
making the CI check introduced in the previous commit succeed:

  nix-build ci -A fmt.check

This is the next step of the of the [implementation](https://github.com/NixOS/nixfmt/issues/153)
of the accepted [RFC 166](https://github.com/NixOS/rfcs/pull/166).

This commit will lead to merge conflicts for a number of PRs,
up to an estimated ~1100 (~33%) among the PRs with activity in the past 2
months, but that should be lower than what it would be without the previous
[partial treewide format](https://github.com/NixOS/nixpkgs/pull/322537).

Merge conflicts caused by this commit can now automatically be resolved while rebasing using the
[auto-rebase script](8616af08d9/maintainers/scripts/auto-rebase).

If you run into any problems regarding any of this, please reach out to the
[formatting team](https://nixos.org/community/teams/formatting/) by
pinging @NixOS/nix-formatting.
2025-04-01 20:10:43 +02:00
Jörg Thalheim 49a708c3f7 nix: update nix-fallback-paths to 2.24.13 2025-03-27 13:24:50 +01:00
Will Fancher b82dbaf3ab nixos-generate-config: Fix unspecified root 2025-03-18 04:56:51 -04:00
Will Fancher a2636dae46 iso-image: Combine GNOME and Plasma flavors
This allows users to choose between the two during bootup rather than
at download time.
2025-03-16 01:38:37 -04:00
Will Fancher 674a41e913 nixos-generate-config: Set linuxPackages_latest when ISO boots latest kernel 2025-03-16 01:38:37 -04:00
Will Fancher 6f1b070056 nixos-generate-config: Add config file 2025-03-16 01:38:37 -04:00
Will Fancher 0aad0248ce nixos/iso-image: Include latest kernel specialisation.
Now that ISOs include the latest kernel as a specialisation, separate
ISOs for the new kernel are no longer necessary.
2025-03-16 01:38:37 -04:00
Will Fancher f2204986a7 nixos/iso-image: Support specialisations. 2025-03-16 01:38:37 -04:00
Will Fancher 8eb8908837 nixos/iso-image: Move alternate boot options to submenus
This will make more sense when specialisations are introduced in the
ISO boot menu

nixos/modules/installer/cd-dvd/iso-image.nix
2025-03-16 01:38:37 -04:00
Will Fancher 3a2e8e97c3 nixos/iso-image: Disable plymouth along with display-manager.service
GNOME in particular just breaks if plymouth isn't disabled, because
GDM takes on the role of quitting plymouth in a GNOME
configuration. But if we're disabling the DM, we should disable
plymouth too anyway.
2025-03-16 01:03:25 -04:00
Will Fancher bef079a4b9 nixos/iso-image: Remove video= boot entries
These seem largely redundant with the progress that desktop
environments have made since they were introduced.
2025-03-16 01:03:21 -04:00
Will Fancher da9a092c34 nixos/iso-image.nix: nixfmt 2025-03-16 00:23:46 -04:00
Anton Mosich 69641d3531
installer/tools: fix grammatical error in docs 2025-03-09 15:07:53 +01:00
K900 31aa4c5fef nixos/iso-image: fix build 2025-02-21 11:19:14 +03:00
nixpkgs-ci[bot] 9bd398d5e9
Merge master into staging-next 2025-02-18 12:05:57 +00:00
Pablo Ovelleiro Corral 1606ea91b4 nixos-generate-config: add --flake option
Co-authored-by: éclairevoyant <848000+eclairevoyant@users.noreply.github.com>
2025-02-18 15:37:53 +07:00
Wolfgang Walther b19d0f6d3d
treewide: replace substituteAll with replaceVars 2025-02-10 22:51:56 +01:00
Martin Schwaighofer f83f6a25ce installer: fix broken search suggestion in default config 2025-02-02 13:18:37 +01:00
Wolfgang Walther dc0e094b33
nixos/installer: replace substituteAll with replaceVarsWith for tools 2025-01-28 22:30:27 +01:00
Robert Hensing 94efb4613c nixos/nix-fallback-paths: 2.24.11 -> 2.24.12 2025-01-22 13:59:41 +01:00
github-actions[bot] 28758028a5
Merge master into staging-next 2025-01-08 18:04:29 +00:00