Age | Commit message (Collapse) | Author |
|
$ find -type f -name '*.nix' -print0 | xargs -P "$(nproc)" -0 sed -i \
-e 's!with lib.maintainers; \[ *\];![ ];!' \
-e 's!with maintainers; \[ *\];![ ];!'
|
|
|
|
sane-backends: 1.2.1 -> 1.3.1
|
|
|
|
nixos/udev: Fix `grep: warning: stray \ before /`
|
|
|
|
Permissions on /dev/kvm are already specified by tmpfiles.d rules
Reference: https://github.com/systemd/systemd/blob/v255/tmpfiles.d/static-nodes-permissions.conf.in#L18
|
|
This reverts commit dbe2325603420a89aa030994138bb54167fab81d, which
was mistaken: `/` matches exactly the same things matched by `\/` but
without the warning.
Fixes #316561.
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
|
|
|
|
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
|
|
Unfortunately this got missed in
https://github.com/NixOS/nixpkgs/pull/320228
|
|
nixos/amdgpu: init module
|
|
|
|
- rename hardware.opengl to hardware.graphics
- remove hardware.opengl.driSupport, which does nothing
- remove hardware.opengl.setLdLibraryPath, which should never be done
- rename hardware.opengl.driSupport32Bit to hardware.graphics.enable32Bit
- lost of small docs / formatting cleanups
|
|
|
|
auto-cpufreq is similar to tlp in that it shouldn't be run with
power-profiles-daemon. There functionality can conflict and bugs can
show up. On my system this materialized by auto-cpufreq frequently
shutting down, but there may be other consequences.
This change follows the same pattern as the tlp assertion
|
|
The nvidia-modeset module is loaded, which in turn pulls in the nvidia module. This makes bbswitch fail to turn off the card since it would be in use by the module.
|
|
|
|
|
|
This brings two benefits. For one thing, it exposes the generated
config file which users can build separately to validate it. For
another, it allows users to provide their own config file.
|
|
|
|
|
|
linux kernel: prefer zstd where possible
|
|
nixos/kanata: check the config file at build time
|
|
IMHO, this style is more intuitive.
|
|
|
|
Before this patch, it is rendered as "Example: kanata-with-cmd".
With this patch applied, it is "Example: pkgs.kanata-with-cmd".
|
|
Before this patch, checking the config file is done at runtime.
Doing so at build time shortens the feedback loop[1][2].
[1]: https://github.com/NixOS/nixpkgs/issues/278135
[2]: https://github.com/jtroo/kanata/issues/689
|
|
nixos/libinput: move out of xserver
|
|
`virtualisation.docker.daemon.settings`
|
|
CDI: Add `mount-nvidia-binaries` and `mount-nvidia-docker-1-directories` options
|
|
`mount-nvidia-docker-1-directories` options
- `mount-nvidia-binaries`: this option allows users to avoid mounting
nvidia binaries on the container.
- `mount-nvidia-docker-1-directories`: this option allows users to
avoid mounting `/usr/local/nvidia/lib{,64}` on containers.
|
|
`virtualisation.containers.cdi.dynamic.nvidia.enable`
Add the NixOS option `hardware.nvidia-container-toolkit-cdi-generator.enable`.
This enables the ability to expose GPU's in containers for container
runtimes that support the Container Device Interface (CDI)
Remove `cdi.static` and `cdi.dynamic.nvidia.enable` attributes.
|
|
Closes #267442
$ nix path-info -Sh /nix/store/qj1dm7wfw5m3mxf1gn3fdm0az9y1h5ny-linux-firmware-20240312-xz
/nix/store/qj1dm7wfw5m3mxf1gn3fdm0az9y1h5ny-linux-firmware-20240312-xz 440.3M
$ nix path-info -Sh /nix/store/c3szcjxb3g990dbiz7llwmkaf0bi98j2-linux-firmware-20240312-zstd
/nix/store/c3szcjxb3g990dbiz7llwmkaf0bi98j2-linux-firmware-20240312-zstd 460.6M
This is an increase of 4.4%, but OTOH zstd has a significantly higher
decompression speed[1].
[1] https://gregoryszorc.com/blog/2017/03/07/better-compression-with-zstandard/
|
|
|
|
nixos/udev: make more NixOS WSL friendly
|
|
these changes were generated with nixq 0.0.2, by running
nixq ">> lib.mdDoc[remove] Argument[keep]" --batchmode nixos/**.nix
nixq ">> mdDoc[remove] Argument[keep]" --batchmode nixos/**.nix
nixq ">> Inherit >> mdDoc[remove]" --batchmode nixos/**.nix
two mentions of the mdDoc function remain in nixos/, both of which
are inside of comments.
Since lib.mdDoc is already defined as just id, this commit is a no-op as
far as Nix (and the built manual) is concerned.
|
|
|
|
This is not the case for eg. NixOS in WSL
|
|
|
|
|
|
Bug was introduced in 28ea07d4e33c63447e699562d0085f6eeefd6ee0.
|
|
nixos/cdi.dynamic.nvidia: expose driverLink
|
|
nixos/monado: init
|
|
..shallowly
|
|
|
|
|
|
hddfancontrol & thinkfan: disable network access.
|
|
|
|
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
|