summaryrefslogtreecommitdiffstats
path: root/nixos/modules
AgeCommit message (Collapse)Author
2023-11-08azure-agent: add dependencies for its extensionsYang, Bo
waagent's extension `Microsoft.OSTCExtensions.VMAccessForLinux` requires Python, otherwise it would be failed to install with the following error message in `/var/log/waagent.log`: ``` No Python interpreter found on the box ``` waagent's extension `Microsoft.CPlat.Core.RunCommandLinux` needs lsof, otherwise it would produce the following error message in `/var/log/waagent.log`: ``` /var/lib/waagent/Microsoft.Azure.Extensions.CustomScript-2.1.10/bin/custom-script-shim: line 60: lsof: command not found ```
2023-11-08wyoming-faster-whisper fix CUDA devices not being detected. (#266167)Caleb
This change enables CUDA support by allowing access to /dev/nvidia0.
2023-11-08Merge pull request #264234 from guiguid/guiguid-patch-netdata-systemd-journalRyan Lahfa
netdata: 1.43.0 -> 1.43.2 and add systemd-journal plugin
2023-11-07Merge pull request #266116 from ElvishJerricco/sd-s1-user-shells-fix-warningWill Fancher
nixos/initrd-ssh: Only warn about shell when using systemd initrd
2023-11-07nixos/wireguard: add wireguard to default kernel modulesRodrigo Gryzinski
Previously the module was only dynamically loaded on service startup, this is needed in case security.lockKernelModules is enabled.
2023-11-08Merge pull request #265764 from amjoseph-nixpkgs/pr/pythonForBuildArtturi
2023-11-07nixos/restic: allow timer to be disabledRobert Obryk
2023-11-07nixos/initrd-ssh: Only warn about shell when using systemd initrdWill Fancher
2023-11-07Merge pull request #247376 from RageKnify/fix/smartd-mailRyan Lahfa
2023-11-07Merge pull request #262565 from Atemu/nixos/firmware-mkEnableOptionAtemu
nixos/hardware: use mkEnableOption
2023-11-07nixos/journald: add `storage` optionMaximilian Bosch
While this can be added via `services.journald.extraConfig`, this option provides proper type-checking and other modules can determine where journal data is stored. This is relevant when using e.g. promtail to send logs to Loki and it should read from `/run/log/journal` if volatile storage is used.
2023-11-07nixos/virtualization: fix shellcheck loginFlorian Brandes
fixes https://www.shellcheck.net/wiki/SC2002 Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
2023-11-07nixos/printing: Fix openFirewall optionJonas Heinrich
2023-11-07Merge pull request #264882 from robryk/resticfixJanik
nixos/restic: fix #264696 and add a regression test
2023-11-06nixos/mediawiki: pin php to 8.1Jörg Thalheim
2023-11-06nixos/mediawiki: fix rewrites for static ressources and rest APIJörg Thalheim
2023-11-06Merge pull request #230380 from graham33/feature/zwave-js-server_moduleMartin Weinelt
zwave-js: module init, zwave-js-server: init at 1.33.0
2023-11-06nixos/boot: add postResumeCommands optionArchit Gupta
Adds a postResumeCommands option to the initramfs to allow inserting code to execute after the device has attempted to resume, and before filesystems are mounted. This allows to inject code for operations like wiping the rootfs on boot; if those were instead put in postDeviceCommands, on a hibernated device, they would execute before the device resumes from hibernation.
2023-11-06nixos/gnome/at-spi2-core: fix disabling a11y in all contextsKira Bruneau
`environment.variables` gets sourced by shells & the x11 wrapper through bash's `/etc/profile`, but not by systemd services, dbus services, wayland sessions... `environment.sessionVariables` sets these variables with PAM early in the login process so it gets applied in all contexts. I ran into a similar issue before in #109060.
2023-11-06trust-dns: 0.23.0 -> 0.24.0Colin
upstream is in the process of renaming to `hickory-dns`. a consequence of this is that the main binary has been renamed from `trust-dns` to `hickory-dns` and the repository has been moved (though for the time being the old repo is still usable on account that it redirects to the new one). see: <https://bluejekyll.github.io/blog/posts/announcing-hickory-dns/>
2023-11-06nixos/stage-1: create initramfs /lib at build timeAlyssa Ross
Modules built in to the kernel can attempt to load firmware before init is started. To guarantee the firmware is accessible to them where they expect, /lib has to exist in the initramfs — it can't be created later by init, because by that point the module may already have tried and given up.
2023-11-06nixos/qemu-vm: fix infinite recursionAlyssa Ross
The virtualisation.directBoot.initrd option was added for netboot images, but the assertion to check directBoot enabled if it was used caused an infinite recursion if it was. Minimal reproduction: import nixos/tests/make-test-python.nix ({ pkgs, ... }: { name = ""; nodes = { machine = { config, ...}: { imports = [ nixos/modules/installer/netboot/netboot-minimal.nix ]; virtualisation.directBoot = { enable = true; initrd = "${config.system.build.netbootRamdisk}/${config.system.boot.loader.initrdFile}"; }; }; }; testScript = ""; }) {} The fix is to swap the two conditions, so that cfg.directBoot.enable is checked first, and the initrd comparision will be short circuited. This wasn't noticed during review because in earlier versions of the virtualisation.directBoot patch, the assertion was accidentally in the conditional above, so wasn't evaluated unless port forwarding was in use.
2023-11-06nixos/vagrant-guest: Set `security.sudo-rs.wheelNeedsPassword` toonicoo
2023-11-06Merge pull request #263138 from ↵Michele Guerini Rocco
tomfitzhenry/hostapd-optional-managementframeprotection nixos/hostapd: remove managementFrameProtection in favour of clearer default
2023-11-06syncoid: disable PrivateUsers in systemd unitIvan Petkov
* leaving PrivateUsers=true appears to break when using zfs-2.2.0
2023-11-05treewide: change pythonForBuild to pythonOnBuildForHostAdam Joseph
2023-11-05Merge pull request #265071 from 999eagle/feat/matrix-sliding-sync-updateMaximilian Bosch
nixos/matrix-sliding-sync: add dependency on matrix-synapse if running locally
2023-11-06Merge pull request #258299 from Arcayr/virtualisation-hostnameadisbladis
nixos/virtualisation: add hostname option to oci-containers.
2023-11-05nixos/matrix/*: change dependencies on matrix-synapse.service to serviceUnitSophie Tauchert
2023-11-05nixos/google_oslogin: Handle sudo-rs toonicoo
2023-11-05nixos/matrix-synapse: add readOnly serviceUnit optionSophie Tauchert
This is useful to configure services dependent on matrix-synapse regardless of whether workers are enabled or not.
2023-11-05nixos/google-compute-config: Add sudo-rs rulesnicoo
2023-11-05nixos/matrix-sliding-sync: add dependency on matrix-synapse if running ↵Sophie Tauchert
locally and restart
2023-11-05nixos/akkoma: Do not warn under sudo-rsnicoo
2023-11-05nixos/sudo: Don't include empty sectionsnicoo
This makes the generated sudoers a touch easier to read.
2023-11-05nixos/printing: Add openFirewall option (#176539)Jonas Heinrich
2023-11-05Merge pull request #256738 from toastal/prosody-libevent-deprecatedAaron Andersen
prosody: remove deprecated libevent
2023-11-05Merge pull request #265281 from JulienMalka/systemd-boot-maintainerRyan Lahfa
2023-11-05nixos/greetd: autostart GNOME Keyring when enabledLeah Amelia Chen
The PAM service `greetd` creates now autostarts GNOME Keyring when it is enabled via `services.gnome.gnome-keyring.enable`. Should cause a lot fewer headaches for people like me who didn't know why GNOME Keyring was complaining that it was never supplied with login details. Fixes #246197
2023-11-04Merge pull request #263206 from kanashimia/revert-259066-add-renice-swayThiago Kenji Okada
Revert "nixos/sway: add enableRealtime option"
2023-11-04Merge pull request #265482 from alois31/plasma-setuidK900
nixos/plasma5: fix mismatch between nix and module system
2023-11-04nixos/plasma5: fix mismatch between nix and module systemAlois Wohlschlager
In https://github.com/NixOS/nixpkgs/pull/254071, a mismatch between usage of the Nix language and the NixOS module system was introduced. By merging the kwin_wayland wrapper attrset into the mkIf representation, the former was effectively ignored. As a result, the capability wrapper for kwin_wayland stopped being installed, leading to realtime scheduling being disabled. The issue was not detected because the behavioral change is very subtle. By consistently using language-level constructs, this mismatch is resolved. The capability wrapper is thus installed again and realtime scheduling is restored.
2023-11-04Merge pull request #263173 from r-ryantm/auto-update/freshrssFelix Bühler
freshrss: 1.21.0 -> 1.22.1
2023-11-04Merge pull request #264582 from FliegendeWurst/throttled-modprobeMaximilian Bosch
nixos/throttled: load required kernel module
2023-11-04nixos/systemd-boot: add julienmalka as maintainerJulien Malka
2023-11-04nixos/module-list: add virt-managerK900
Was missed in #261474
2023-11-03Merge pull request #262347 from adamcstephens/incus/moduleLily Foster
nixos/incus: init module and tests
2023-11-03Merge pull request #264787 from katexochen/feat/xkb-extralayoutsMichele Guerini Rocco
nixos/x11: move extraLayouts into xkb attrset
2023-11-03Merge pull request #263475 from nbraud/nixos/sudo-bugfixMaximilian Bosch
nixos/sudo: fix `security.sudo.package`
2023-11-03nixos/fwupd: make auto-refresh run (and work)Peter Hoeg