Commit graph

703 commits

Author SHA1 Message Date
nixpkgs-ci[bot] 1f71b1fc26
Merge master into staging-next 2025-10-04 00:15:35 +00:00
Maximilian Bosch a6b0564b7d
nixos/filesystems: fix special file-systems for systemd-nspawn (#345899) 2025-10-03 19:33:31 +00:00
nixpkgs-ci[bot] a4cb5a506b
Merge master into staging-next 2025-10-02 00:16:08 +00:00
Philip Taron 4b4987c5c2
nixos/tools: remove deprecated accessors for pkgs.nixos-option and pkgs.nixos-enter
These warnings were added in 5dcbab6. It has been a full year since they were added -- time to remove them.
2025-10-01 08:38:15 -07:00
Philip Taron 4b1a0a4aab nixVersions.stable: nix_2_28 -> nix_2_31 2025-09-22 21:17:18 +02:00
Maximilian Bosch a532cb052e
nixos/containers: add boot.isNspawnContainer option
There are a bunch of components such as incus or LXC that also use
`boot.isContainer`, so we'd have to differentiate between "OS container"
and "actually nspawn".

This became necessary for the file-systems part where nspawn takes care
of setting up special filesystems like `/proc`, `/dev` etc., but others
don't.

To allow for a `boot.isContainer` being less overloaded, this introduces
`boot.isNspawnContainer` that is exclusively used for nspawn-specific
things. When `true`, `boot.isContainer = true;` is implied.
2025-09-21 13:26:23 +02:00
Philip Taron a75061e577
nixVersions.nix_2_28: 2.28.4 -> 2.28.5
Diff: https://github.com/NixOS/nix/compare/refs/tags/2.28.4...refs/tags/2.28.5

No changelog found; this brings backported changes from June through August to the stable Nix for Nixpkgs.
2025-09-02 10:18:14 -07:00
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
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
Martin Weinelt f633ed9278
nixos/installer: enable networkmanager by default (#420923) 2025-07-04 22:21: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
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
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
Jörg Thalheim 7fd4e73000 nix: update nix-fallback-paths to 2.28.3 2025-04-30 08:35:16 +02:00
zowoq e5b760b14f nix: update nix-fallback-paths to 2.28.2 2025-04-20 15:24:11 +10: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
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 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 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
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
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] 92be6e3838
Merge staging-next into staging 2024-12-30 18:04:51 +00:00
nicoo 238b407862
nixos: hardware.pulseaudio → services.pulseaudio (#369391) 2024-12-30 13:46:50 +00:00
github-actions[bot] 63eeb8a47c
Merge staging-next into staging 2024-12-15 12:06:02 +00:00
Jörg Thalheim 25d88c50b6
nixVersions.nix_2_24: 2.24.10 -> 2.24.11 (#364176) 2024-12-15 11:53:35 +01:00
Wolfgang Walther b3fb9afdb0
replaceVarsWith: init (#360771) 2024-12-14 20:26:35 +01:00
Wolfgang Walther 4ce241c882
replaceVarsWith: init
Takes the extended features of nix substituteAll to a replaceVars
variant to get rid of those cases that use substituteAll to build a full
package with meta information etc.
2024-12-14 20:16:10 +01:00
zowoq 6c706f9549 nixos/nix-fallback-paths: 2.24.10 -> 2.24.11
https://releases.nixos.org/nix/nix-2.24.11/fallback-paths.nix
2024-12-11 18:15:24 +10:00
Thiago Kenji Okada 43e6aa5bd2 nixos-rebuild-ng: enable reexec if system.rebuild.enableNg is enabled 2024-12-10 18:38:08 +00:00
Thiago Kenji Okada ae6664cc51 nixos/tools: add system.rebuild.enableNg 2024-12-10 18:38:08 +00:00
Maximilian Bosch 859c76c505
nixos/tools: add enable options to manual
E.g. when overriding `nix` with `pkgs.lix`, `nixos-option` will fail.
Given that I haven't used it in a very long time, I wanted to disable
it, but finding an option to turn off `nixos-option` is kinda hard given
that the options are generated here using `mkToolModule`.

I assumed that this isn't possible until I learned that
`system.tools.X.enable` exists. To me, this is a clear sign that these
shouldn't be internal.
2024-11-18 16:22:41 +01:00
K900 4a2c7def57
nixos/tools: Make the tools derivations overridable (#353173) 2024-11-09 10:20:19 +03:00
Jörg Thalheim caa10b055f nix: update fallback paths automatically 2024-11-04 11:51:24 +01:00
r-vdp 2eb92f4063
fixup! nixos/tools: set the enable options with mkDefault 2024-11-02 19:03:29 +01:00
r-vdp ba3e5b02f6
nixos/tools: set the enable options with mkDefault
This makes it easier to enable some of them again.
2024-11-02 18:19:57 +01:00
r-vdp 8b2577c7d5
nixos/tools: Make the tools derivations overridable
Make sure that when re-assigning an overridden derivation to system.build.*,
the overridden derivation is also the one that ends up in
environment.systemPackages.
2024-11-02 18:17:24 +01:00
ibbem 30f40ac177
nixos-generate-config: Use the Firefox module
The Firefox module installs and enables the selected locale whereas the
Firefox package just uses the default locale. Hence, Firefox's language
was still English even when choosing a language other than English.
2024-10-31 19:30:08 +01:00
zowoq a87bc99783 nixos/nix-fallback-paths: 2.24.8 -> 2.24.9
https://releases.nixos.org/nix/nix-2.24.9/fallback-paths.nix
2024-10-14 13:00:57 +10:00
Jörg Thalheim e5a08c8859 nix-fallback-paths: 2.24.7 -> 2.24.8 2024-09-26 21:04:57 +02:00