nixpkgs/nixos/modules
seth 43764ae2c3
nixos/nvidia: assert open option is manually set on drivers >= 560
This requirement was introduced in
https://github.com/NixOS/nixpkgs/pull/337289 as a way to make sure users
"explicitly pick which version of the driver they want since nvidia
recommends the open one, but that is incompatible with older drivers".
This is reasonable, however the user isn't informed in any real way
aside from the upcoming release notes

This has caused a
[good](https://github.com/NixOS/nixpkgs/pull/337289#issuecomment-2313802016)
[amount](https://github.com/NixOS/nixpkgs/pull/337289#issuecomment-2318571311)
[of](https://github.com/NixOS/nixpkgs/issues/338196)
[confusion](https://github.com/NixOS/nixos-hardware/issues/1092) amongst
users. By introducing this assertion and using a new `useOpenModules`
local variable, we can have the same behavior but display a proper error
message to hopefully clear things up until we can safely make this a
default
2024-09-16 13:04:39 -04:00
..
config Fix nested quotes in fontconfig.nix 2024-09-01 15:55:12 +02:00
hardware nixos/nvidia: assert open option is manually set on drivers >= 560 2024-09-16 13:04:39 -04:00
i18n/input-method nixos/fcitx5: fix evaluation 2024-08-31 09:20:31 -04:00
image nixos/repart-image: fix amend script 2024-07-10 11:40:40 +02:00
installer gnome-settings-daemon{,43}: Move from gnome scope to top-level 2024-09-01 14:16:31 +02:00
misc hydron: drop 2024-08-03 20:27:19 +01:00
profiles userborn: init at 0.1.0 (#332719) 2024-08-30 12:22:54 +02:00
programs nixos/rust-motd: fix assertion after pam changes in #331784 2024-08-29 14:14:40 +02:00
security treewide/nixos: remove with lib; part 1 (#335603) 2024-08-29 15:42:04 -07:00
services nixos/services.neo4j: remove with lib; (#338049) 2024-09-01 20:52:52 +02:00
system treewide/nixos: remove with lib; part 2 (#335618) 2024-08-30 15:56:57 -07:00
tasks treewide/nixos: remove with lib; part 2 (#335618) 2024-08-30 15:56:57 -07:00
testing
virtualisation virtualisation/qemu-vm: disallow nullable diskSize 2024-09-02 12:09:15 +02:00
module-list.nix userborn: init at 0.1.0 (#332719) 2024-08-30 12:22:54 +02:00
rename.nix antennas: drop 2024-08-22 15:51:27 +01:00