git.iko.soy/typeable/nixpkgs
on 048fd95 help sign in
12502 files changed+318079−444005
since splitsnapshots
unifiedsplit
.editorconfig+14−5 .git-blame-ignore-revs−32 .github/CODEOWNERS+53−90 .github/ISSUE_TEMPLATE/out_of_date_package_report.md+3−3 .github/PULL_REQUEST_TEMPLATE.md+10−15 .github/labeler.yml+6−2 .github/workflows/backport.yml+1−7 .github/workflows/basic-eval.yml+10−16 .github/workflows/direct-push.yml+1−1 .github/workflows/editorconfig.yml+2−2 .github/workflows/labels.yml+1−6 .github/workflows/manual-nixos.yml+3−3 .github/workflows/manual-nixpkgs.yml+3−3 .github/workflows/nixos-manual.yml+2−2 .github/workflows/pending-set.yml−5 .github/workflows/periodic-merge-24h.yml+2−2 .github/workflows/periodic-merge-6h.yml+2−2 .github/workflows/update-terraform-providers.yml+9−10 CONTRIBUTING.md+2−47 COPYING+1−1 README.md+3−8 doc/builders/fetchers.chapter.md+11−33 doc/builders/images/dockertools.section.md+8−8 doc/builders/images/ocitools.section.md+3−3 doc/builders/images/snaptools.section.md+1−1 doc/builders/packages/citrix.section.md+5−5 doc/builders/packages/eclipse.section.md+5−5 doc/builders/packages/elm.section.md+1−1 doc/builders/packages/emacs.section.md+3−3 doc/builders/packages/etc-files.section.md+4−4 doc/builders/packages/firefox.section.md+8−7 doc/builders/packages/fish.section.md+1−1 doc/builders/packages/fuse.section.md+2−2 doc/builders/packages/ibus.section.md+3−3 doc/builders/packages/linux.section.md+7−7 doc/builders/packages/locales.section.md+2−2 doc/builders/packages/nginx.section.md+2−2 doc/builders/packages/opengl.section.md+1−1 doc/builders/packages/shell-helpers.section.md+1−1 doc/builders/packages/steam.section.md+8−8 doc/builders/packages/urxvt.section.md+4−4 doc/builders/packages/weechat.section.md+5−5 doc/builders/special.xml+1 doc/builders/special/fhs-environments.section.md−2 doc/builders/special/invalidateFetcherByDrvHash.section.md+31 doc/builders/testers.chapter.md−82 doc/builders/trivial-builders.chapter.md+3−105 doc/contributing/coding-conventions.chapter.md+8−9 doc/contributing/reviewing-contributions.chapter.md+4−5 doc/contributing/submitting-changes.chapter.md+3−3 doc/functions/library/attrsets.xml+1−1 doc/hooks/index.xml−10 doc/hooks/postgresql-test-hook.section.md−59 doc/languages-frameworks/chicken.section.md−49 doc/languages-frameworks/coq.section.md+1−2 doc/languages-frameworks/cuda.section.md−34 doc/languages-frameworks/dotnet.section.md+1−1 doc/languages-frameworks/gnome.section.md+2−16 doc/languages-frameworks/go.section.md+1−5 doc/languages-frameworks/index.xml−2 doc/languages-frameworks/javascript.section.md+2−24 doc/languages-frameworks/ocaml.section.md+6−18 doc/languages-frameworks/python.section.md−25 doc/languages-frameworks/rust.section.md−2 doc/languages-frameworks/texlive.section.md+1−1 doc/languages-frameworks/vim.section.md+6−9 doc/manual.xml−2 doc/stdenv/cross-compilation.chapter.md+10−35 doc/stdenv/meta.chapter.md+4−34 doc/stdenv/stdenv.chapter.md+5−79 doc/using/overlays.chapter.md+2−18 doc/using/overrides.chapter.md+2−6 flake.nix+50−8 lib/asserts.nix+12−10 lib/attrsets.nix+21−130 lib/customisation.nix+2−49 lib/default.nix+13−22 lib/flakes.nix−22 lib/generators.nix+2−47 lib/licenses.nix−30 lib/lists.nix+8−9 lib/meta.nix+1−15 lib/modules.nix+59−200 lib/options.nix+8−52 lib/sources.nix+48−67 lib/strings.nix+5−196 lib/systems/default.nix+1−2 lib/systems/doubles.nix+2−8 lib/systems/examples.nix−20 lib/systems/inspect.nix+1−8 lib/systems/parse.nix+2−9 lib/systems/platforms.nix+1−48 lib/tests/flakes/subflakeTest/flake.nix−8 lib/tests/flakes/subflakeTest/subflake/flake.nix−5 lib/tests/misc.nix+1−429 lib/tests/modules.sh+1−48 lib/tests/modules/adhoc-freeformType-survives-type-merge.nix−14 lib/tests/modules/declare-bare-submodule-deep-option-duplicate.nix−10 lib/tests/modules/declare-bare-submodule-deep-option.nix−10 lib/tests/modules/declare-bare-submodule-nested-option.nix−19 lib/tests/modules/declare-bare-submodule.nix−18 lib/tests/modules/declare-set.nix−12 lib/tests/modules/define-bare-submodule-values.nix−4 lib/tests/modules/define-shorthandOnlyDefinesConfig-true.nix−1 lib/tests/modules/emptyValues.nix−36 lib/tests/modules/extendModules-168767-imports.nix−41 lib/tests/modules/freeform-submodules.nix−22 lib/tests/modules/optionTypeFile.nix−28 lib/tests/modules/optionTypeMerging.nix−27 lib/tests/modules/raw.nix−30 lib/tests/systems.nix+2−5 lib/trivial.nix+6−80 lib/types.nix+22−100 maintainers/maintainer-list.nix+111−1000 maintainers/scripts/dep-licenses.sh+1−1 maintainers/scripts/feature-freeze-teams.pl−98 maintainers/scripts/haskell/maintained-broken-pkgs.nix−22 maintainers/scripts/haskell/merge-and-open-pr.sh+1−1 maintainers/scripts/haskell/regenerate-hackage-packages.sh+1−1 maintainers/scripts/haskell/update-stackage.sh+12−25 maintainers/scripts/luarocks-packages.csv+3−4 maintainers/scripts/pluginupdate.py+167−284 maintainers/scripts/remove-old-aliases.py−211 maintainers/scripts/update-luarocks-packages+8−5 maintainers/scripts/update.nix+1−1 maintainers/scripts/update.py−4 maintainers/team-list.nix+3−380 nixos/default.nix+24−1 nixos/doc/manual/administration/declarative-containers.section.md+1−1 nixos/doc/manual/administration/imperative-containers.section.md+2−2 nixos/doc/manual/default.nix+1−5 nixos/doc/manual/development/activation-script.section.md−72 nixos/doc/manual/development/building-nixos.chapter.md+46 nixos/doc/manual/development/development.xml+1−1 nixos/doc/manual/development/option-declarations.section.md+16−91 nixos/doc/manual/development/option-types.section.md+4−29 nixos/doc/manual/development/running-nixos-tests-interactively.section.md+2−2 nixos/doc/manual/development/running-nixos-tests.section.md+2−2 nixos/doc/manual/development/settings-options.section.md−59 nixos/doc/manual/development/unit-handling.section.md−62 nixos/doc/manual/development/what-happens-during-a-system-switch.chapter.md−53 nixos/doc/manual/development/writing-modules.chapter.md−42 nixos/doc/manual/development/writing-nixos-tests.section.md+36−52 nixos/doc/manual/from_md/administration/declarative-containers.section.xml+2−2 nixos/doc/manual/from_md/administration/imperative-containers.section.xml+2−3 nixos/doc/manual/from_md/development/activation-script.section.xml−150 nixos/doc/manual/from_md/development/building-nixos.chapter.xml+72 nixos/doc/manual/from_md/development/option-declarations.section.xml+106−212 nixos/doc/manual/from_md/development/option-types.section.xml+5−56 nixos/doc/manual/from_md/development/running-nixos-tests-interactively.section.xml+2−2 nixos/doc/manual/from_md/development/running-nixos-tests.section.xml+2−2 nixos/doc/manual/from_md/development/settings-options.section.xml−136 nixos/doc/manual/from_md/development/unit-handling.section.xml−131 nixos/doc/manual/from_md/development/what-happens-during-a-system-switch.chapter.xml−122 nixos/doc/manual/from_md/development/writing-modules.chapter.xml−49 nixos/doc/manual/from_md/development/writing-nixos-tests.section.xml+56−95 nixos/doc/manual/from_md/installation/building-nixos.chapter.xml−106 nixos/doc/manual/from_md/installation/installing-pxe.section.xml+2−2 nixos/doc/manual/from_md/installation/installing-usb.section.xml+1−1 nixos/doc/manual/from_md/installation/installing.chapter.xml+7−7 nixos/doc/manual/from_md/release-notes/rl-1803.section.xml−8 nixos/doc/manual/from_md/release-notes/rl-2111.section.xml+2−50 nixos/doc/manual/from_md/release-notes/rl-2205.section.xml+149−2280 nixos/doc/manual/installation/building-nixos.chapter.md−77 nixos/doc/manual/installation/installation.xml−1 nixos/doc/manual/installation/installing-pxe.section.md+2−2 nixos/doc/manual/installation/installing-usb.section.md+1−1 nixos/doc/manual/installation/installing.chapter.md+5−5 nixos/doc/manual/man-nixos-rebuild.xml+1−27 nixos/doc/manual/man-pages.xml+2−7 nixos/doc/manual/md-to-db.sh+1−1 nixos/doc/manual/release-notes/release-notes.xml−1 nixos/doc/manual/release-notes/rl-1803.section.md−2 nixos/doc/manual/release-notes/rl-2111.section.md+1−21 nixos/doc/manual/release-notes/rl-2205.section.md+3−755 nixos/lib/default.nix−33 nixos/lib/eval-config-minimal.nix−49 nixos/lib/eval-config.nix+12−23 nixos/lib/make-disk-image.nix−1 nixos/lib/make-iso9660-image.sh−1 nixos/lib/make-options-doc/mergeJSON.py+2−11 nixos/lib/make-single-disk-zfs-image.nix−322 nixos/lib/make-multi-disk-zfs-image.nix → nixos/lib/make-zfs-image.nix nixos/lib/qemu-common.nix+4−4 nixos/lib/systemd-lib.nix+15−204 nixos/lib/systemd-types.nix−69 nixos/lib/systemd-unit-options.nix+388−563 nixos/lib/test-driver/test_driver/__init__.py+3−31 nixos/lib/test-driver/test_driver/driver.py+5−31 nixos/lib/test-driver/test_driver/logger.py+2−6 nixos/lib/test-driver/test_driver/machine.py+10−53 nixos/lib/testing-python.nix+18−20 nixos/lib/utils.nix+1−46 nixos/maintainers/scripts/azure-new/examples/basic/system.nix+1−1 nixos/maintainers/scripts/ec2/amazon-image.nix+1−1 nixos/maintainers/scripts/lxd/lxd-image.nix+1−1 nixos/maintainers/scripts/openstack/openstack-image-zfs.nix−101 nixos/maintainers/scripts/openstack/openstack-image.nix+8−9 nixos/modules/config/console.nix+9−23 nixos/modules/config/fonts/fonts.nix+5 nixos/modules/config/malloc.nix+2−9 nixos/modules/config/networking.nix+3−1 nixos/modules/config/nsswitch.nix+4−7 nixos/modules/config/resolvconf.nix+4−2 nixos/modules/config/terminfo.nix+1−25 nixos/modules/config/update-users-groups.pl+1−1 nixos/modules/config/users-groups.nix+13−38 nixos/modules/config/xdg/portal.nix+12−23 nixos/modules/hardware/all-firmware.nix+6−11 nixos/modules/hardware/cpu/intel-sgx.nix+21−43 nixos/modules/hardware/hackrf.nix−23 nixos/modules/hardware/network/b43.nix+4 nixos/modules/hardware/raid/hpsa.nix+1−4 nixos/modules/hardware/rtl-sdr.nix+4−8 nixos/modules/hardware/video/amdgpu-pro.nix+22−25 nixos/modules/hardware/video/capture/mwprocapture.nix+5 nixos/modules/hardware/video/nvidia.nix+19−26 nixos/modules/hardware/video/webcam/facetimehd.nix+6−14 nixos/modules/hardware/xone.nix−23 nixos/modules/i18n/input-method/fcitx5.nix+11−20 nixos/modules/installer/cd-dvd/channel.nix+1−2 nixos/modules/installer/cd-dvd/installation-cd-graphical-base.nix+8−14 nixos/modules/installer/cd-dvd/installation-cd-graphical-calamares-gnome.nix−59 nixos/modules/installer/cd-dvd/installation-cd-graphical-calamares-plasma5.nix−49 nixos/modules/installer/cd-dvd/installation-cd-graphical-calamares.nix−20 nixos/modules/installer/cd-dvd/installation-cd-graphical-gnome.nix+5−3 nixos/modules/installer/cd-dvd/installation-cd-graphical-plasma5.nix+3−1 nixos/modules/installer/cd-dvd/iso-image.nix+29−39 nixos/modules/installer/cd-dvd/system-tarball-sheevaplug.nix+3−3 nixos/modules/installer/kexec/kexec-boot.nix−51 nixos/modules/installer/netboot/netboot.nix+1−3 nixos/modules/installer/sd-card/sd-image-aarch64.nix−15 nixos/modules/installer/sd-card/sd-image-riscv64-qemu-installer.nix−10 nixos/modules/installer/tools/nix-fallback-paths.nix+5−5 nixos/modules/installer/tools/nixos-build-vms/build-vms.nix−3 nixos/modules/installer/tools/nixos-enter.sh+11−13 nixos/modules/installer/tools/nixos-generate-config.pl+6−16 nixos/modules/installer/tools/tools.nix+4−15 nixos/modules/installer/virtualbox-demo.nix+1−1 nixos/modules/misc/documentation.nix+3−4 nixos/modules/misc/ids.nix+5−7 nixos/modules/misc/locate.nix+61−97 nixos/modules/misc/nixpkgs.nix−5 nixos/modules/misc/nixpkgs/test.nix−8 nixos/modules/misc/version.nix+18−47 nixos/modules/misc/wordlist.nix−59 nixos/modules/module-list.nix+17−71 nixos/modules/profiles/all-hardware.nix−3 nixos/modules/profiles/hardened.nix+1−1 nixos/modules/profiles/installation-device.nix−4 nixos/modules/profiles/qemu-guest.nix+2−2 nixos/modules/programs/_1password-gui.nix−68 nixos/modules/programs/_1password.nix−44 nixos/modules/programs/adb.nix+2−1 nixos/modules/programs/calls.nix−2 nixos/modules/programs/captive-browser.nix+1−19 nixos/modules/programs/chromium.nix−11 nixos/modules/programs/command-not-found/command-not-found.pl+4−36 nixos/modules/programs/dconf.nix+1−1 nixos/modules/programs/environment.nix+1−3 nixos/modules/programs/firejail.nix+2−2 nixos/modules/programs/k3b.nix−52 nixos/modules/programs/k40-whisperer.nix−40 nixos/modules/programs/kclock.nix−13 nixos/modules/programs/mininet.nix+2−2 nixos/modules/programs/nbd.nix−19 nixos/modules/programs/nethoscope.nix−30 nixos/modules/programs/nix-ld.nix−12 nixos/modules/programs/nncp.nix−101 nixos/modules/programs/phosh.nix+10−9 nixos/modules/programs/spacefm.nix+2 nixos/modules/programs/ssh.nix+12−58 nixos/modules/programs/ssmtp.nix+190 nixos/modules/programs/starship.nix−51 nixos/modules/programs/sway.nix+2−3 nixos/modules/programs/thefuck.nix+6−7 nixos/modules/programs/tilp2.nix+28 nixos/modules/programs/tmux.nix+1−14 nixos/modules/programs/tsm-client.nix+4−4 nixos/modules/programs/zsh/zsh-autosuggestions.nix+10−11 nixos/modules/rename.nix+47−60 nixos/modules/security/acme.nix+921 nixos/modules/security/acme/doc.xml → nixos/modules/security/acme.xml nixos/modules/security/acme/default.nix−921 nixos/modules/security/acme/mk-cert-ownership-assertion.nix−4 nixos/modules/security/google_oslogin.nix+3−6 nixos/modules/security/misc.nix+2−2 nixos/modules/security/pam.nix+13−123 nixos/modules/security/pam_mount.nix+6−78 nixos/modules/security/polkit.nix+5−1 nixos/modules/security/sudo.nix+1−1 nixos/modules/security/systemd-confinement.nix+2−2 nixos/modules/security/wrappers/default.nix+1 nixos/modules/services/admin/pgadmin.nix−127 nixos/modules/services/audio/jmusicbot.nix+1−8 nixos/modules/services/audio/mpd.nix+41−21 nixos/modules/services/audio/roon-server.nix+1−4 nixos/modules/services/audio/snapserver.nix+20−28 nixos/modules/services/audio/squeezelite.nix+21−17 nixos/modules/services/backup/borgbackup.nix+6−35 nixos/modules/services/backup/mysql-backup.nix+1−2 nixos/modules/services/backup/tsm.nix+14−33 nixos/modules/services/backup/zrepl.nix−3 nixos/modules/services/cluster/corosync/default.nix−112 nixos/modules/services/cluster/hadoop/conf.nix+11−11 nixos/modules/services/cluster/hadoop/default.nix+25−72 nixos/modules/services/cluster/hadoop/hdfs.nix+147−148 nixos/modules/services/cluster/hadoop/yarn.nix+13−85 nixos/modules/services/cluster/k3s/default.nix+5−1 nixos/modules/services/cluster/kubernetes/pki.nix+1−1 nixos/modules/services/cluster/kubernetes/scheduler.nix+2−2 nixos/modules/services/cluster/pacemaker/default.nix−52 nixos/modules/services/computing/slurm/slurm.nix+4−5 nixos/modules/services/continuous-integration/buildbot/master.nix+2−2 nixos/modules/services/continuous-integration/github-runner.nix−19 nixos/modules/services/continuous-integration/gitlab-runner.nix+3−10 nixos/modules/services/continuous-integration/hercules-ci-agent/default.nix+1−1 nixos/modules/services/continuous-integration/hydra/default.nix+12−15 nixos/modules/services/continuous-integration/jenkins/slave.nix+1−15 nixos/modules/services/databases/cockroachdb.nix+29−37 nixos/modules/services/databases/couchdb.nix−6 nixos/modules/services/databases/redis.nix+8−15 nixos/modules/services/databases/virtuoso.nix+99 nixos/modules/services/desktops/flatpak.nix−2 nixos/modules/services/desktops/gnome/glib-networking.nix+1−1 nixos/modules/services/desktops/gnome/tracker-miners.nix−2 nixos/modules/services/desktops/gnome/tracker.nix+1−24 nixos/modules/services/desktops/gvfs.nix+1−1 nixos/modules/services/desktops/pantheon/files.nix+13 nixos/modules/services/desktops/pipewire/daemon/client-rt.conf.json+1−1 nixos/modules/services/desktops/pipewire/daemon/minimal.conf.json−118 nixos/modules/services/desktops/pipewire/daemon/pipewire-pulse.conf.json+10−68 nixos/modules/services/desktops/pipewire/daemon/pipewire.conf.json+2−5 nixos/modules/services/desktops/pipewire/pipewire-media-session.nix+7−11 nixos/modules/services/desktops/pipewire/pipewire.nix+3−21 nixos/modules/services/desktops/pipewire/wireplumber.nix+5−18 nixos/modules/services/development/jupyter/default.nix−1 nixos/modules/services/development/rstudio-server/default.nix−107 nixos/modules/services/development/zammad.nix−323 nixos/modules/services/editors/haste.nix−86 nixos/modules/services/games/asf.nix−236 nixos/modules/services/games/factorio.nix−9 nixos/modules/services/games/minecraft-server.nix+1−1 nixos/modules/services/hardware/ddccontrol.nix−3 nixos/modules/services/hardware/joycond.nix+6−2 nixos/modules/services/hardware/thermald.nix+1−3 nixos/modules/services/hardware/triggerhappy.nix+1−1 nixos/modules/services/hardware/udev.nix+24−127 nixos/modules/services/hardware/udisks2.nix−41 nixos/modules/services/hardware/undervolt.nix+3−1 nixos/modules/services/hardware/upower.nix+6−6 nixos/modules/services/hardware/usbrelayd.nix−44 nixos/modules/services/home-automation/home-assistant.nix−552 nixos/modules/services/logging/graylog.nix+1−1 nixos/modules/services/logging/klogd.nix+35−6 nixos/modules/services/logging/logrotate.nix+46−252 nixos/modules/services/logging/promtail.nix+1−1 nixos/modules/services/mail/dovecot.nix+41−14 nixos/modules/services/mail/mailman.nix+7−14 nixos/modules/services/mail/postfix.nix+17−22 nixos/modules/services/mail/postfixadmin.nix+1−1 nixos/modules/services/mail/roundcube.nix+1−1 nixos/modules/services/matrix/matrix-synapse.nix−773 nixos/modules/services/matrix/mjolnir.xml+2−2 nixos/modules/services/misc/airsonic.nix+3−5 nixos/modules/services/misc/ananicy.nix+1−1 nixos/modules/services/misc/autorandr.nix+2−309 nixos/modules/services/misc/bees.nix−3 nixos/modules/services/misc/dendrite.nix+8−100 nixos/modules/services/misc/etebase-server.nix+1−1 nixos/modules/services/misc/ethminer.nix+4−4 nixos/modules/services/misc/gitea.nix+17−25 nixos/modules/services/misc/gitit.nix+1−1 nixos/modules/services/misc/gitlab.nix+28−37 nixos/modules/services/misc/heisenbridge.nix+12−26 nixos/modules/services/misc/home-assistant.nix+409 nixos/modules/services/misc/input-remapper.nix−30 nixos/modules/services/misc/jellyfin.nix+3−5 nixos/modules/services/misc/matrix-conduit.nix−9 nixos/modules/services/matrix/matrix-synapse-log_config.yaml → nixos/modules/services/misc/matrix-synapse-log_config.yaml nixos/modules/services/misc/matrix-synapse.nix+818 nixos/modules/services/matrix/matrix-synapse.xml → nixos/modules/services/misc/matrix-synapse.xml+17−18 nixos/modules/services/misc/mbpfan.nix+60−58 nixos/modules/services/misc/mediatomb.nix+1−1 nixos/modules/services/misc/moonraker.nix−40 nixos/modules/services/misc/mx-puppet-discord.nix+4−1 nixos/modules/services/misc/n8n.nix−1 nixos/modules/services/misc/nitter.nix+4−11 nixos/modules/services/misc/nix-daemon.nix+279−428 nixos/modules/services/misc/nix-gc.nix+3−9 nixos/modules/services/misc/nix-optimise.nix+2−8 nixos/modules/services/misc/nix-ssh-serve.nix+1−1 nixos/modules/services/misc/packagekit.nix+2−4 nixos/modules/services/misc/paperless-ng.nix+308 nixos/modules/services/misc/paperless.nix−320 nixos/modules/services/misc/plex.nix+13−18 nixos/modules/services/misc/rmfakecloud.nix−147 nixos/modules/services/misc/sourcehut/default.nix+1−1 nixos/modules/services/misc/sourcehut/git.nix+1−1 nixos/modules/services/misc/taskserver/default.nix+10−15 nixos/modules/services/misc/taskserver/doc.xml+1−1 nixos/modules/services/misc/taskserver/helper-tool.py+5−5 nixos/modules/services/home-automation/zigbee2mqtt.nix → nixos/modules/services/misc/zigbee2mqtt.nix nixos/modules/services/misc/zoneminder.nix+2−2 nixos/modules/services/misc/zookeeper.nix+1−8 nixos/modules/services/monitoring/collectd.nix+26−30 nixos/modules/services/monitoring/grafana.nix−5 nixos/modules/services/monitoring/mimir.nix−63 nixos/modules/services/monitoring/nagios.nix+2−2 nixos/modules/services/monitoring/netdata.nix+2−38 nixos/modules/services/monitoring/prometheus/default.nix+11−4 nixos/modules/services/monitoring/prometheus/exporters.nix−2 nixos/modules/services/monitoring/prometheus/exporters.xml−21 nixos/modules/services/monitoring/prometheus/exporters/bird.nix+1−1 nixos/modules/services/monitoring/prometheus/exporters/dmarc.nix−117 nixos/modules/services/monitoring/prometheus/exporters/kea.nix−4 nixos/modules/services/monitoring/prometheus/exporters/pve.nix−118 nixos/modules/services/monitoring/prometheus/exporters/smartctl.nix+2−13 nixos/modules/services/monitoring/prometheus/exporters/systemd.nix+1−1 nixos/modules/services/monitoring/prometheus/exporters/varnish.nix+2−3 nixos/modules/services/network-filesystems/ceph.nix+2−2 nixos/modules/services/network-filesystems/ipfs.nix+31−36 nixos/modules/services/network-filesystems/moosefs.nix−249 nixos/modules/services/network-filesystems/rsyncd.nix+1−1 nixos/modules/services/network-filesystems/samba.nix−1 nixos/modules/services/networking/adguardhome.nix+1−17 nixos/modules/services/networking/amuled.nix+1−1 nixos/modules/services/networking/asterisk.nix+43−11 nixos/modules/services/networking/bind.nix+1−9 nixos/modules/services/networking/bird.nix+75−90 nixos/modules/services/networking/blocky.nix−40 nixos/modules/services/networking/cloudflare-dyndns.nix−93 nixos/modules/services/networking/connman.nix+2−2 nixos/modules/services/networking/consul.nix+6−32 nixos/modules/services/networking/create_ap.nix−50 nixos/modules/services/networking/ddclient.nix+4−8 nixos/modules/services/networking/dhcpcd.nix−14 nixos/modules/services/networking/dhcpd.nix+52−49 nixos/modules/services/networking/envoy.nix−84 nixos/modules/services/networking/ergochat.nix−155 nixos/modules/services/networking/eternal-terminal.nix+1−1 nixos/modules/services/networking/firewall.nix+7−1 nixos/modules/services/networking/frr.nix−211 nixos/modules/services/networking/gogoclient.nix+87 nixos/modules/services/networking/headscale.nix−490 nixos/modules/services/networking/https-dns-proxy.nix−128 nixos/modules/services/networking/hylafax/options.nix+9−7 nixos/modules/services/networking/i2pd.nix+9−7 nixos/modules/services/networking/iwd.nix+6−15 nixos/modules/services/networking/kea.nix+8−74 nixos/modules/services/networking/kresd.nix+4−5 nixos/modules/services/networking/lxd-image-server.nix+11−7 nixos/modules/services/networking/mailpile.nix+74 nixos/modules/services/networking/mosquitto.nix+3−12 nixos/modules/services/networking/mozillavpn.nix−19 nixos/modules/services/networking/mtr-exporter.nix−87 nixos/modules/services/networking/multipath.nix+15 nixos/modules/services/networking/murmur.nix+2−2 nixos/modules/services/networking/nbd.nix−159 nixos/modules/services/networking/ncdns.nix+2−2 nixos/modules/services/networking/networkmanager.nix+52−73 nixos/modules/services/networking/nftables.nix+12−4 nixos/modules/services/networking/nix-serve.nix−10 nixos/modules/services/networking/nsd.nix+12−8 nixos/modules/services/networking/ntopng.nix+10−53 nixos/modules/services/networking/openconnect.nix−137 nixos/modules/services/networking/openfire.nix+56 nixos/modules/services/networking/pdns-recursor.nix+7−12 nixos/modules/services/networking/pleroma.nix+4−4 nixos/modules/services/networking/powerdns.nix+2−2 nixos/modules/services/networking/prosody.nix−1 nixos/modules/services/networking/racoon.nix+45 nixos/modules/services/networking/seafile.nix+17−13 nixos/modules/services/networking/shellhub-agent.nix+17−26 nixos/modules/services/networking/sniproxy.nix+15−4 nixos/modules/services/networking/snowflake-proxy.nix−81 nixos/modules/services/networking/squid.nix+4−23 nixos/modules/services/networking/ssh/sshd.nix+4−8 nixos/modules/services/networking/stunnel.nix+2−2 nixos/modules/services/networking/supplicant.nix+1−1 nixos/modules/services/networking/syncplay.nix+2−18 nixos/modules/services/networking/syncthing.nix+2−2 nixos/modules/services/networking/tailscale.nix+1−9 nixos/modules/services/networking/teleport.nix−99 nixos/modules/services/networking/tetrd.nix+1−1 nixos/modules/services/networking/thelounge.nix+7−38 nixos/modules/services/networking/tox-node.nix+6−1 nixos/modules/services/networking/unbound.nix−1 nixos/modules/services/networking/vsftpd.nix−1 nixos/modules/services/networking/wg-netmanager.nix−42 nixos/modules/services/networking/wg-quick.nix+1−8 nixos/modules/services/networking/wpa_supplicant.nix+3−46 nixos/modules/services/networking/yggdrasil.xml+1 nixos/modules/services/networking/zeronet.nix+1−1 nixos/modules/services/search/elasticsearch.nix+1−15 nixos/modules/services/security/aesmd.nix−5 nixos/modules/services/security/cfssl.nix+41−54 nixos/modules/services/security/clamav.nix+5−4 nixos/modules/services/security/fprot.nix+82 nixos/modules/services/security/haveged.nix+29−39 nixos/modules/services/security/oauth2_proxy.nix+4−9 nixos/modules/services/security/opensnitch.nix+1−102 nixos/modules/services/security/sslmate-agent.nix−32 nixos/modules/services/security/step-ca.nix+3−12 nixos/modules/services/security/tor.nix+3−17 nixos/modules/services/security/vaultwarden/default.nix+3−3 nixos/modules/services/system/cachix-agent/default.nix−57 nixos/modules/services/system/cloud-init.nix+1−15 nixos/modules/services/system/earlyoom.nix+97−133 nixos/modules/services/system/nscd.nix+9−20 nixos/modules/services/system/self-deploy.nix+2−3 nixos/modules/services/system/systembus-notify.nix−27 nixos/modules/services/ttys/kmscon.nix+5−24 nixos/modules/services/video/epgstation/default.nix+168−180 nixos/modules/services/video/epgstation/streaming.json+108−129 nixos/modules/services/video/unifi-video.nix+82−86 nixos/modules/services/wayland/cage.nix−2 nixos/modules/services/web-apps/atlassian/jira.nix−1 nixos/modules/services/web-apps/baget.nix−170 nixos/modules/services/web-apps/bookstack.nix+60−142 nixos/modules/services/web-apps/discourse.nix+3−9 nixos/modules/services/web-apps/dokuwiki.nix+37−22 nixos/modules/services/web-apps/ethercalc.nix−62 nixos/modules/services/web-apps/galene.nix−29 nixos/modules/services/web-apps/invoiceplane.nix−305 nixos/modules/services/web-apps/jirafeau.nix+1−1 nixos/modules/services/web-apps/jitsi-meet.nix+1−1 nixos/modules/services/web-apps/keycloak.nix+601−544 nixos/modules/services/web-apps/keycloak.xml+69−65 nixos/modules/services/web-apps/mastodon.nix+1−4 nixos/modules/services/web-apps/matomo.nix−1 nixos/modules/services/web-apps/mattermost.nix+1−1 nixos/modules/services/web-apps/miniflux.nix+29−26 nixos/modules/services/web-apps/netbox.nix−265 nixos/modules/services/web-apps/nextcloud.nix+21−94 nixos/modules/services/web-apps/nifi.nix−318 nixos/modules/services/web-apps/peertube.nix+1−11 nixos/modules/services/web-apps/plantuml-server.nix+3−18 nixos/modules/services/web-apps/plausible.nix+8−7 nixos/modules/services/web-apps/prosody-filer.nix−86 nixos/modules/services/web-apps/restya-board.nix+1−1 nixos/modules/services/web-apps/rss-bridge.nix+1−1 nixos/modules/services/web-apps/timetagger.nix−80 nixos/modules/services/web-apps/wordpress.nix+40−30 nixos/modules/services/web-servers/agate.nix−148 nixos/modules/services/web-servers/apache-httpd/default.nix+14−15 nixos/modules/services/web-servers/caddy/default.nix+3−10 nixos/modules/services/web-servers/hydron.nix+1−1 nixos/modules/services/web-servers/nginx/default.nix+19−49 nixos/modules/services/web-servers/nginx/gitweb.nix+1−1 nixos/modules/services/web-servers/nginx/vhost-options.nix+3−12 nixos/modules/services/web-servers/pomerium.nix+3−7 nixos/modules/services/web-servers/shellinabox.nix+122 nixos/modules/services/web-servers/tomcat.nix+3−4 nixos/modules/services/web-servers/uwsgi.nix+9−7 nixos/modules/services/x11/desktop-managers/cinnamon.nix+5−5 nixos/modules/services/x11/desktop-managers/default.nix+1−1 nixos/modules/services/x11/desktop-managers/enlightenment.nix−5 nixos/modules/services/x11/desktop-managers/gnome.nix+69−44 nixos/modules/services/x11/desktop-managers/gnome.xml+9 nixos/modules/services/x11/desktop-managers/lumina.nix−4 nixos/modules/services/x11/desktop-managers/lxqt.nix+2−11 nixos/modules/services/x11/desktop-managers/mate.nix+37−9 nixos/modules/services/x11/desktop-managers/none.nix+5−44 nixos/modules/services/x11/desktop-managers/pantheon.nix+7−10 nixos/modules/services/x11/desktop-managers/pantheon.xml+5−5 nixos/modules/services/x11/desktop-managers/plasma5.nix+3−4 nixos/modules/services/x11/desktop-managers/retroarch.nix−40 nixos/modules/services/x11/desktop-managers/xfce.nix+1−8 nixos/modules/services/x11/display-managers/default.nix−1 nixos/modules/services/x11/display-managers/gdm.nix+25−4 nixos/modules/services/x11/display-managers/lightdm.nix−2 nixos/modules/services/x11/window-managers/qtile.nix+4−11 nixos/modules/services/x11/window-managers/xmonad.nix+12−45 nixos/modules/services/x11/xserver.nix+7−11 nixos/modules/system/activation/activation-script.nix−1 nixos/modules/system/activation/switch-to-configuration.pl+259−642 nixos/modules/system/activation/top-level.nix+18−58 nixos/modules/system/boot/binfmt.nix+8−5 nixos/modules/system/boot/kernel.nix+2−2 nixos/modules/system/boot/loader/grub/grub.nix−26 nixos/modules/system/boot/loader/grub/install-grub.pl+3−5 nixos/modules/system/boot/loader/systemd-boot/systemd-boot-builder.py+32−34 nixos/modules/system/boot/loader/systemd-boot/systemd-boot.nix+2−135 nixos/modules/system/boot/luksroot.nix+7−74 nixos/modules/system/boot/modprobe.nix−2 nixos/modules/system/boot/networkd.nix+3−192 nixos/modules/system/boot/stage-1-init.sh+23−28 nixos/modules/system/boot/stage-1.nix+16−38 nixos/modules/system/boot/stage-2-init.sh+98−66 nixos/modules/system/boot/stage-2.nix+39−2 nixos/modules/system/boot/systemd-nspawn.nix+133 nixos/modules/system/boot/systemd.nix+676−71 nixos/modules/system/boot/systemd/coredump.nix−57 nixos/modules/system/boot/systemd/initrd-secrets.nix−36 nixos/modules/system/boot/systemd/initrd.nix−502 nixos/modules/system/boot/systemd/journald.nix−131 nixos/modules/system/boot/systemd/logind.nix−114 nixos/modules/system/boot/systemd/nspawn.nix−131 nixos/modules/system/boot/systemd/shutdown.nix−58 nixos/modules/system/boot/systemd/tmpfiles.nix−120 nixos/modules/system/boot/systemd/user.nix−153 nixos/modules/system/boot/timesyncd.nix+5−17 nixos/modules/system/boot/tmp.nix+1−6 nixos/modules/system/build.nix−21 nixos/modules/system/etc/etc-activation.nix−12 nixos/modules/system/etc/etc.nix+3−3 nixos/modules/system/etc/test.nix−70 nixos/modules/tasks/auto-upgrade.nix+20−104 nixos/modules/tasks/bcache.nix+6−16 nixos/modules/tasks/filesystems.nix+2−31 nixos/modules/tasks/filesystems/apfs.nix−22 nixos/modules/tasks/filesystems/btrfs.nix+3−3 nixos/modules/tasks/filesystems/cifs.nix+1−1 nixos/modules/tasks/filesystems/ext.nix+4−10 nixos/modules/tasks/filesystems/f2fs.nix+1−1 nixos/modules/tasks/filesystems/jfs.nix+1−1 nixos/modules/tasks/filesystems/reiserfs.nix+1−1 nixos/modules/tasks/filesystems/unionfs-fuse.nix+2−13 nixos/modules/tasks/filesystems/vfat.nix+1−1 nixos/modules/tasks/filesystems/xfs.nix+2−2 nixos/modules/tasks/filesystems/zfs.nix+33−9 nixos/modules/tasks/lvm.nix+6−55 nixos/modules/tasks/network-interfaces-scripted.nix−2 nixos/modules/tasks/network-interfaces-systemd.nix+1−64 nixos/modules/tasks/network-interfaces.nix+24−51 nixos/modules/tasks/swraid.nix+9−35 nixos/modules/testing/test-instrumentation.nix+26−23 nixos/modules/virtualisation/amazon-image.nix+1−6 nixos/modules/virtualisation/azure-agent.nix+9−5 nixos/modules/virtualisation/azure-common.nix+1−5 nixos/modules/virtualisation/build-vm.nix−58 nixos/modules/virtualisation/container-config.nix+1−1 nixos/modules/virtualisation/containerd.nix−1 nixos/modules/virtualisation/docker-rootless.nix+1−5 nixos/modules/virtualisation/fetch-instance-ssh-keys.bash+36 nixos/modules/virtualisation/google-compute-config.nix+103−32 nixos/modules/virtualisation/kvmgt.nix+1−1 nixos/modules/virtualisation/libvirtd.nix−4 nixos/modules/virtualisation/nixos-containers.nix+11−26 nixos/modules/virtualisation/oci-containers.nix+9−7 nixos/modules/virtualisation/openstack-config.nix+7−39 nixos/modules/virtualisation/openstack-metadata-fetcher.nix+4−5 nixos/modules/virtualisation/openstack-options.nix−71 nixos/modules/virtualisation/openvswitch.nix+53−8 nixos/modules/virtualisation/podman/default.nix+1−4 nixos/modules/virtualisation/proxmox-lxc.nix−64 nixos/modules/virtualisation/qemu-vm.nix+8−55 nixos/modules/virtualisation/virtualbox-guest.nix+1−1 nixos/modules/virtualisation/vmware-guest.nix−1 nixos/modules/virtualisation/vmware-host.nix−166 nixos/modules/virtualisation/waydroid.nix+2−4 nixos/release-combined.nix+2−4 nixos/release-small.nix+2−4 nixos/release.nix+2−2 nixos/tests/acme.nix+6−6 nixos/tests/adguardhome.nix−57 nixos/tests/aesmd.nix+1−1 nixos/tests/agda.nix+1−1 nixos/tests/airsonic.nix+1−1 nixos/tests/all-terminfo.nix−31 nixos/tests/all-tests.nix+13−98 nixos/tests/amazon-init-shell.nix+1−1 nixos/tests/apfs.nix−54 nixos/tests/apparmor.nix+1−1 nixos/tests/atd.nix+1−1 nixos/tests/atop.nix+14−6 nixos/tests/avahi.nix+1−1 nixos/tests/bcachefs.nix+9−8 nixos/tests/beanstalkd.nix+1−1 nixos/tests/bees.nix+1−1 nixos/tests/bind.nix+1−1 nixos/tests/bird.nix−129 nixos/tests/bitcoind.nix+1−1 nixos/tests/blockbook-frontend.nix+1−1 nixos/tests/blocky.nix−34 nixos/tests/boot-stage1.nix+1−3 nixos/tests/boot.nix+1 nixos/tests/borgbackup.nix+1−1 nixos/tests/botamusique.nix−4 nixos/tests/bpf.nix+2−6 nixos/tests/breitbandmessung.nix−33 nixos/tests/brscan5.nix+1−1 nixos/tests/btrbk.nix+1−1 nixos/tests/buildkite-agents.nix+1−1 nixos/tests/caddy.nix+3−3 nixos/tests/cage.nix+1−1 nixos/tests/cagebreak.nix+1−1 nixos/tests/ceph-multi-node.nix+1−1 nixos/tests/cfssl.nix+1−1 nixos/tests/chromium.nix+18−20 nixos/tests/clickhouse.nix+1−1 nixos/tests/cloud-init.nix+2−27 nixos/tests/cntr.nix+5−17 nixos/tests/collectd.nix+2−7 nixos/tests/common/lxd/config.yaml−24 nixos/tests/containers-bridge.nix+1−1 nixos/tests/containers-custom-pkgs.nix+1−1 nixos/tests/containers-ephemeral.nix+4−4 nixos/tests/containers-extra_veth.nix+1−1 nixos/tests/containers-hosts.nix+1−1 nixos/tests/containers-imperative.nix+9−9 nixos/tests/containers-ip.nix+1−1 nixos/tests/containers-names.nix+1−1 nixos/tests/containers-nested.nix+1−1 nixos/tests/containers-portforward.nix+1−1 nixos/tests/containers-tmpfs.nix+6−6 nixos/tests/cri-o.nix+1−1 nixos/tests/custom-ca.nix+90−104 nixos/tests/disable-installer-tools.nix+1−1 nixos/tests/dnsdist.nix−48 nixos/tests/doas.nix+1−1 nixos/tests/docker-tools-cross.nix+2−2 nixos/tests/docker-tools.nix+1−1 nixos/tests/documize.nix+1−1 nixos/tests/doh-proxy-rust.nix+1−1 nixos/tests/domination.nix+1−1 nixos/tests/dovecot.nix+1−1 nixos/tests/earlyoom.nix−16 nixos/tests/ecryptfs.nix+1−1 nixos/tests/emacs-daemon.nix+2−2 nixos/tests/empty-file nixos/tests/enlightenment.nix+1−1 nixos/tests/env.nix+1−1 nixos/tests/envoy.nix−33 nixos/tests/ergochat.nix−97 nixos/tests/etebase-server.nix+1−1 nixos/tests/etesync-dav.nix+1−1 nixos/tests/fancontrol.nix+1−1 nixos/tests/fcitx/default.nix+1−1 nixos/tests/fenics.nix+1−1 nixos/tests/firefox.nix+1−1 nixos/tests/fish.nix+1−1 nixos/tests/fluentd.nix+1−1 nixos/tests/fontconfig-default-fonts.nix+1−1 nixos/tests/frr.nix−104 nixos/tests/fsck.nix+1−1 nixos/tests/ft2-clone.nix+1−1 nixos/tests/geth.nix+2−2 nixos/tests/gitlab.nix+21−300 nixos/tests/gitolite-fcgiwrap.nix+2−2 nixos/tests/gnome-xorg.nix+1−2 nixos/tests/gnome.nix+1−2 nixos/tests/google-oslogin/default.nix+2−2 nixos/tests/google-oslogin/server.nix+4−2 nixos/tests/google-oslogin/server.py nixos/tests/gotify-server.nix+1−1 nixos/tests/graylog.nix+1−1 nixos/tests/grocy.nix+1−1 nixos/tests/grub.nix+1−1 nixos/tests/hadoop/default.nix−7 nixos/tests/hadoop/hadoop.nix+123−150 nixos/tests/hadoop/hdfs.nix+18−43 nixos/tests/hadoop/yarn.nix+13−21 nixos/tests/handbrake.nix+33 nixos/tests/haproxy.nix+1 nixos/tests/hardened.nix+2−2 nixos/tests/haste-server.nix−23 nixos/tests/hbase.nix−30 nixos/tests/herbstluftwm.nix+1−1 nixos/tests/hibernate.nix+5−16 nixos/tests/hitch/default.nix+1−1 nixos/tests/hocker-fetchdocker/default.nix+1−1 nixos/tests/hockeypuck.nix+1−1 nixos/tests/home-assistant.nix+35−78 nixos/tests/hostname.nix+1−1 nixos/tests/hound.nix+1−1 nixos/tests/hydra/common.nix+1−1 nixos/tests/hydra/default.nix+1−1 nixos/tests/i3wm.nix+1−1 nixos/tests/ihatemoney/default.nix+1−1 nixos/tests/incron.nix+1−1 nixos/tests/initrd-network.nix+1−1 nixos/tests/initrd-secrets.nix+1−1 nixos/tests/input-remapper.nix−52 nixos/tests/installed-tests/appstream-qt.nix−9 nixos/tests/installed-tests/appstream.nix−9 nixos/tests/installed-tests/default.nix+1−3 nixos/tests/installed-tests/flatpak.nix−1 nixos/tests/installed-tests/gjs.nix−6 nixos/tests/installer-systemd-stage-1.nix−33 nixos/tests/installer.nix+19−25 nixos/tests/invidious.nix+1−1 nixos/tests/invoiceplane.nix−82 nixos/tests/ipfs.nix−5 nixos/tests/iscsi-multipath-root.nix+5−5 nixos/tests/iscsi-root.nix+5−5 nixos/tests/isso.nix+1−1 nixos/tests/jellyfin.nix+1−1 nixos/tests/jenkins.nix−2 nixos/tests/jibri.nix+2−2 nixos/tests/jitsi-meet.nix+2−2 nixos/tests/k3s-single-node-docker.nix−84 nixos/tests/k3s-single-node.nix−82 nixos/tests/k3s.nix+78 nixos/tests/kbd-setfont-decompress.nix+1−1 nixos/tests/kbd-update-search-paths-patch.nix+1−1 nixos/tests/keepassxc.nix+9−43 nixos/tests/kerberos/heimdal.nix+1−1 nixos/tests/kerberos/mit.nix+1−1 nixos/tests/kernel-generic.nix+1−1 nixos/tests/kernel-latest-ath-user-regd.nix+1−1 nixos/tests/kexec.nix+16−44 nixos/tests/keycloak.nix+13−33 nixos/tests/krb5/deprecated-config.nix+1−1 nixos/tests/krb5/example-config.nix+1−1 nixos/tests/ksm.nix+1−1 nixos/tests/kubernetes/base.nix+2−2 nixos/tests/kubernetes/rbac.nix+2−2 nixos/tests/libinput.nix+1−1 nixos/tests/libresprite.nix+1−1 nixos/tests/libreswan.nix+2−2 nixos/tests/lightdm.nix+1−1 nixos/tests/limesurvey.nix+1−1 nixos/tests/litestream.nix+1−1 nixos/tests/login.nix+1−1 nixos/tests/logrotate.nix−152 nixos/tests/loki.nix+1−1 nixos/tests/lorri/default.nix+2−2 nixos/tests/lvm2/default.nix−45 nixos/tests/lvm2/systemd-stage-1.nix−104 nixos/tests/lvm2/thinpool.nix−32 nixos/tests/lvm2/vdo.nix−27 nixos/tests/lxd-image-server.nix+49−16 nixos/tests/lxd-image.nix+89 nixos/tests/lxd-nftables.nix+1−1 nixos/tests/lxd.nix+64−41 nixos/tests/maestral.nix−72 nixos/tests/magnetico.nix+1−1 nixos/tests/mailcatcher.nix+3−8 nixos/tests/mailhog.nix+1−1 nixos/tests/matomo.nix+1−1 nixos/tests/matrix-appservice-irc.nix+21−28 nixos/tests/matrix-synapse.nix+18−46 nixos/tests/matrix/mjolnir.nix+19−24 nixos/tests/matrix/pantalaimon.nix+4−27 nixos/tests/mediawiki.nix+1−1 nixos/tests/meilisearch.nix+1−1 nixos/tests/memcached.nix+1−1 nixos/tests/minidlna.nix+2−4 nixos/tests/miniflux.nix+6−18 nixos/tests/misc.nix+4−4 nixos/tests/mod_perl.nix+1−1 nixos/tests/mongodb.nix−4 nixos/tests/moodle.nix+1−1 nixos/tests/moonraker.nix−45 nixos/tests/moosefs.nix−89 nixos/tests/mpd.nix+1−1 nixos/tests/mtp.nix−109 nixos/tests/musescore.nix+1−1 nixos/tests/mysql/common.nix−10 nixos/tests/mysql/mariadb-galera-mariabackup.nix+233 nixos/tests/mysql/mariadb-galera-rsync.nix+226 nixos/tests/mysql/mariadb-galera.nix−250 nixos/tests/mysql/mysql-autobackup.nix+33−48 nixos/tests/mysql/mysql-backup.nix+44−60 nixos/tests/mysql/mysql-replication.nix+74−84 nixos/tests/mysql/mysql.nix+206−134 nixos/tests/nagios.nix+1−1 nixos/tests/nano.nix+44 nixos/tests/nar-serve.nix+1−1 nixos/tests/nats.nix+13−11 nixos/tests/navidrome.nix+1−1 nixos/tests/nbd.nix−103 nixos/tests/ncdns.nix+9−6 nixos/tests/networking.nix+12−65 nixos/tests/nextcloud/default.nix+1−1 nixos/tests/nextcloud/with-mysql-and-memcached.nix+21−1 nixos/tests/nginx-modsecurity.nix−39 nixos/tests/nginx-pubhtml.nix+1−1 nixos/tests/nginx-sandbox.nix+1−1 nixos/tests/nginx-sso.nix+1−1 nixos/tests/nginx-variants.nix+1−1 nixos/tests/nix-ld.nix−20 nixos/tests/nix-serve.nix+1−1 nixos/tests/nixops/default.nix+3−3 nixos/tests/nixops/legacy/base-configuration.nix+1−1 nixos/tests/nixos-generate-config.nix+1−1 nixos/tests/noto-fonts.nix−44 nixos/tests/novacomd.nix+1−1 nixos/tests/oh-my-zsh.nix+1−1 nixos/tests/openldap.nix+3−3 nixos/tests/openssh.nix+6−12 nixos/tests/opentabletdriver.nix+1−1 nixos/tests/os-prober.nix+6−6 nixos/tests/osrm-backend.nix+1−1 nixos/tests/overlayfs.nix+1−1 nixos/tests/pacemaker.nix−110 nixos/tests/packagekit.nix+1−1 nixos/tests/pam/pam-oath-login.nix+2−2 nixos/tests/pam/pam-u2f.nix+1−1 nixos/tests/pam/pam-ussh.nix−70 nixos/tests/pantheon.nix+1−1 nixos/tests/paperless-ng.nix+45 nixos/tests/paperless.nix−44 nixos/tests/pdns-recursor.nix+1−4 nixos/tests/pgadmin4-standalone.nix−43 nixos/tests/pgadmin4.nix−132 nixos/tests/php/fpm.nix+2−2 nixos/tests/php/httpd.nix+1−1 nixos/tests/php/pcre.nix+1−1 nixos/tests/pict-rs.nix+1−1 nixos/tests/plasma5-systemd-start.nix+1−1 nixos/tests/plasma5.nix+1−1 nixos/tests/plausible.nix+1−4 nixos/tests/pleroma.nix+18−2 nixos/tests/plikd.nix+1−1 nixos/tests/plotinus.nix+1−1 nixos/tests/podman/default.nix+1−1 nixos/tests/podman/tls-ghostunnel.nix+1−1 nixos/tests/postfix-raise-smtpd-tls-security-level.nix+1−1 nixos/tests/postfix.nix+1−1 nixos/tests/postgresql-wal-receiver.nix+1−1 nixos/tests/postgresql.nix+1−1 nixos/tests/power-profiles-daemon.nix+1−1 nixos/tests/powerdns.nix−1 nixos/tests/predictable-interface-names.nix+1−1 nixos/tests/privacyidea.nix+1−1 nixos/tests/privoxy.nix+1−1 nixos/tests/prometheus-exporters.nix+1−31 nixos/tests/pt2-clone.nix+1−1 nixos/tests/pulseaudio.nix+1−1 nixos/tests/qboot.nix+1−1 nixos/tests/quorum.nix+9−32 nixos/tests/rabbitmq.nix+1−1 nixos/tests/radicale.nix+1−1 nixos/tests/rasdaemon.nix+1−1 nixos/tests/redmine.nix+1−1 nixos/tests/restart-by-activation-script.nix+1−1 nixos/tests/retroarch.nix−49 nixos/tests/riak.nix+1−1 nixos/tests/rspamd.nix+5−5 nixos/tests/rstudio-server.nix−24 nixos/tests/rsyslogd.nix+2−2 nixos/tests/sabnzbd.nix+1−1 nixos/tests/sddm.nix+2−2 nixos/tests/sfxr-qt.nix−32 nixos/tests/shattered-pixel-dungeon.nix+1−1 nixos/tests/shiori.nix+2−1 nixos/tests/signal-desktop.nix+1−1 nixos/tests/simple.nix+1−1 nixos/tests/snapcast.nix−1 nixos/tests/snapper.nix+1−1 nixos/tests/soapui.nix+1−1 nixos/tests/solr.nix+1−1 nixos/tests/sourcehut.nix+3−18 nixos/tests/ssh-keys.nix+1−1 nixos/tests/sssd-ldap.nix+1−1 nixos/tests/sssd.nix+1−1 nixos/tests/starship.nix−42 nixos/tests/step-ca.nix+2−3 nixos/tests/sudo.nix−4 nixos/tests/sway.nix+25−51 nixos/tests/switch-test.nix+16−735 nixos/tests/sympa.nix+1−1 nixos/tests/syncthing-init.nix+1−1 nixos/tests/syncthing-relay.nix+1−1 nixos/tests/systemd-analyze.nix+1−1 nixos/tests/systemd-binfmt.nix+3−3 nixos/tests/systemd-boot.nix+4−145 nixos/tests/systemd-confinement.nix+4−27 nixos/tests/systemd-cryptenroll.nix+1−1 nixos/tests/systemd-escaping.nix−45 nixos/tests/systemd-initrd-btrfs-raid.nix−45 nixos/tests/systemd-initrd-luks-keyfile.nix−53 nixos/tests/systemd-initrd-luks-password.nix−48 nixos/tests/systemd-initrd-simple.nix−44 nixos/tests/systemd-initrd-swraid.nix−50 nixos/tests/systemd-journal.nix+1−1 nixos/tests/systemd-machinectl.nix−85 nixos/tests/systemd-misc.nix−62 nixos/tests/systemd-networkd-ipv6-prefix-delegation.nix+14−5 nixos/tests/systemd-networkd-vrf.nix−2 nixos/tests/systemd-networkd.nix−10 nixos/tests/systemd-shutdown.nix−26 nixos/tests/systemd-unit-path.nix+47 nixos/tests/systemd.nix+1−5 nixos/tests/taskserver.nix−1 nixos/tests/teeworlds.nix+2−2 nixos/tests/telegraf.nix+1−1 nixos/tests/teleport.nix−99 nixos/tests/terminal-emulators.nix−207 nixos/tests/thelounge.nix−29 nixos/tests/tinywl.nix−57 nixos/tests/tomcat.nix−21 nixos/tests/tor.nix+15−10 nixos/tests/transmission.nix+1−1 nixos/tests/tsm-client-gui.nix−57 nixos/tests/tuptime.nix+1−1 nixos/tests/turbovnc-headless-server.nix+1−1 nixos/tests/tuxguitar.nix+1−1 nixos/tests/udisks2.nix+1−1 nixos/tests/unifi.nix+1−2 nixos/tests/usbguard.nix+1−1 nixos/tests/user-activation-scripts.nix+1−1 nixos/tests/uwsgi.nix+1−1 nixos/tests/v2ray.nix+1−1 nixos/tests/vault-postgresql.nix+1−1 nixos/tests/vault.nix+1−1 nixos/tests/vaultwarden.nix+1 nixos/tests/vector.nix+1−1 nixos/tests/vengi-tools.nix+1−1 nixos/tests/virtualbox.nix+1−1 nixos/tests/vscodium.nix+5−4 nixos/tests/vsftpd.nix−42 nixos/tests/web-apps/mastodon.nix−170 nixos/tests/web-apps/netbox.nix−30 nixos/tests/web-apps/nifi.nix−30 nixos/tests/web-apps/peertube.nix+2−6 nixos/tests/web-servers/agate.nix−29 nixos/tests/web-servers/unit-php.nix+1−1 nixos/tests/wiki-js.nix+1−1 nixos/tests/wine.nix+6−13 nixos/tests/without-nix.nix+6−15 nixos/tests/wmderland.nix+1−1 nixos/tests/wordpress.nix+6−3 nixos/tests/wpa_supplicant.nix+3−18 nixos/tests/xfce.nix+1−1 nixos/tests/xmonad-xdg-autostart.nix−35 nixos/tests/xmonad.nix+17−84 nixos/tests/xmpp/prosody-mysql.nix+33−65 nixos/tests/xmpp/prosody.nix−1 nixos/tests/xmpp/xmpp-sendmessage.nix+4−1 nixos/tests/xterm.nix+1−1 nixos/tests/xxh.nix−67 nixos/tests/yabar.nix+1−1 nixos/tests/zammad.nix−60 nixos/tests/zfs.nix+1−51 nixos/tests/zigbee2mqtt.nix+1−1 nixos/tests/zoneminder.nix+1−1 nixos/tests/zrepl.nix−66 pkgs/applications/accessibility/contrast/default.nix+14−14 pkgs/applications/accessibility/espeakup/default.nix−46 pkgs/applications/accessibility/squeekboard/default.nix+15−8 pkgs/applications/accessibility/svkbd/default.nix+2−2 pkgs/applications/accessibility/wvkbd/default.nix−36 pkgs/applications/audio/ChowCentaur/default.nix−53 pkgs/applications/audio/ChowPhaser/default.nix−76 pkgs/applications/audio/LibreArp/default.nix−53 pkgs/applications/audio/LibreArp/lv2.nix−53 pkgs/applications/audio/airwave/default.nix+2−2 pkgs/applications/audio/aj-snapshot/default.nix+3−2 pkgs/applications/audio/amberol/default.nix−75 pkgs/applications/audio/ams/default.nix+1−1 pkgs/applications/audio/audacity/0001-Use-a-different-approach-to-estimate-the-disk-space-.patch+355 pkgs/applications/audio/audacity/default.nix+37−60 pkgs/applications/audio/audio-recorder/default.nix+1−1 pkgs/applications/audio/aumix/default.nix−11 pkgs/applications/audio/bespokesynth/default.nix+85−114 pkgs/applications/audio/bitwig-studio/bitwig-studio2.nix+1−1 pkgs/applications/audio/bitwig-studio/bitwig-studio4.nix+2−2 pkgs/applications/audio/blanket/default.nix+7−7 pkgs/applications/audio/callaudiod/default.nix+3−3 pkgs/applications/audio/cantata/default.nix+2−2 pkgs/applications/audio/cardinal/default.nix−67 pkgs/applications/audio/carla/default.nix+2−2 pkgs/applications/audio/caudec/default.nix+2−2 pkgs/applications/audio/cider/default.nix−30 pkgs/applications/audio/clementine/default.nix+10−3 pkgs/applications/audio/clerk/default.nix+6−19 pkgs/applications/audio/cmt/default.nix+2−2 pkgs/applications/audio/cmus/default.nix+2−2 pkgs/applications/audio/cmusfm/default.nix+10−16 pkgs/applications/audio/cozy/default.nix+2−2 pkgs/applications/audio/csound/default.nix+4−4 pkgs/applications/audio/cyanrip/default.nix+3−3 pkgs/applications/audio/deadbeef/default.nix+1 pkgs/applications/audio/denemo/default.nix+2−2 pkgs/applications/audio/dfasma/default.nix+1−1 pkgs/applications/audio/dragonfly-reverb/default.nix+2−2 pkgs/applications/audio/easyeffects/default.nix+8−10 pkgs/applications/audio/espeak-ng/default.nix−4 pkgs/applications/audio/eteroj.lv2/default.nix+23 pkgs/applications/audio/faust/faust2.nix+2−2 pkgs/applications/audio/faust/faustlive.nix+12−9 pkgs/applications/audio/faustPhysicalModeling/default.nix+2−2 pkgs/applications/audio/flac/default.nix+10−2 pkgs/applications/audio/fluidsynth/default.nix+2−2 pkgs/applications/audio/fomp/default.nix+2−2 pkgs/applications/audio/foo-yc20/default.nix+29 pkgs/applications/audio/freac/default.nix+2−2 pkgs/applications/audio/freewheeling/default.nix+2−2 pkgs/applications/audio/friture/default.nix+12−3 pkgs/applications/audio/ft2-clone/default.nix+2−2 pkgs/applications/audio/furnace/default.nix−100 pkgs/applications/audio/game-music-emu/default.nix+1−1 pkgs/applications/audio/geonkick/default.nix+2−2 pkgs/applications/audio/gnome-podcasts/default.nix−11 pkgs/applications/audio/goattracker/default.nix+3−2 pkgs/applications/audio/gpodder/default.nix+4−9 pkgs/applications/audio/gpodder/disable-autoupdate.patch+29−8 pkgs/applications/audio/greg/default.nix+3−3 pkgs/applications/audio/gspeech/default.nix+2−2 pkgs/applications/audio/gtkpod/default.nix+4−5 pkgs/applications/audio/guitarix/default.nix−2 pkgs/applications/audio/helio-workstation/default.nix+2−2 pkgs/applications/audio/helvum/default.nix+19−6 pkgs/applications/audio/hivelytracker/default.nix+1−1 pkgs/applications/audio/hqplayer-desktop/default.nix−1 pkgs/applications/audio/hybridreverb2/default.nix+1−1 pkgs/applications/audio/indicator-sound-switcher/default.nix−62 pkgs/applications/audio/industrializer/default.nix+3−1 pkgs/applications/audio/jacktrip/default.nix−61 pkgs/applications/audio/jamesdsp/default.nix−95 pkgs/applications/audio/jamin/default.nix+1−1 pkgs/applications/audio/jamulus/default.nix+2−2 pkgs/applications/audio/japa/default.nix+2−2 pkgs/applications/audio/jellycli/default.nix−33 pkgs/applications/audio/jellycli/fix-test-dir.patch−13 pkgs/applications/audio/jmusicbot/default.nix+3−3 pkgs/applications/audio/kid3/default.nix+2−2 pkgs/applications/audio/libopenmpt/default.nix+42 pkgs/applications/audio/librespot/default.nix+1−2 pkgs/applications/audio/lollypop/default.nix+2−2 pkgs/applications/audio/losslessaudiochecker/default.nix+1−1 pkgs/applications/audio/lv2lint/default.nix−22 pkgs/applications/audio/lyrebird/default.nix+2−2 pkgs/applications/audio/magnetophonDSP/faustCompressors/default.nix+1−1 pkgs/applications/audio/mbrola/default.nix−3 pkgs/applications/audio/meters_lv2/default.nix+36−43 pkgs/applications/audio/mid2key/default.nix+4−7 pkgs/applications/audio/midas/generic.nix+5−4 pkgs/applications/audio/milkytracker/default.nix−6 pkgs/applications/audio/mixxx/default.nix+3−3 pkgs/applications/audio/moc/default.nix+3−5 pkgs/applications/audio/mopidy/mopidy.nix+3−3 pkgs/applications/audio/mopidy/youtube.nix+5−6 pkgs/applications/audio/mopidy/ytmusic.nix+2−11 pkgs/applications/audio/mpc/default.nix+12−40 pkgs/applications/audio/mpg123/default.nix+2−2 pkgs/applications/audio/munt/default.nix+50 pkgs/applications/audio/munt/libmt32emu.nix−38 pkgs/applications/audio/munt/mt32emu-qt.nix−75 pkgs/applications/audio/munt/mt32emu-smf2wav.nix−50 pkgs/applications/audio/musescore/darwin.nix+1 pkgs/applications/audio/musescore/default.nix+1 pkgs/applications/audio/musikcube/default.nix+3−5 pkgs/applications/audio/ncspot/default.nix+7−7 pkgs/applications/audio/netease-cloud-music-gtk/default.nix+1 pkgs/applications/audio/new-session-manager/default.nix+3−3 pkgs/applications/audio/noise-repellent/default.nix+9−11 pkgs/applications/audio/ocenaudio/default.nix+3−3 pkgs/applications/audio/odin2/default.nix−79 pkgs/applications/audio/open-music-kontrollers/eteroj.nix−10 pkgs/applications/audio/open-music-kontrollers/generic.nix−37 pkgs/applications/audio/open-music-kontrollers/jit.nix−12 pkgs/applications/audio/open-music-kontrollers/mephisto.nix−17 pkgs/applications/audio/open-music-kontrollers/midi_matrix.nix−10 pkgs/applications/audio/open-music-kontrollers/moony.nix−13 pkgs/applications/audio/open-music-kontrollers/orbit.nix−12 pkgs/applications/audio/open-music-kontrollers/patchmatrix.nix−13 pkgs/applications/audio/open-music-kontrollers/router.nix−11 pkgs/applications/audio/open-music-kontrollers/sherlock.nix−12 pkgs/applications/audio/open-music-kontrollers/synthpod.nix−13 pkgs/applications/audio/open-music-kontrollers/vm.nix−10 pkgs/applications/audio/orca-c/default.nix−3 pkgs/applications/audio/osdlyrics/default.nix−87 pkgs/applications/audio/parlatype/default.nix+68 pkgs/applications/audio/patchage/default.nix+11−33 pkgs/applications/audio/patchmatrix/default.nix+45 pkgs/applications/audio/pd-plugins/zexy/default.nix+1−2 pkgs/applications/audio/pianobar/default.nix+2−2 pkgs/applications/audio/picard/default.nix+2−5 pkgs/applications/audio/pifi/Gemfile+2 pkgs/applications/audio/pifi/Gemfile.lock+39 pkgs/applications/audio/pifi/default.nix+18 pkgs/applications/audio/pifi/gemset.nix+137 pkgs/applications/audio/pipecontrol/default.nix−50 pkgs/applications/audio/pithos/default.nix+2−2 pkgs/applications/audio/plexamp/default.nix+3−3 pkgs/applications/audio/plujain-ramp/default.nix+1−1 pkgs/applications/audio/praat/default.nix+2−2 pkgs/applications/audio/psst/default.nix−39 pkgs/applications/audio/pt2-clone/default.nix+2−2 pkgs/applications/audio/ptcollab/default.nix+2−2 pkgs/applications/audio/puddletag/default.nix+9−46 pkgs/applications/audio/pulseaudio-modules-bt/default.nix+91 pkgs/applications/audio/pulseaudio-modules-bt/fix-install-path.patch+11 pkgs/applications/audio/pyradio/default.nix+3−9 pkgs/applications/audio/qjackctl/default.nix+2−2 pkgs/applications/audio/qmidiarp/default.nix+2−2 pkgs/applications/audio/qmmp/default.nix+1 pkgs/applications/audio/qpwgraph/default.nix+3−3 pkgs/applications/audio/qtractor/default.nix+2−2 pkgs/applications/audio/r128gain/default.nix+8−2 pkgs/applications/audio/reaper/default.nix+3−3 pkgs/applications/audio/redux/default.nix−49 pkgs/applications/audio/rhvoice/default.nix+2−2 pkgs/applications/audio/rhythmbox/default.nix−10 pkgs/applications/audio/roomeqwizard/default.nix+3−3 pkgs/applications/audio/rubyripper/default.nix+11−23 pkgs/applications/audio/schismtracker/default.nix+4−4 pkgs/applications/audio/scream/default.nix+2−2 pkgs/applications/audio/sfizz/default.nix+3−8 pkgs/applications/audio/sfxr-qt/default.nix+3−29 pkgs/applications/audio/sfxr-qt/test-export-square-wave/default.nix−6 pkgs/applications/audio/sfxr-qt/test-export-square-wave/input.sfxj−29 pkgs/applications/audio/shortwave/default.nix+11−9 pkgs/applications/audio/sidplayfp/default.nix+2−2 pkgs/applications/audio/sisco.lv2/default.nix+2−2 pkgs/applications/audio/snd/default.nix+2−2 pkgs/applications/audio/songrec/default.nix+4−5 pkgs/applications/audio/sonic-pi/default.nix+41−59 pkgs/applications/audio/sonixd/default.nix−27 pkgs/applications/audio/sony-headphones-client/default.nix+1−1 pkgs/applications/audio/sorcer/default.nix+2−2 pkgs/applications/audio/sound-juicer/default.nix−10 pkgs/applications/audio/soundconverter/default.nix−85 pkgs/applications/audio/soundkonverter/default.nix+1−1 pkgs/applications/audio/soundscape-renderer/default.nix+11−13 pkgs/applications/audio/soundwireserver/default.nix−1 pkgs/applications/audio/split2flac/default.nix+2−2 pkgs/applications/audio/spot/default.nix+3−3 pkgs/applications/audio/spotify-qt/default.nix+2−2 pkgs/applications/audio/spotify-tui/default.nix−1 pkgs/applications/audio/spotify/default.nix+5−5 pkgs/applications/audio/sptlrx/default.nix−24 pkgs/applications/audio/squeezelite/default.nix+30−48 pkgs/applications/audio/squishyball/default.nix+11−21 pkgs/applications/audio/strawberry/default.nix+2−6 pkgs/applications/audio/sunvox/default.nix+3−3 pkgs/applications/audio/synaesthesia/default.nix−33 pkgs/applications/audio/tauon/default.nix+5−17 pkgs/applications/audio/termusic/default.nix−28 pkgs/applications/audio/timemachine/default.nix+2−2 pkgs/applications/audio/tonelib-gfx/default.nix+3−3 pkgs/applications/audio/tonelib-jam/default.nix+3−3 pkgs/applications/audio/tonelib-metal/default.nix−60 pkgs/applications/audio/vgmstream/default.nix+12−21 pkgs/applications/audio/vgmstream/update.sh−77 pkgs/applications/audio/viper4linux-gui/default.nix−82 pkgs/applications/audio/viper4linux/default.nix−61 pkgs/applications/audio/vmpk/default.nix+2−2 pkgs/applications/audio/vocal/default.nix+1−7 pkgs/applications/audio/whipper/default.nix−8 pkgs/applications/audio/x42-plugins/default.nix+2−2 pkgs/applications/audio/xsynth-dssi/default.nix+1−2 pkgs/applications/audio/yoshimi/default.nix+18−49 pkgs/applications/audio/zrythm/default.nix+13−14 pkgs/applications/backup/deja-dup/default.nix+10−10 pkgs/applications/backup/deja-dup/fix-paths.patch+3−3 pkgs/applications/backup/pika-backup/default.nix−9 pkgs/applications/backup/vorta/default.nix+2−2 pkgs/applications/blockchains/aeon/default.nix+2−2 pkgs/applications/blockchains/alfis/default.nix+3−3 pkgs/applications/blockchains/besu/default.nix−29 pkgs/applications/blockchains/bisq-desktop/default.nix+5−4 pkgs/applications/blockchains/bitcoin-unlimited/default.nix+1−1 pkgs/applications/blockchains/bitcoin/default.nix+2−2 pkgs/applications/blockchains/btcpayserver/default.nix+12−6 pkgs/applications/blockchains/btcpayserver/deps.nix+308−268 pkgs/applications/blockchains/cgminer/default.nix+2−2 pkgs/applications/blockchains/chia-plotter/default.nix+8−15 pkgs/applications/blockchains/chia-plotter/dont_fetch_dependencies.patch+11−24 pkgs/applications/blockchains/chia/default.nix+2−6 pkgs/applications/blockchains/clightning/default.nix+5−15 pkgs/applications/blockchains/crypto-org-wallet/default.nix+1−1 pkgs/applications/blockchains/dogecoin/default.nix+1−1 pkgs/applications/blockchains/electrs/default.nix+3−3 pkgs/applications/blockchains/elements/default.nix+5−7 pkgs/applications/blockchains/ergo/default.nix+2−2 pkgs/applications/blockchains/erigon.nix+3−3 pkgs/applications/blockchains/exodus/default.nix+2−2 pkgs/applications/blockchains/fulcrum/default.nix−36 pkgs/applications/blockchains/go-ethereum/default.nix+4−6 pkgs/applications/blockchains/groestlcoin/default.nix−93 pkgs/applications/blockchains/ledger-live-desktop/default.nix+2−2 pkgs/applications/blockchains/lightning-loop/default.nix+3−3 pkgs/applications/blockchains/lightwalletd/default.nix+2−2 pkgs/applications/blockchains/litecoin/default.nix+2−1 pkgs/applications/blockchains/lnd/default.nix+3−3 pkgs/applications/blockchains/lndmanage/default.nix+2−2 pkgs/applications/blockchains/monero-cli/default.nix+2−2 pkgs/applications/blockchains/monero-gui/default.nix+3−3 pkgs/applications/blockchains/mycrypto/default.nix+1−1 pkgs/applications/blockchains/namecoin/default.nix+7−6 pkgs/applications/blockchains/nbxplorer/default.nix+5−5 pkgs/applications/blockchains/nbxplorer/deps.nix+6−21 pkgs/applications/blockchains/nbxplorer/util/update-common.sh+1−1 pkgs/applications/blockchains/nearcore/default.nix−42 pkgs/applications/blockchains/openethereum/default.nix+3−3 pkgs/applications/blockchains/oxen/default.nix+3−4 pkgs/applications/blockchains/parity-ui/default.nix+48 pkgs/applications/blockchains/parity-ui/env.nix+19 pkgs/applications/blockchains/pivx/default.nix+1−1 pkgs/applications/blockchains/polkadot/default.nix+4−27 pkgs/applications/blockchains/snarkos/default.nix−61 pkgs/applications/blockchains/solana/default.nix−61 pkgs/applications/blockchains/solana/pin.json−5 pkgs/applications/blockchains/solana/update.sh−33 pkgs/applications/blockchains/stellar-core/default.nix+3−7 pkgs/applications/blockchains/trezor-suite/default.nix+3−3 pkgs/applications/blockchains/wasabibackend/default.nix+2−2 pkgs/applications/blockchains/wasabiwallet/default.nix+1−1 pkgs/applications/blockchains/whirlpool-gui/default.nix+104 pkgs/applications/blockchains/wownero/default.nix+16−17 pkgs/applications/blockchains/zcash/default.nix+6−6 pkgs/applications/display-managers/lightdm-enso-os-greeter/default.nix+5−6 pkgs/applications/editors/android-studio/common.nix+9−11 pkgs/applications/editors/android-studio/default.nix+7−8 pkgs/applications/editors/apostrophe/default.nix+2−2 pkgs/applications/editors/bless/default.nix+6−12 pkgs/applications/editors/bluej/default.nix+10−37 pkgs/applications/editors/bonzomatic/default.nix+2−2 pkgs/applications/editors/cudatext/default.nix+2−2 pkgs/applications/editors/cudatext/deps.json+16−16 pkgs/applications/editors/cudatext/update.sh+1−1 pkgs/applications/editors/deadpixi-sam/default.nix−2 pkgs/applications/editors/eclipse/build-eclipse.nix+2−3 pkgs/applications/editors/eclipse/default.nix+13−13 pkgs/applications/editors/eclipse/plugins.nix+2−2 pkgs/applications/editors/ed/default.nix+2−2 pkgs/applications/editors/emacs/27.nix+11 pkgs/applications/editors/emacs/28.nix−5 pkgs/applications/editors/emacs/at-fdcwd.patch+15 pkgs/applications/editors/emacs/elisp-packages/apheleia/default.nix+4−8 pkgs/applications/editors/emacs/elisp-packages/bqn-mode/default.nix+3−3 pkgs/applications/editors/emacs/elisp-packages/cedet/default.nix+52 pkgs/applications/editors/emacs/elisp-packages/control-lock/default.nix−23 pkgs/applications/editors/emacs/elisp-packages/ebuild-mode/default.nix+2−2 pkgs/applications/editors/emacs/elisp-packages/elpa-generated.nix+193−531 pkgs/applications/editors/emacs/elisp-packages/elpa-packages.nix+1−7 pkgs/applications/editors/emacs/elisp-packages/emacs2nix.nix+3−4 pkgs/applications/editors/emacs/elisp-packages/emacspeak/default.nix+1−2 pkgs/applications/editors/emacs/elisp-packages/ement/default.nix+3−11 pkgs/applications/editors/emacs/elisp-packages/header-file-mode/default.nix−30 pkgs/applications/editors/emacs/elisp-packages/libgenerated.nix+1−4 pkgs/applications/editors/emacs/elisp-packages/manual-packages.nix+2−6 pkgs/applications/editors/emacs/elisp-packages/melpa-packages.nix+2−47 pkgs/applications/editors/emacs/elisp-packages/nongnu-generated.nix+56−1101 pkgs/applications/editors/emacs/elisp-packages/nongnu-packages.nix+1−2 pkgs/applications/editors/emacs/elisp-packages/org-generated.nix+33 pkgs/applications/editors/emacs/elisp-packages/plz/default.nix+4−12 pkgs/applications/editors/emacs/elisp-packages/recipes-archive-melpa.json+5510−7291 pkgs/applications/editors/emacs/elisp-packages/tramp/default.nix+29 pkgs/applications/editors/emacs/elisp-packages/tree-sitter-langs/default-grammars.json−32 pkgs/applications/editors/emacs/elisp-packages/tree-sitter-langs/default.nix−44 pkgs/applications/editors/emacs/elisp-packages/tree-sitter-langs/update-defaults.py−74 pkgs/applications/editors/emacs/elisp-packages/tsc/default.nix−89 pkgs/applications/editors/emacs/elisp-packages/tsc/src.json−10 pkgs/applications/editors/emacs/elisp-packages/tsc/update.py−122 pkgs/applications/editors/emacs/elisp-packages/update−10 pkgs/applications/editors/emacs/elisp-packages/update-manual−7 pkgs/applications/editors/emacs/elisp-packages/update-manual.nix−11 pkgs/applications/editors/emacs/generic.nix+7−17 pkgs/applications/editors/featherpad/default.nix+2−2 pkgs/applications/editors/ghostwriter/default.nix+2−2 pkgs/applications/editors/gnome-builder/default.nix+10−10 pkgs/applications/editors/gophernotes/default.nix+3−3 pkgs/applications/editors/helix/default.nix+10−13 pkgs/applications/editors/heme/default.nix+29 pkgs/applications/editors/hexdino/default.nix+6−6 pkgs/applications/editors/jetbrains/common.nix+98 pkgs/applications/editors/jetbrains/darwin.nix−36 pkgs/applications/editors/jetbrains/default.nix+115−123 pkgs/applications/editors/jetbrains/linux.nix−93 pkgs/applications/editors/jetbrains/update.pl+101 pkgs/applications/editors/jetbrains/update.py−100 pkgs/applications/editors/jetbrains/versions.json−296 pkgs/applications/editors/jove/default.nix+1−2 pkgs/applications/editors/jucipp/default.nix+2−1 pkgs/applications/editors/jupyter-kernels/octave/default.nix+1−2 pkgs/applications/editors/jupyter-kernels/octave/kernel.nix+6−4 pkgs/applications/editors/jupyter-kernels/wolfram/default.nix−22 pkgs/applications/editors/jupyter-kernels/wolfram/kernel.nix−32 pkgs/applications/editors/kakoune/plugins/default.nix+1−1 pkgs/applications/editors/kakoune/plugins/kakoune-plugin-names+19−20 pkgs/applications/editors/kakoune/plugins/update.py+2−2 pkgs/applications/editors/kdevelop5/kdev-php.nix+6−4 pkgs/applications/editors/kdevelop5/kdev-python.nix+6−4 pkgs/applications/editors/kodestudio/default.nix+2−2 pkgs/applications/editors/lapce/default.nix−99 pkgs/applications/editors/leo-editor/default.nix+7−5 pkgs/applications/editors/lifeograph/default.nix+5−5 pkgs/applications/editors/lite-xl/default.nix+2−2 pkgs/applications/editors/marker/default.nix+1−4 pkgs/applications/editors/mg/default.nix−4 pkgs/applications/editors/micro/default.nix+1−3 pkgs/applications/editors/micro/test-with-expect.nix−30 pkgs/applications/editors/mle/default.nix+1−11 pkgs/applications/editors/moe/default.nix+2−2 pkgs/applications/editors/monodevelop/default.nix+81 pkgs/applications/editors/monodevelop/git-revert-12d610fb3f6dce121df538e36f21d8c2eeb0a6e3.patch+57 pkgs/applications/editors/music/tuxguitar/default.nix+3−3 pkgs/applications/editors/nano/default.nix+4−6 pkgs/applications/editors/nano/test-with-expect.nix−35 pkgs/applications/editors/neovim/default.nix+17−13 pkgs/applications/editors/neovim/neovide/default.nix+8−10 pkgs/applications/editors/neovim/neovide/skia-externals.json+6−6 pkgs/applications/editors/neovim/neovim-remote.nix+3−2 pkgs/applications/editors/neovim/ruby_provider/Gemfile.lock+2−2 pkgs/applications/editors/neovim/ruby_provider/gemset.nix+5−5 pkgs/applications/editors/netbeans/default.nix+5−5 pkgs/applications/editors/nvi/default.nix−1 pkgs/applications/editors/oed/default.nix−9 pkgs/applications/editors/okteta/default.nix+2−4 pkgs/applications/editors/oni2/common.nix+1 pkgs/applications/editors/pinegrow/default.nix−80 pkgs/applications/editors/poke/default.nix+2−19 pkgs/applications/editors/quartus-prime/default.nix+1−2 pkgs/applications/editors/qxmledit/default.nix+1−1 pkgs/applications/editors/rednotebook/default.nix+3−4 pkgs/applications/editors/rehex/default.nix+8−14 pkgs/applications/editors/retext/default.nix+16−37 pkgs/applications/editors/rstudio/default.nix+141−171 pkgs/applications/editors/setzer/default.nix+2−2 pkgs/applications/editors/sigil/default.nix+2−2 pkgs/applications/editors/standardnotes/default.nix+3−3 pkgs/applications/editors/sublime/2/default.nix+1−1 pkgs/applications/editors/sublime/3/common.nix+1−1 pkgs/applications/editors/texmaker/default.nix+2−2 pkgs/applications/editors/texstudio/default.nix+2−2 pkgs/applications/editors/texworks/default.nix+2−2 pkgs/applications/editors/thonny/default.nix+1−1 pkgs/applications/editors/tiled/default.nix+4−4 pkgs/applications/editors/vim/common.nix+2−2 pkgs/applications/editors/vim/configurable.nix+34−7 pkgs/applications/editors/vim/macvim.nix+3−3 pkgs/applications/editors/vim/macvim.patch+34−32 pkgs/applications/editors/vim/plugins/default.nix−52 pkgs/applications/editors/vim/plugins/overrides.nix−1160 pkgs/applications/editors/vim/plugins/patches/sniprun/fix-paths.patch−36 pkgs/applications/editors/vim/plugins/update-shell.nix−16 pkgs/applications/editors/vim/plugins/update.py−128 pkgs/applications/editors/vim/plugins/vim-command-check-hook.sh−25 pkgs/applications/editors/vim/plugins/vim-plugin-names−1014 pkgs/applications/editors/vis/default.nix+8−4 pkgs/applications/editors/vscode/extensions/cpptools/default.nix−111 pkgs/applications/editors/vscode/extensions/default.nix−2348 pkgs/applications/editors/vscode/extensions/language-packs.nix−89 pkgs/applications/editors/vscode/extensions/ms-dotnettools-csharp/default.nix−152 pkgs/applications/editors/vscode/extensions/ms-dotnettools-csharp/rt-deps-bin-srcs.json−94 pkgs/applications/editors/vscode/extensions/ms-vsliveshare-vsliveshare/default.nix−133 pkgs/applications/editors/vscode/extensions/python/default.nix−128 pkgs/applications/editors/vscode/extensions/remote-ssh/default.nix−54 pkgs/applications/editors/vscode/extensions/rust-analyzer/build-deps/package.json−19 pkgs/applications/editors/vscode/extensions/rust-analyzer/default.nix−88 pkgs/applications/editors/vscode/extensions/rust-analyzer/update.sh−49 pkgs/applications/editors/vscode/extensions/terraform/default.nix−20 pkgs/applications/editors/vscode/extensions/vscode-lldb/default.nix−104 pkgs/applications/editors/vscode/extensions/vscode-lldb/update.sh−46 pkgs/applications/editors/vscode/extensions/wakatime/default.nix−22 pkgs/applications/editors/vscode/generic.nix+31−31 pkgs/applications/editors/vscode/update-shell.nix−18 pkgs/applications/editors/vscode/update-vscode.sh+2−2 pkgs/applications/editors/vscode/update-vscodium.sh+14−18 pkgs/applications/editors/vscode/vscode.nix+6−6 pkgs/applications/editors/vscode/vscodium.nix+13−10 pkgs/applications/editors/wxhexeditor/default.nix+2−3 pkgs/applications/editors/xed-editor/default.nix+2−2 pkgs/applications/editors/xedit/default.nix+2−2 pkgs/applications/editors/xxe-pe/default.nix+1−1 pkgs/applications/editors/your-editor/default.nix+2−2 pkgs/applications/emulators/attract-mode/default.nix−33 pkgs/applications/emulators/basiliskii/default.nix−28 pkgs/applications/emulators/basiliskii/remove-redhat-6-workaround-for-scsi-sg.h.patch−10 pkgs/applications/emulators/bsnes/higan/default.nix−155 pkgs/applications/emulators/ccemux/default.nix−67 pkgs/applications/emulators/cdemu/base.nix−36 pkgs/applications/emulators/cdemu/daemon.nix−9 pkgs/applications/emulators/cdemu/vhba.nix−22 pkgs/applications/emulators/collapseos-cvm/default.nix−30 pkgs/applications/emulators/commanderx16/emulator.nix−44 pkgs/applications/emulators/commanderx16/rom.nix−52 pkgs/applications/emulators/dosbox-staging/default.nix−112 pkgs/applications/emulators/dosbox/default.nix−75 pkgs/applications/emulators/duckstation/default.nix−106 pkgs/applications/emulators/dynamips/default.nix−36 pkgs/applications/emulators/fceux/default.nix−24 pkgs/applications/emulators/flycast/default.nix−52 pkgs/applications/emulators/goldberg-emu/default.nix−52 pkgs/applications/emulators/goldberg-emu/dont-install-unsupported.patch−34 pkgs/applications/emulators/hercules/default.nix−27 pkgs/applications/emulators/libdsk/default.nix−19 pkgs/applications/emulators/mame/0001-Revert-Added-PDF-documentation-to-dist.mak.patch−37 pkgs/applications/emulators/mame/default.nix−155 pkgs/applications/emulators/mednafen/default.nix−98 pkgs/applications/emulators/mednaffe/default.nix−41 pkgs/applications/emulators/melonDS/default.nix−43 pkgs/applications/emulators/mgba/default.nix−87 pkgs/applications/emulators/proton-caller/default.nix−24 pkgs/applications/emulators/punes/default.nix−64 pkgs/applications/emulators/resim/default.nix−21 pkgs/applications/emulators/retroarch/default.nix−139 pkgs/applications/emulators/retroarch/disable-menu_show_core_updater.patch−25 pkgs/applications/emulators/retroarch/hashes.json−488 pkgs/applications/emulators/retroarch/update_cores.py−173 pkgs/applications/emulators/retroarch/use-fixed-paths-on-libretro_info_path.patch−84 pkgs/applications/emulators/retroarch/wrapper.nix−41 pkgs/applications/emulators/retrofe/default.nix−78 pkgs/applications/emulators/ripes/default.nix−50 pkgs/applications/emulators/rpcs3/0001-llvm-ExecutionEngine-IntelJITEvents-only-use-ITTAPI_.patch−62 pkgs/applications/emulators/rpcs3/default.nix−80 pkgs/applications/emulators/rpcs3/update.sh−59 pkgs/applications/emulators/ruffle/default.nix−60 pkgs/applications/emulators/ryujinx/appdir.patch−23 pkgs/applications/emulators/ryujinx/default.nix−108 pkgs/applications/emulators/ryujinx/deps.nix−227 pkgs/applications/emulators/ryujinx/updater.sh−86 pkgs/applications/emulators/snes9x/default.nix−130 pkgs/applications/emulators/tiny8086/default.nix−68 pkgs/applications/emulators/tinyemu/default.nix−46 pkgs/applications/emulators/vice/default.nix−187 pkgs/applications/emulators/wine/base.nix−199 pkgs/applications/emulators/wine/darwin-metal-compat.patch−31 pkgs/applications/emulators/wine/default.nix−67 pkgs/applications/emulators/wine/packages.nix−44 pkgs/applications/emulators/wine/setup-hook-darwin.sh−37 pkgs/applications/emulators/wine/sources.nix−93 pkgs/applications/emulators/wine/vkd3d.nix−28 pkgs/applications/emulators/yuzu/compatibility-list.json−1 pkgs/applications/emulators/yuzu/default.nix−40 pkgs/applications/emulators/yuzu/generic.nix−157 pkgs/applications/emulators/yuzu/update.sh−102 pkgs/applications/emulators/zesarux/default.nix−97 pkgs/applications/emulators/zsnes/default.nix−64 pkgs/applications/finance/cryptowatch/default.nix−57 pkgs/applications/finance/irpf/default.nix−73 pkgs/applications/finance/odoo/default.nix+2−7 pkgs/applications/gis/gmt/dcw.nix+2−2 pkgs/applications/gis/gmt/default.nix+2−2 pkgs/applications/gis/grass/default.nix+44−32 pkgs/applications/gis/qgis/default.nix+4−10 pkgs/applications/gis/qgis/ltr.nix−32 pkgs/applications/gis/qgis/unwrapped-ltr.nix−153 pkgs/applications/gis/qgis/unwrapped.nix+11−36 pkgs/applications/gis/zombietrackergps/default.nix+5−15 pkgs/applications/graphics/ImageMagick/6.x.nix+1−1 pkgs/applications/graphics/ImageMagick/7.0.nix+23−59 pkgs/applications/graphics/antimony/default.nix+7−3 pkgs/applications/graphics/apitrace/default.nix−6 pkgs/applications/graphics/apitrace/glibc-2.34-compat.patch−13 pkgs/applications/graphics/avocode/default.nix+3−3 pkgs/applications/graphics/awesomebump/default.nix+1−1 pkgs/applications/graphics/azpainter/default.nix+11−20 pkgs/applications/graphics/blockbench-electron/default.nix+4−4 pkgs/applications/graphics/cloudcompare/default.nix+12−47 pkgs/applications/graphics/cq-editor/default.nix+1−1 pkgs/applications/graphics/darktable/default.nix+14−6 pkgs/applications/graphics/deskew/default.nix+9−11 pkgs/applications/graphics/digikam/default.nix+3−14 pkgs/applications/graphics/displaycal/default.nix+72 pkgs/applications/graphics/drawing/default.nix+2−15 pkgs/applications/graphics/drawio/default.nix+2−8 pkgs/applications/graphics/evilpixie/default.nix+4−4 pkgs/applications/graphics/exrtools/default.nix+1−1 pkgs/applications/graphics/feh/default.nix+7−7 pkgs/applications/graphics/fig2dev/default.nix+1−3 pkgs/applications/graphics/fiji/default.nix+9−4 pkgs/applications/graphics/foxotron/default.nix+3−3 pkgs/applications/graphics/gcolor3/default.nix+2−6 pkgs/applications/graphics/geeqie/default.nix+5−16 pkgs/applications/graphics/gimp/default.nix−1 pkgs/applications/graphics/gimp/plugins/default.nix+1−40 pkgs/applications/graphics/gimp/wrapper.nix−2 pkgs/applications/graphics/glabels/default.nix+1−1 pkgs/applications/graphics/glimpse/default.nix−1 pkgs/applications/graphics/glimpse/wrapper.nix−2 pkgs/applications/graphics/gnome-obfuscate/default.nix−70 pkgs/applications/graphics/gnome-photos/default.nix+3−2 pkgs/applications/graphics/gpicview/default.nix+1 pkgs/applications/graphics/graphicsmagick/default.nix+4−17 pkgs/applications/graphics/gscan2pdf/default.nix+5−3 pkgs/applications/graphics/gthumb/default.nix+2−2 pkgs/applications/graphics/hdrmerge/default.nix−76 pkgs/applications/graphics/hugin/default.nix+11−2 pkgs/applications/graphics/hydrus/default.nix+3−6 pkgs/applications/graphics/icon-library/default.nix+12−18 pkgs/applications/graphics/image-roll/default.nix+3−3 pkgs/applications/graphics/imagej/default.nix+1−1 pkgs/applications/graphics/imgbrd-grabber/default.nix+3−3 pkgs/applications/graphics/imlibsetroot/default.nix+6−13 pkgs/applications/graphics/inkscape/default.nix+10−7 pkgs/applications/graphics/inkscape/extensions.nix+2−2 pkgs/applications/graphics/ipe/default.nix+6−4 pkgs/applications/graphics/jpegrescan/default.nix+1−5 pkgs/applications/graphics/k3d/default.nix+51 pkgs/applications/graphics/krita/default.nix+2−2 pkgs/applications/graphics/lightburn/default.nix+2−2 pkgs/applications/graphics/mandelbulber/default.nix+3−3 pkgs/applications/graphics/menyoki/default.nix+3−3 pkgs/applications/graphics/meshlab/default.nix+2−2 pkgs/applications/graphics/mtpaint/default.nix+5−3 pkgs/applications/graphics/mypaint/default.nix−10 pkgs/applications/graphics/nomacs/default.nix+1 pkgs/applications/graphics/nsxiv/default.nix−61 pkgs/applications/graphics/ocrfeeder/default.nix+8−5 pkgs/applications/graphics/openboard/default.nix+3−11 pkgs/applications/graphics/openscad/default.nix+2−5 pkgs/applications/graphics/ovito/default.nix+2−2 pkgs/applications/graphics/paraview/default.nix+2−2 pkgs/applications/graphics/pdfcpu/default.nix+1−1 pkgs/applications/graphics/photivo/default.nix+54 pkgs/applications/graphics/photivo/gcc6.patch+13 pkgs/applications/graphics/pinta/default.nix+39−40 pkgs/applications/graphics/pixeluvo/default.nix−1 pkgs/applications/graphics/pixinsight/default.nix−132 pkgs/applications/graphics/qiv/default.upstream+3 pkgs/applications/graphics/rawtherapee/default.nix−3 pkgs/applications/graphics/rawtherapee/fix-6324.patch−356 pkgs/applications/graphics/renderdoc/default.nix+7−28 pkgs/applications/graphics/rnote/default.nix−78 pkgs/applications/graphics/sane/backends/brscan4/default.nix+2−2 pkgs/applications/graphics/sane/backends/brscan5/default.nix+21−31 pkgs/applications/graphics/sane/config.nix+1−1 pkgs/applications/graphics/screencloud/default.nix+3−3 pkgs/applications/graphics/shotwell/default.nix+2−2 pkgs/applications/graphics/solvespace/default.nix+15−63 pkgs/applications/graphics/swingsane/default.nix+1−1 pkgs/applications/graphics/synfigstudio/default.nix+2−2 pkgs/applications/graphics/tesseract/default.nix−6 pkgs/applications/graphics/tesseract/fetch-language-hashes+2−2 pkgs/applications/graphics/tesseract/languages.nix+245−245 pkgs/applications/graphics/tesseract/tesseract3.nix+3−14 pkgs/applications/graphics/tesseract/tesseract4.nix+3−15 pkgs/applications/graphics/tesseract/tesseract5.nix−39 pkgs/applications/graphics/tesseract/wrapper.nix+3−29 pkgs/applications/graphics/tev/default.nix+7−3 pkgs/applications/graphics/unigine-heaven/default.nix−107 pkgs/applications/graphics/unigine-sanctuary/default.nix−97 pkgs/applications/graphics/unigine-superposition/default.nix−146 pkgs/applications/graphics/unigine-tropics/default.nix−95 pkgs/applications/graphics/unigine-valley/default.nix+99−120 pkgs/applications/graphics/vengi-tools/default.nix+21−14 pkgs/applications/graphics/vengi-tools/test-voxconvert-all-formats.nix−15 pkgs/applications/graphics/vengi-tools/test-voxconvert-roundtrip.nix+3−3 pkgs/applications/graphics/weylus/default.nix+38−53 pkgs/applications/graphics/write_stylus/default.nix+1−1 pkgs/applications/graphics/xfig/default.nix+2−13 pkgs/applications/graphics/xournal/default.nix+5−5 pkgs/applications/graphics/xournalpp/default.nix+3−4 pkgs/applications/graphics/xrgears/default.nix+3−14 pkgs/applications/graphics/yed/default.nix+2−2 pkgs/applications/kde/default.nix+1−8 pkgs/applications/kde/falkon.nix−40 pkgs/applications/kde/fetch.sh+1−1 pkgs/applications/kde/kaddressbook.nix−4 pkgs/applications/kde/kalarm.nix+2−2 pkgs/applications/kde/kalarmcal.nix+19 pkgs/applications/kde/kalendar.nix−94 pkgs/applications/kde/kamoso.nix+1−1 pkgs/applications/kde/kbreakout.nix+1−1 pkgs/applications/kde/kdegraphics-thumbnailers.nix+2−2 pkgs/applications/kde/kdepim-addons.nix+2−2 pkgs/applications/kde/kdepim-runtime/default.nix+2−2 pkgs/applications/kde/kio-extras.nix−7 pkgs/applications/kde/kmousetool.nix−35 pkgs/applications/kde/konsole.nix+1−3 pkgs/applications/kde/ktorrent.nix−22 pkgs/applications/kde/libktorrent.nix−22 pkgs/applications/kde/picmi.nix+11−1 pkgs/applications/kde/pimcommon.nix+2−2 pkgs/applications/kde/skanlite.nix−18 pkgs/applications/kde/skanpage.nix−32 pkgs/applications/kde/srcs.nix+921−937 pkgs/applications/kde/yakuake.nix−2 pkgs/applications/kde/zanshin.nix−18 pkgs/applications/logging/sosreport/default.nix−51 pkgs/applications/misc/1password-gui/beta.nix−132 pkgs/applications/misc/1password-gui/default.nix+5−18 pkgs/applications/misc/1password/default.nix+30−47 pkgs/applications/misc/ArchiSteamFarm/default.nix+12−16 pkgs/applications/misc/ArchiSteamFarm/deps-aarch64-linux.nix−280 pkgs/applications/misc/ArchiSteamFarm/deps-x86_64-linux.nix−280 pkgs/applications/misc/ArchiSteamFarm/deps.nix+291 pkgs/applications/misc/ArchiSteamFarm/mutable-customdir.patch+13 pkgs/applications/misc/ArchiSteamFarm/updater.sh+8−16 pkgs/applications/misc/ArchiSteamFarm/web-ui/default.nix−40 pkgs/applications/misc/ArchiSteamFarm/web-ui/node-composition.nix−17 pkgs/applications/misc/ArchiSteamFarm/web-ui/node-packages.nix−7645 pkgs/applications/misc/ArchiSteamFarm/web-ui/update.sh−26 pkgs/applications/misc/HentaiAtHome/default.nix+1−1 pkgs/applications/misc/OSCAR/default.nix+4−6 pkgs/applications/misc/ablog/default.nix−36 pkgs/applications/misc/abook/default.nix+1−1 pkgs/applications/misc/airtame/default.nix+79 pkgs/applications/misc/almanah/default.nix+1−13 pkgs/applications/misc/anytype/default.nix+2−2 pkgs/applications/misc/appeditor/default.nix−5 pkgs/applications/misc/archivebox/default.nix+24−16 pkgs/applications/misc/archivy/default.nix+26−16 pkgs/applications/misc/artha/default.nix+8−4 pkgs/applications/misc/artha/gio-underlink.patch+13 pkgs/applications/misc/audio/sox/default.nix+7−14 pkgs/applications/misc/audio/wavesurfer/default.nix+30 pkgs/applications/misc/ausweisapp2/default.nix+2−2 pkgs/applications/misc/authy/default.nix+7−30 pkgs/applications/misc/auto-multiple-choice/default.nix+2−3 pkgs/applications/misc/autospotting/default.nix−1 pkgs/applications/misc/avizo/default.nix+4−4 pkgs/applications/misc/avrdudess/default.nix+4−5 pkgs/applications/misc/azuredatastudio/default.nix+23−19 pkgs/applications/misc/barrier/default.nix+1−12 pkgs/applications/misc/batsignal/default.nix+2−2 pkgs/applications/misc/bemenu/default.nix+2−2 pkgs/applications/misc/bicon/default.nix+1−1 pkgs/applications/misc/bikeshed/default.nix−77 pkgs/applications/misc/binance/default.nix+2−2 pkgs/applications/misc/blender/default.nix+15−16 pkgs/applications/misc/blender/wrapper.nix−39 pkgs/applications/misc/bottles/default.nix+12−25 pkgs/applications/misc/buku/default.nix+20−28 pkgs/applications/misc/bukut/default.nix−28 pkgs/applications/misc/calcoo/0001-javac-encoding.diff−21 pkgs/applications/misc/calcoo/default.nix−58 pkgs/applications/misc/calcurse/default.nix+3−4 pkgs/applications/misc/calibre/default.nix+7−11 pkgs/applications/misc/catclock/default.nix−1 pkgs/applications/misc/cbatticon/default.nix+2−2 pkgs/applications/misc/charm/default.nix+5−3 pkgs/applications/misc/cherrytree/default.nix+2−2 pkgs/applications/misc/clifm/default.nix+2−2 pkgs/applications/misc/clight/clightd.nix+2−2 pkgs/applications/misc/clight/default.nix+2−2 pkgs/applications/misc/cloak/default.nix+3−3 pkgs/applications/misc/cobang/0001-Poetry-core-and-pillow-9.patch−31 pkgs/applications/misc/cobang/default.nix−102 pkgs/applications/misc/cointop/default.nix+2−2 pkgs/applications/misc/copyq/default.nix+2−2 pkgs/applications/misc/corectrl/default.nix+2−2 pkgs/applications/misc/cpu-x/default.nix+2−2 pkgs/applications/misc/crow-translate/default.nix+4−4 pkgs/applications/misc/crow-translate/dont-fetch-external-libs.patch+1−1 pkgs/applications/misc/cubiomes-viewer/default.nix−70 pkgs/applications/misc/cubocore-packages/coreaction/default.nix+11−3 pkgs/applications/misc/cubocore-packages/corearchiver/default.nix+2−2 pkgs/applications/misc/cubocore-packages/corefm/default.nix+2−2 pkgs/applications/misc/cubocore-packages/coregarage/default.nix+2−2 pkgs/applications/misc/cubocore-packages/corehunt/default.nix+2−2 pkgs/applications/misc/cubocore-packages/coreimage/default.nix+2−2 pkgs/applications/misc/cubocore-packages/coreinfo/default.nix+2−2 pkgs/applications/misc/cubocore-packages/corekeyboard/0001-fix-installPhase.patch−8 pkgs/applications/misc/cubocore-packages/corekeyboard/default.nix+2−7 pkgs/applications/misc/cubocore-packages/corepad/default.nix+2−2 pkgs/applications/misc/cubocore-packages/corepaint/default.nix+2−2 pkgs/applications/misc/cubocore-packages/corepdf/default.nix+3−4 pkgs/applications/misc/cubocore-packages/corepins/default.nix+2−2 pkgs/applications/misc/cubocore-packages/corerenamer/default.nix+2−2 pkgs/applications/misc/cubocore-packages/coreshot/default.nix+2−2 pkgs/applications/misc/cubocore-packages/corestats/default.nix+2−2 pkgs/applications/misc/cubocore-packages/corestuff/0001-fix-installPhase.patch−11 pkgs/applications/misc/cubocore-packages/corestuff/default.nix+2−7 pkgs/applications/misc/cubocore-packages/coreterminal/default.nix+2−2 pkgs/applications/misc/cubocore-packages/coretime/default.nix+2−2 pkgs/applications/misc/cubocore-packages/coretoppings/0001-fix-install-phase.patch+3−3 pkgs/applications/misc/cubocore-packages/coretoppings/default.nix+2−2 pkgs/applications/misc/cubocore-packages/coreuniverse/default.nix+2−2 pkgs/applications/misc/cubocore-packages/libcprime/default.nix+2−2 pkgs/applications/misc/cubocore-packages/libcsys/default.nix+2−2 pkgs/applications/misc/cura/stable.nix+1−1 pkgs/applications/misc/curabydagoma/default.nix+78 pkgs/applications/misc/curaengine/default.nix+2−2 pkgs/applications/misc/dasel/default.nix+3−3 pkgs/applications/misc/dbeaver/default.nix+37−9 pkgs/applications/misc/ddcui/default.nix+2−2 pkgs/applications/misc/ddgr/default.nix+2−2 pkgs/applications/misc/debian-goodies/default.nix−70 pkgs/applications/misc/deco/default.nix+3−3 pkgs/applications/misc/dmenu/default.nix+2−2 pkgs/applications/misc/dunst/default.nix+4−4 pkgs/applications/misc/dupeguru/default.nix+16−11 pkgs/applications/misc/edgetx/default.nix−47 pkgs/applications/misc/electron-cash/default.nix+2−3 pkgs/applications/misc/electrum-grs/default.nix−111 pkgs/applications/misc/electrum/default.nix+30−4 pkgs/applications/misc/electrum/ltc.nix−5 pkgs/applications/misc/emojipick/default.nix−71 pkgs/applications/misc/eos-installer/default.nix−48 pkgs/applications/misc/etesync-dav/default.nix+7−23 pkgs/applications/misc/eureka-editor/default.nix+14−10 pkgs/applications/misc/evtest/default.nix+1−1 pkgs/applications/misc/expenses/default.nix+5−14 pkgs/applications/misc/faircamp/default.nix−56 pkgs/applications/misc/faircamp/test-wav.nix−14 pkgs/applications/misc/far2l/default.nix+53−53 pkgs/applications/misc/far2l/python_prebuild.patch−20 pkgs/applications/misc/feedbackd/default.nix+3−13 pkgs/applications/misc/fetchmail/default.nix+2−2 pkgs/applications/misc/ff2mpv/default.nix−34 pkgs/applications/misc/firefly-desktop/default.nix−34 pkgs/applications/misc/firestarter/default.nix+1−3 pkgs/applications/misc/fluidd/default.nix+2−2 pkgs/applications/misc/fme/default.nix+59 pkgs/applications/misc/fnott/default.nix+2−2 pkgs/applications/misc/font-manager/default.nix+12−2 pkgs/applications/misc/foxitreader/default.nix−1 pkgs/applications/misc/free42/default.nix+4−2 pkgs/applications/misc/freeplane/default.nix+15−20 pkgs/applications/misc/fslint/default.nix+41 pkgs/applications/misc/fspy/default.nix+3−2 pkgs/applications/misc/fuzzel/default.nix+2−4 pkgs/applications/misc/gImageReader/default.nix+2−2 pkgs/applications/misc/gallery-dl/default.nix+2−2 pkgs/applications/misc/ganttproject-bin/default.nix+1−1 pkgs/applications/misc/genact/default.nix+3−3 pkgs/applications/misc/geoipupdate/default.nix+3−5 pkgs/applications/misc/girara/default.nix+2−2 pkgs/applications/misc/gkrellm/default.nix+1−1 pkgs/applications/misc/gksu/default.nix+53 pkgs/applications/misc/gksu/gksu-2.0.2-glib-2.31.patch+29 pkgs/applications/misc/globe-cli/default.nix−21 pkgs/applications/misc/gnome-firmware-updater/default.nix+75 pkgs/applications/misc/gnome-firmware/default.nix−63 pkgs/applications/misc/gnome-passwordsafe/default.nix+67 pkgs/applications/misc/gnome-secrets/default.nix−73 pkgs/applications/misc/gnome-solanum/default.nix−80 pkgs/applications/misc/gofu/default.nix+3−3 pkgs/applications/misc/golden-cheetah/default.nix+1−1 pkgs/applications/misc/gometer/default.nix−47 pkgs/applications/misc/googleearth/default.nix+106 pkgs/applications/misc/gosmore/default.nix+4−2 pkgs/applications/misc/gphoto2/default.nix+2−2 pkgs/applications/misc/gpsprune/default.nix+3−3 pkgs/applications/misc/gpxsee/default.nix+2−2 pkgs/applications/misc/gramps/default.nix−4 pkgs/applications/misc/gremlin-console/default.nix+2−2 pkgs/applications/misc/gremlin-server/default.nix−33 pkgs/applications/misc/grip/default.nix+10 pkgs/applications/misc/gsctl/default.nix+7−18 pkgs/applications/misc/gsimplecal/default.nix+2−2 pkgs/applications/misc/gtk2fontsel/default.nix+1−1 pkgs/applications/misc/gxmessage/default.nix+3−3 pkgs/applications/misc/haxor-news/default.nix+1−2 pkgs/applications/misc/hcl2json/default.nix−27 pkgs/applications/misc/heimer/default.nix+2−2 pkgs/applications/misc/hello/default.nix+10−21 pkgs/applications/misc/hello/test.nix−8 pkgs/applications/misc/hivemind/default.nix+5−5 pkgs/applications/misc/hubstaff/default.nix+4−4 pkgs/applications/misc/hugo/default.nix+6−6 pkgs/applications/misc/ideamaker/default.nix+2−2 pkgs/applications/misc/index-fm/default.nix+4−7 pkgs/applications/misc/inherd-quake/default.nix+3−3 pkgs/applications/misc/ipmiview/default.nix+4−4 pkgs/applications/misc/iptsd/default.nix+1−1 pkgs/applications/misc/join-desktop/default.nix−73 pkgs/applications/misc/joplin-desktop/default.nix+3−3 pkgs/applications/misc/joshuto/default.nix+3−3 pkgs/applications/misc/josm/default.nix+4−4 pkgs/applications/misc/jotta-cli/default.nix+2−2 pkgs/applications/misc/jrnl/default.nix+16−6 pkgs/applications/misc/k40-whisperer/default.nix−74 pkgs/applications/misc/k4dirstat/default.nix+2−2 pkgs/applications/misc/kanboard/default.nix+2−2 pkgs/applications/misc/kchmviewer/default.nix−48 pkgs/applications/misc/keepass/default.nix+5−2 pkgs/applications/misc/keepassx/community.nix+1−2 pkgs/applications/misc/keylight-controller-mschneider82/default.nix−53 pkgs/applications/misc/kiln/default.nix+3−3 pkgs/applications/misc/kjv/default.nix+2−2 pkgs/applications/misc/klayout/default.nix+6−8 pkgs/applications/misc/kondo/default.nix+3−3 pkgs/applications/misc/koreader/default.nix+2−2 pkgs/applications/misc/kratos/default.nix+4−4 pkgs/applications/misc/kup/default.nix−60 pkgs/applications/misc/leetcode-cli/default.nix−41 pkgs/applications/misc/lemonade/default.nix−35 pkgs/applications/misc/liberasurecode/default.nix+3−27 pkgs/applications/misc/libosmocore/default.nix+6−21 pkgs/applications/misc/librecad/default.nix−9 pkgs/applications/misc/lighthouse/default.nix+35 pkgs/applications/misc/limesctl/default.nix+3−3 pkgs/applications/misc/llama/default.nix−22 pkgs/applications/misc/logseq/default.nix+4−5 pkgs/applications/misc/lscolors/default.nix+3−3 pkgs/applications/misc/lsd2dsl/default.nix+1−1 pkgs/applications/misc/lutris/default.nix+12−14 pkgs/applications/misc/lutris/fhsenv.nix+1−1 pkgs/applications/misc/lutris/fixes.patch+67 pkgs/applications/misc/mapproxy/default.nix+2−2 pkgs/applications/misc/markets/default.nix+2−2 pkgs/applications/misc/marktext/default.nix+8−7 pkgs/applications/misc/masterpdfeditor/default.nix+2−2 pkgs/applications/misc/mdzk/default.nix+3−3 pkgs/applications/misc/mediaelch/default.nix+5−17 pkgs/applications/misc/mediainfo/default.nix+2−2 pkgs/applications/misc/megacmd/default.nix+16−6 pkgs/applications/misc/megasync/default.nix+2−2 pkgs/applications/misc/mepo/default.nix−83 pkgs/applications/misc/metadata-cleaner/default.nix+4−4 pkgs/applications/misc/metamorphose2/default.nix+43 pkgs/applications/misc/michabo/default.nix+1 pkgs/applications/misc/minder/default.nix+2−4 pkgs/applications/misc/minigalaxy/default.nix+3−7 pkgs/applications/misc/mkgmap/default.nix+2−2 pkgs/applications/misc/mkgmap/splitter/default.nix+2−2 pkgs/applications/misc/mob/default.nix+4−4 pkgs/applications/misc/mobilecoin-wallet/default.nix+2−2 pkgs/applications/misc/moolticute/default.nix+4−4 pkgs/applications/misc/moonlight-embedded/default.nix+2−2 pkgs/applications/misc/moonlight-qt/default.nix+2−3 pkgs/applications/misc/mop/default.nix+13−12 pkgs/applications/misc/mop/deps.nix+11 pkgs/applications/misc/mucommander/default.nix+4−4 pkgs/applications/misc/multibootusb/default.nix+1−1 pkgs/applications/misc/mupdf/0001-Use-command-v-in-favor-of-which.patch−25 pkgs/applications/misc/mupdf/0002-Add-Darwin-deps.patch−57 pkgs/applications/misc/mupdf/1.17.nix+1 pkgs/applications/misc/mupdf/default.nix+45−46 pkgs/applications/misc/mupdf/default.upstream+7 pkgs/applications/misc/natural-docs/default.nix+2−2 pkgs/applications/misc/navi/default.nix+3−3 pkgs/applications/misc/neap/default.nix+44 pkgs/applications/misc/neo/default.nix+2−2 pkgs/applications/misc/neo4j-desktop/default.nix+2−2 pkgs/applications/misc/nerd-font-patcher/default.nix+8−9 pkgs/applications/misc/nimbo/default.nix+6−27 pkgs/applications/misc/nix-tour/default.nix+19−35 pkgs/applications/misc/nnn/default.nix+2−2 pkgs/applications/misc/notejot/default.nix+19−6 pkgs/applications/misc/notejot/use-gtk4-update-icon-cache.patch+20 pkgs/applications/misc/numberstation/default.nix+2−2 pkgs/applications/misc/nut/default.nix+1−2 pkgs/applications/misc/nwg-drawer/default.nix+7−21 pkgs/applications/misc/nwg-menu/default.nix+1−1 pkgs/applications/misc/nwg-panel/default.nix+2−2 pkgs/applications/misc/nwg-wrapper/default.nix+2−2 pkgs/applications/misc/obinskit/default.nix+1−1 pkgs/applications/misc/obsidian/default.nix+60−74 pkgs/applications/misc/ocropus/default.nix+3−3 pkgs/applications/misc/octoprint/default.nix+177−34 pkgs/applications/misc/octoprint/plugins.nix+2−26 pkgs/applications/misc/oil-buku/default.nix−44 pkgs/applications/misc/opencpn/default.nix+16−85 pkgs/applications/misc/openlp/default.nix+1−2 pkgs/applications/misc/openrgb/default.nix−3 pkgs/applications/misc/opentrack/default.nix+1−1 pkgs/applications/misc/orca/default.nix+2−2 pkgs/applications/misc/organicmaps/default.nix−86 pkgs/applications/misc/osmium-tool/default.nix+2−2 pkgs/applications/misc/osmscout-server/default.nix+24−3 pkgs/applications/misc/otpclient/default.nix+2−2 pkgs/applications/misc/p2pool/default.nix+2−9 pkgs/applications/misc/pcmanx-gtk2/default.nix+2−2 pkgs/applications/misc/pdfarranger/default.nix+2−2 pkgs/applications/misc/pdfdiff/default.nix+8−6 pkgs/applications/misc/pdfmod/default.nix+49 pkgs/applications/misc/pdfpc/default.nix+4−3 pkgs/applications/misc/pdfsam-basic/default.nix+4−4 pkgs/applications/misc/pdfslicer/default.nix−6 pkgs/applications/misc/pdfstudio/common.nix−96 pkgs/applications/misc/pdfstudio/default.nix+88−39 pkgs/applications/misc/pgadmin/default.nix+58 pkgs/applications/misc/phoc/default.nix+10−11 pkgs/applications/misc/phwmon/default.nix+5−5 pkgs/applications/misc/plasma-theme-switcher/default.nix−42 pkgs/applications/misc/plater/default.nix+1−1 pkgs/applications/misc/playonlinux/default.nix+3−18 pkgs/applications/misc/polybar/default.nix+2−12 pkgs/applications/misc/polybar/remove-hardcoded-etc.diff−13 pkgs/applications/misc/pomotroid/default.nix−60 pkgs/applications/misc/portfolio-filemanager/default.nix+2−6 pkgs/applications/misc/premid/default.nix+1−1 pkgs/applications/misc/privacyidea/default.nix+2−2 pkgs/applications/misc/prusa-slicer/default.nix+6−6 pkgs/applications/misc/prusa-slicer/super-slicer.nix+5−5 pkgs/applications/misc/pueue/default.nix+3−3 pkgs/applications/misc/pure-maps/default.nix+10−6 pkgs/applications/misc/pwsafe/default.nix+1−1 pkgs/applications/misc/pytrainer/default.nix+2−2 pkgs/applications/misc/qMasterPassword/default.nix+7−11 pkgs/applications/misc/qcad/default.nix+2−3 pkgs/applications/misc/qmetro/default.nix+3−2 pkgs/applications/misc/qpdfview/default.nix+27−35 pkgs/applications/misc/qt-video-wlr/default.nix+1−1 pkgs/applications/misc/ranger/default.nix+4−13 pkgs/applications/misc/ratt/default.nix−26 pkgs/applications/misc/redshift/default.nix+2−2 pkgs/applications/misc/regextester/default.nix+1 pkgs/applications/misc/remarkable/remarkable-mouse/default.nix+2−2 pkgs/applications/misc/remarkable/rmapi/default.nix+2−2 pkgs/applications/misc/remarkable/rmview/default.nix+6−2 pkgs/applications/misc/rivercarro/default.nix−51 pkgs/applications/misc/rm-improved/default.nix−1 pkgs/applications/misc/robo3t/default.nix+1−1 pkgs/applications/misc/rofi-emoji/default.nix+2−2 pkgs/applications/misc/rofi-file-browser/default.nix+2−2 pkgs/applications/misc/rofi/default.nix+5−6 pkgs/applications/misc/rofi/wayland.nix−31 pkgs/applications/misc/sampler/default.nix+2−5 pkgs/applications/misc/scli/default.nix+2−2 pkgs/applications/misc/seatd/default.nix+5−9 pkgs/applications/misc/sidequest/default.nix+1−1 pkgs/applications/misc/sigal/default.nix+13−17 pkgs/applications/misc/sigi/default.nix+11−17 pkgs/applications/misc/simplenote/default.nix+3−2 pkgs/applications/misc/sioyek/default.nix−56 pkgs/applications/misc/skate/default.nix+3−3 pkgs/applications/misc/skytemple/default.nix+2−5 pkgs/applications/misc/sleepyhead/default.nix+4−2 pkgs/applications/misc/slic3r/default.nix+5−6 pkgs/applications/misc/slides/default.nix+4−5 pkgs/applications/misc/slmenu/default.nix+21−10 pkgs/applications/misc/snapmaker-luban/default.nix+3−3 pkgs/applications/misc/snowsql/default.nix+3−4 pkgs/applications/misc/solaar/default.nix+2−3 pkgs/applications/misc/spicetify-cli/default.nix+3−3 pkgs/applications/misc/spotify-tray/default.nix+1−9 pkgs/applications/misc/sqls/default.nix+3−5 pkgs/applications/misc/stag/default.nix+1−1 pkgs/applications/misc/stog/default.nix+1−1 pkgs/applications/misc/stork/default.nix+4−10 pkgs/applications/misc/stretchly/default.nix+1−1 pkgs/applications/misc/subsurface/default.nix+1−2 pkgs/applications/misc/surface-control/default.nix+5−6 pkgs/applications/misc/survex/default.nix+43−36 pkgs/applications/misc/sway-launcher-desktop/default.nix−42 pkgs/applications/misc/swaynotificationcenter/default.nix−43 pkgs/applications/misc/sweethome3d/default.nix+1−1 pkgs/applications/misc/sweethome3d/editors.nix+1−1 pkgs/applications/misc/systembus-notify/default.nix+5−39 pkgs/applications/misc/tagtime/default.nix−79 pkgs/applications/misc/taskwarrior-tui/default.nix+3−3 pkgs/applications/misc/taskwarrior/default.nix+2−2 pkgs/applications/misc/teleprompter/default.nix+1 pkgs/applications/misc/terminal-typeracer/default.nix−1 pkgs/applications/misc/ticker/default.nix+3−3 pkgs/applications/misc/timewarrior/default.nix−1 pkgs/applications/misc/tiv/default.nix+2−2 pkgs/applications/misc/todoist-electron/default.nix+4−4 pkgs/applications/misc/toggldesktop/default.nix+14−22 pkgs/applications/misc/toipe/default.nix−20 pkgs/applications/misc/tomboy/default.nix+43 pkgs/applications/misc/tootle/default.nix−5 pkgs/applications/misc/topydo/default.nix+2−2 pkgs/applications/misc/tpmmanager/default.nix+5−6 pkgs/applications/misc/trenchbroom/default.nix+1−14 pkgs/applications/misc/tty-share/default.nix+6−8 pkgs/applications/misc/tty-solitaire/default.nix−1 pkgs/applications/misc/ttyper/default.nix+3−3 pkgs/applications/misc/tuhi/default.nix−63 pkgs/applications/misc/tut/default.nix+2−2 pkgs/applications/misc/tvbrowser/bin.nix+6−4 pkgs/applications/misc/udiskie/default.nix+25−30 pkgs/applications/misc/udiskie/locale-path.patch−17 pkgs/applications/misc/upwork/default.nix+4−14 pkgs/applications/misc/urlscan/default.nix+2−2 pkgs/applications/misc/urlview/default.nix+5−5 pkgs/applications/misc/variety/default.nix+38−43 pkgs/applications/misc/veracrypt/default.nix+2−2 pkgs/applications/misc/vifm/default.nix+1 pkgs/applications/misc/vit/default.nix+5−3 pkgs/applications/misc/waybar/default.nix+2−7 pkgs/applications/misc/weather/default.nix+3−3 pkgs/applications/misc/wego/default.nix+13−11 pkgs/applications/misc/wego/deps.nix+48 pkgs/applications/misc/whalebird/default.nix+3−3 pkgs/applications/misc/wike/default.nix+11−11 pkgs/applications/misc/wlclock/default.nix−46 pkgs/applications/misc/wtf/default.nix+3−3 pkgs/applications/misc/xchm/default.nix+2−2 pkgs/applications/misc/xdg-launch/default.nix+2−2 pkgs/applications/misc/xdragon/default.nix+28 pkgs/applications/misc/xiphos/0001-Add-dbus-glib-dependency-to-main.patch−38 pkgs/applications/misc/xiphos/default.nix+21−78 pkgs/applications/misc/xmind/default.nix+2−2 pkgs/applications/misc/xmr-stak/default.nix+1−1 pkgs/applications/misc/xmrig/default.nix+2−2 pkgs/applications/misc/xmrig/moneroocean.nix+2−2 pkgs/applications/misc/xpdf/default.nix+4−3 pkgs/applications/misc/xplr/default.nix+3−3 pkgs/applications/misc/xteddy/default.nix+1−1 pkgs/applications/misc/yambar/default.nix+3−4 pkgs/applications/misc/yarssr/default.nix+81 pkgs/applications/misc/yate/default.nix+5−7 pkgs/applications/misc/ydict/default.nix−28 pkgs/applications/misc/yubioath-desktop/default.nix+1−1 pkgs/applications/misc/zathura/core/default.nix+2−2 pkgs/applications/misc/zathura/default.nix+1−1 pkgs/applications/misc/zathura/wrapper.nix+1−1 pkgs/applications/misc/zettlr/default.nix+2−2 pkgs/applications/misc/zola/default.nix+5−5 pkgs/applications/misc/zscroll/default.nix+3−3 pkgs/applications/networking/aether/default.nix+19−15 pkgs/applications/networking/alpnpass/default.nix−34 pkgs/applications/networking/apache-directory-studio/default.nix+1−1 pkgs/applications/networking/appgate-sdp/default.nix+2−2 pkgs/applications/networking/bee/bee.nix+3−1 pkgs/applications/networking/blocky/default.nix−33 pkgs/applications/networking/breitbandmessung/default.nix−153 pkgs/applications/networking/browsers/bombadillo/default.nix+2−2 pkgs/applications/networking/browsers/brave/default.nix+55−72 pkgs/applications/networking/browsers/chromium/browser.nix+1−1 pkgs/applications/networking/browsers/chromium/common.nix+47−29 pkgs/applications/networking/browsers/chromium/default.nix+11−10 pkgs/applications/networking/browsers/chromium/get-commit-message.py+3−3 pkgs/applications/networking/browsers/chromium/ungoogled-flags.toml−23 pkgs/applications/networking/browsers/chromium/update.py−11 pkgs/applications/networking/browsers/chromium/upstream-info.json+30−30 pkgs/applications/networking/browsers/falkon/default.nix+57 pkgs/applications/networking/browsers/firefox-bin/beta_sources.nix+393−393 pkgs/applications/networking/browsers/firefox-bin/default.nix+2−2 pkgs/applications/networking/browsers/firefox-bin/devedition_sources.nix+393−393 pkgs/applications/networking/browsers/firefox-bin/release_sources.nix+393−393 pkgs/applications/networking/browsers/firefox/common.nix+187−288 pkgs/applications/networking/browsers/firefox/librewolf/default.nix−41 pkgs/applications/networking/browsers/firefox/librewolf/src.json−11 pkgs/applications/networking/browsers/firefox/librewolf/src.nix−18 pkgs/applications/networking/browsers/firefox/librewolf/update.nix−65 pkgs/applications/networking/browsers/firefox/no-buildconfig-ffx95.patch+27 pkgs/applications/networking/browsers/firefox/no-buildconfig-ffx96.patch−27 pkgs/applications/networking/browsers/firefox/packages.nix+5−31 pkgs/applications/networking/browsers/firefox/wrapper.nix+44−38 pkgs/applications/networking/browsers/google-chrome/default.nix+14−12 pkgs/applications/networking/browsers/icecat-bin/default.nix+130 pkgs/applications/networking/browsers/lagrange/default.nix+4−2 pkgs/applications/networking/browsers/links2/default.nix−1 pkgs/applications/networking/browsers/microsoft-edge/browser.nix−191 pkgs/applications/networking/browsers/microsoft-edge/default.nix−20 pkgs/applications/networking/browsers/microsoft-edge/update.sh−50 pkgs/applications/networking/browsers/nyxt/default.nix+3−3 pkgs/applications/networking/browsers/opera/default.nix+4−2 pkgs/applications/networking/browsers/palemoon/default.nix+14−21 pkgs/applications/networking/browsers/qtchan/default.nix+1−1 pkgs/applications/networking/browsers/qutebrowser/default.nix+5−8 pkgs/applications/networking/browsers/surf/default.nix+1−1 pkgs/applications/networking/browsers/telescope/default.nix+2−2 pkgs/applications/networking/browsers/tor-browser-bundle-bin/default.nix+5−14 pkgs/applications/networking/browsers/vieb/default.nix+4−4 pkgs/applications/networking/browsers/vieb/package.json+17−12 pkgs/applications/networking/browsers/vieb/yarn.lock+1481−1276 pkgs/applications/networking/browsers/vieb/yarn.nix+1546−1330 pkgs/applications/networking/browsers/vivaldi/default.nix+5−7 pkgs/applications/networking/browsers/vivaldi/ffmpeg-codecs.nix+8−5 pkgs/applications/networking/browsers/vivaldi/update.sh+1−5 pkgs/applications/networking/browsers/vivaldi/widevine.nix+2−2 pkgs/applications/networking/browsers/webbrowser/default.nix+109 pkgs/applications/networking/browsers/yandex-browser/default.nix+11−18 pkgs/applications/networking/c14/default.nix+22 pkgs/applications/networking/calls/default.nix+8−16 pkgs/applications/networking/cawbird/default.nix+2−2 pkgs/applications/networking/charles/default.nix+3−10 pkgs/applications/networking/cisco-packet-tracer/7.nix+1−1 pkgs/applications/networking/cisco-packet-tracer/8.nix+3−4 pkgs/applications/networking/cloudflare-dyndns/default.nix−53 pkgs/applications/networking/cloudflared/default.nix+9−20 pkgs/applications/networking/cluster/argo-rollouts/default.nix−27 pkgs/applications/networking/cluster/argo/default.nix+6−9 pkgs/applications/networking/cluster/argocd-autopilot/default.nix−54 pkgs/applications/networking/cluster/argocd/default.nix+32−16 pkgs/applications/networking/cluster/arkade/default.nix+21−4 pkgs/applications/networking/cluster/atlantis/default.nix+5−8 pkgs/applications/networking/cluster/bosh-cli/default.nix+2−2 pkgs/applications/networking/cluster/cilium/default.nix+2−2 pkgs/applications/networking/cluster/cloudfoundry-cli/default.nix+3−4 pkgs/applications/networking/cluster/clusterctl/default.nix+3−3 pkgs/applications/networking/cluster/cmctl/default.nix−38 pkgs/applications/networking/cluster/cni/plugins.nix+2−2 pkgs/applications/networking/cluster/driftctl/default.nix+41−41 pkgs/applications/networking/cluster/flink/default.nix+3−2 pkgs/applications/networking/cluster/fluxcd/default.nix+5−5 pkgs/applications/networking/cluster/fluxcd/update.sh+31−38 pkgs/applications/networking/cluster/fluxctl/default.nix+3−3 pkgs/applications/networking/cluster/fn-cli/default.nix+2−2 pkgs/applications/networking/cluster/glooctl/default.nix−36 pkgs/applications/networking/cluster/hadoop/default.nix+16−52 pkgs/applications/networking/cluster/helm-docs/default.nix+3−3 pkgs/applications/networking/cluster/helm/chart-testing/default.nix+4−12 pkgs/applications/networking/cluster/helm/default.nix+10−23 pkgs/applications/networking/cluster/helmfile/default.nix+3−3 pkgs/applications/networking/cluster/helmsman/default.nix+3−3 pkgs/applications/networking/cluster/istioctl/default.nix+6−9 pkgs/applications/networking/cluster/k0sctl/default.nix+1−1 pkgs/applications/networking/cluster/k3s/default.nix+126−165 pkgs/applications/networking/cluster/k3s/patches/0001-scrips-download-strip-downloading-just-package-CRD.patch−41 pkgs/applications/networking/cluster/k3s/patches/0002-Add-nixpkgs-patches.patch+81 pkgs/applications/networking/cluster/k3s/update.sh+7−49 pkgs/applications/networking/cluster/k3sup/default.nix−48 pkgs/applications/networking/cluster/k9s/default.nix+3−4 pkgs/applications/networking/cluster/kconf/default.nix+3−7 pkgs/applications/networking/cluster/kn/default.nix+2−2 pkgs/applications/networking/cluster/kompose/default.nix+7−17 pkgs/applications/networking/cluster/kontemplate/default.nix+1 pkgs/applications/networking/cluster/kops/default.nix+9−9 pkgs/applications/networking/cluster/krane/Gemfile.lock+31−28 pkgs/applications/networking/cluster/krane/default.nix+9 pkgs/applications/networking/cluster/krane/gemset.nix+77−58 pkgs/applications/networking/cluster/krelay/default.nix−31 pkgs/applications/networking/cluster/kube-capacity/default.nix+3−3 pkgs/applications/networking/cluster/kube-score/default.nix+3−3 pkgs/applications/networking/cluster/kube3d/default.nix+14−31 pkgs/applications/networking/cluster/kubebuilder/default.nix+3−3 pkgs/applications/networking/cluster/kubecfg/default.nix+7−7 pkgs/applications/networking/cluster/kubecolor/default.nix+1−3 pkgs/applications/networking/cluster/kubeconform/default.nix+2−2 pkgs/applications/networking/cluster/kubectl-doctor/default.nix+3−3 pkgs/applications/networking/cluster/kubectl-example/default.nix+2−2 pkgs/applications/networking/cluster/kubectl/default.nix+29 pkgs/applications/networking/cluster/kubedb-cli/default.nix+2−2 pkgs/applications/networking/cluster/kubeless/default.nix+38 pkgs/applications/networking/cluster/kubelogin-oidc/default.nix+3−3 pkgs/applications/networking/cluster/kubelogin/default.nix+2−2 pkgs/applications/networking/cluster/kubemqctl/default.nix−25 pkgs/applications/networking/cluster/kubent/default.nix−29 pkgs/applications/networking/cluster/kubeone/default.nix+3−3 pkgs/applications/networking/cluster/kubergrunt/default.nix+2−2 pkgs/applications/networking/cluster/kubernetes/default.nix+17−18 pkgs/applications/networking/cluster/kubernetes/kubectl.nix−38 pkgs/applications/networking/cluster/kubeseal/default.nix+2 pkgs/applications/networking/cluster/kuma/default.nix+3−3 pkgs/applications/networking/cluster/kuttl/default.nix−1 pkgs/applications/networking/cluster/lens/default.nix+6−11 pkgs/applications/networking/cluster/linkerd/edge.nix+3−3 pkgs/applications/networking/cluster/minikube/default.nix+3−3 pkgs/applications/networking/cluster/nerdctl/default.nix+3−3 pkgs/applications/networking/cluster/nixops/default.nix−2 pkgs/applications/networking/cluster/nixops/poetry-git-overlay.nix+7−7 pkgs/applications/networking/cluster/nixops/poetry.lock+82−90 pkgs/applications/networking/cluster/nixops/pyproject.toml+1−4 pkgs/applications/networking/cluster/nomad-autoscaler/default.nix+14−12 pkgs/applications/networking/cluster/nomad-pack/default.nix−38 pkgs/applications/networking/cluster/nomad/1.0.nix+11 pkgs/applications/networking/cluster/nomad/1.1.nix+4−4 pkgs/applications/networking/cluster/nomad/1.2.nix−12 pkgs/applications/networking/cluster/nomad/generic.nix+6−11 pkgs/applications/networking/cluster/nomad/genericModule.nix+54 pkgs/applications/networking/cluster/ocm/default.nix−32 pkgs/applications/networking/cluster/octant/default.nix+5−5 pkgs/applications/networking/cluster/odo/default.nix−38 pkgs/applications/networking/cluster/openshift/default.nix+45−36 pkgs/applications/networking/cluster/pachyderm/default.nix−1 pkgs/applications/networking/cluster/pgo-client/default.nix−1 pkgs/applications/networking/cluster/pluto/default.nix−27 pkgs/applications/networking/cluster/popeye/default.nix+4−3 pkgs/applications/networking/cluster/qbec/default.nix+3−3 pkgs/applications/networking/cluster/rancher/default.nix+5−3 pkgs/applications/networking/cluster/sonobuoy/default.nix+4−4 pkgs/applications/networking/cluster/spark/default.nix+27−42 pkgs/applications/networking/cluster/ssm-session-manager-plugin/default.nix+6−9 pkgs/applications/networking/cluster/starboard/default.nix+7−39 pkgs/applications/networking/cluster/stern/default.nix+3−3 pkgs/applications/networking/cluster/talosctl/default.nix−60 pkgs/applications/networking/cluster/tanka/default.nix+3−4 pkgs/applications/networking/cluster/tektoncd-cli/default.nix+9−16 pkgs/applications/networking/cluster/temporal/default.nix+7−8 pkgs/applications/networking/cluster/terraform-providers/default.nix+70−94 pkgs/applications/networking/cluster/terraform-providers/gandi/default.nix+30 pkgs/applications/networking/cluster/terraform-providers/providers.json+388−466 pkgs/applications/networking/cluster/terraform-providers/teleport/default.nix+33 pkgs/applications/networking/cluster/terraform-providers/update-all-providers+6−9 pkgs/applications/networking/cluster/terraform-providers/update-provider+44−41 pkgs/applications/networking/cluster/terraform-providers/vpsadmin/default.nix+29 pkgs/applications/networking/cluster/terraform/default.nix+60−54 pkgs/applications/networking/cluster/terragrunt/default.nix+2−2 pkgs/applications/networking/cluster/terranix/default.nix+3−3 pkgs/applications/networking/cluster/tfswitch/default.nix+3−3 pkgs/applications/networking/cluster/tgswitch/default.nix+2−2 pkgs/applications/networking/cluster/tilt/default.nix+2−2 pkgs/applications/networking/cluster/vcluster/default.nix−45 pkgs/applications/networking/cluster/velero/default.nix+4−4 pkgs/applications/networking/cluster/waypoint/default.nix+6−4 pkgs/applications/networking/cluster/werf/default.nix+4−11 pkgs/applications/networking/compactor/default.nix+21−33 pkgs/applications/networking/cozy-drive/default.nix+2−2 pkgs/applications/networking/dnscontrol/default.nix+3−3 pkgs/applications/networking/dropbox/default.nix+2−2 pkgs/applications/networking/feedreaders/gnome-feeds/default.nix−2 pkgs/applications/networking/feedreaders/newsboat/default.nix+3−3 pkgs/applications/networking/feedreaders/photon/default.nix−27 pkgs/applications/networking/feedreaders/rss2email/default.nix+1−1 pkgs/applications/networking/feedreaders/rssguard/default.nix+2−2 pkgs/applications/networking/firewalld/default.nix−104 pkgs/applications/networking/firewalld/respect-xml-catalog-files-var.patch−13 pkgs/applications/networking/flexget/default.nix+4−10 pkgs/applications/networking/ftp/filezilla/default.nix+2−2 pkgs/applications/networking/giara/default.nix+10−28 pkgs/applications/networking/gmailctl/default.nix+4−4 pkgs/applications/networking/gns3/default.nix+8−7 pkgs/applications/networking/gns3/gui.nix+7−47 pkgs/applications/networking/gns3/server.nix+17−48 pkgs/applications/networking/hyprspace/default.nix+3−3 pkgs/applications/networking/ids/zeek/default.nix+6−23 pkgs/applications/networking/instant-messengers/alfaview/default.nix+2−2 pkgs/applications/networking/instant-messengers/bitlbee-discord/default.nix+1−1 pkgs/applications/networking/instant-messengers/bitlbee-steam/default.nix+2−2 pkgs/applications/networking/instant-messengers/bitlbee/default.nix+3−3 pkgs/applications/networking/instant-messengers/blink/default.nix+68 pkgs/applications/networking/instant-messengers/blink/pythonpath.patch+49 pkgs/applications/networking/instant-messengers/bluejeans/default.nix+2−2 pkgs/applications/networking/instant-messengers/caprine-bin/build-from-appimage.nix−50 pkgs/applications/networking/instant-messengers/caprine-bin/build-from-dmg.nix−35 pkgs/applications/networking/instant-messengers/caprine-bin/default.nix−25 pkgs/applications/networking/instant-messengers/chatty/default.nix+2−7 pkgs/applications/networking/instant-messengers/cinny/default.nix+2−2 pkgs/applications/networking/instant-messengers/coyim/default.nix−1 pkgs/applications/networking/instant-messengers/deltachat-cursed/default.nix+2−2 pkgs/applications/networking/instant-messengers/deltachat-desktop/default.nix+28−30 pkgs/applications/networking/instant-messengers/deltachat-desktop/package.json+9−12 pkgs/applications/networking/instant-messengers/deltachat-desktop/update.sh+1−1 pkgs/applications/networking/instant-messengers/dino/default.nix+3−12 pkgs/applications/networking/instant-messengers/discord/base.nix+93 pkgs/applications/networking/instant-messengers/discord/darwin.nix−14 pkgs/applications/networking/instant-messengers/discord/default.nix+29−78 pkgs/applications/networking/instant-messengers/discord/linux.nix−118 pkgs/applications/networking/instant-messengers/element/element-desktop-package.json+7−13 pkgs/applications/networking/instant-messengers/element/element-desktop.nix+14−34 pkgs/applications/networking/instant-messengers/element/keytar/default.nix+1−8 pkgs/applications/networking/instant-messengers/element/pin.json+4−4 pkgs/applications/networking/instant-messengers/element/seshat/default.nix+3−9 pkgs/applications/networking/instant-messengers/ferdi/default.nix+3−3 pkgs/applications/networking/instant-messengers/fluffychat/default.nix−81 pkgs/applications/networking/instant-messengers/fractal/default.nix+1−12 pkgs/applications/networking/instant-messengers/franz/default.nix+2−2 pkgs/applications/networking/instant-messengers/franz/generic.nix+3−2 pkgs/applications/networking/instant-messengers/gajim/default.nix+2−1 pkgs/applications/networking/instant-messengers/gitter/default.nix+3−2 pkgs/applications/networking/instant-messengers/gomuks/default.nix+2−2 pkgs/applications/networking/instant-messengers/gotktrix/default.nix−42 pkgs/applications/networking/instant-messengers/gtmess/default.nix+20 pkgs/applications/networking/instant-messengers/gurk-rs/default.nix−30 pkgs/applications/networking/instant-messengers/jami/daemon.nix+2−2 pkgs/applications/networking/instant-messengers/jami/default.nix+2−2 pkgs/applications/networking/instant-messengers/jitsi-meet-electron/default.nix+3−4 pkgs/applications/networking/instant-messengers/jitsi/default.nix+1−1 pkgs/applications/networking/instant-messengers/kaidan/default.nix−2 pkgs/applications/networking/instant-messengers/kdeltachat/default.nix+3−3 pkgs/applications/networking/instant-messengers/linphone/default.nix+13−40 pkgs/applications/networking/instant-messengers/linphone/do-not-build-linphone-sdk.patch+31−56 pkgs/applications/networking/instant-messengers/linphone/no-store-path-in-autostart.patch−27 pkgs/applications/networking/instant-messengers/linphone/remove-bc_compute_full_version-usage.patch+6−6 pkgs/applications/networking/instant-messengers/matrixcli/default.nix+5−5 pkgs/applications/networking/instant-messengers/mattermost-desktop/default.nix+100−86 pkgs/applications/networking/instant-messengers/mcabber/default.nix+2 pkgs/applications/networking/instant-messengers/mikutter/default.nix+2−2 pkgs/applications/networking/instant-messengers/mirage/default.nix+6−9 pkgs/applications/networking/instant-messengers/mm/default.nix+1−1 pkgs/applications/networking/instant-messengers/neochat/default.nix+3−9 pkgs/applications/networking/instant-messengers/nheko/default.nix+2−4 pkgs/applications/networking/instant-messengers/pantalaimon/default.nix+2−2 pkgs/applications/networking/instant-messengers/pidgin-plugins/pidgin-mra/default.nix+10−8 pkgs/applications/networking/instant-messengers/pidgin-plugins/purple-plugin-pack/default.nix+2−2 pkgs/applications/networking/instant-messengers/pidgin-plugins/telegram-purple/default.nix+8−6 pkgs/applications/networking/instant-messengers/pond/default.nix+8−8 pkgs/applications/networking/instant-messengers/profanity/default.nix+22−4 pkgs/applications/networking/instant-messengers/psi-plus/default.nix+2−2 pkgs/applications/networking/instant-messengers/qtox/default.nix+2−2 pkgs/applications/networking/instant-messengers/rambox/rambox.nix+2−1 pkgs/applications/networking/instant-messengers/ricochet/default.nix+1−1 pkgs/applications/networking/instant-messengers/ripcord/darwin.nix−33 pkgs/applications/networking/instant-messengers/ripcord/default.nix+1−1 pkgs/applications/networking/instant-messengers/rocketchat-desktop/default.nix+3−3 pkgs/applications/networking/instant-messengers/schildichat/pin.json+4−7 pkgs/applications/networking/instant-messengers/schildichat/schildichat-desktop.nix+20−20 pkgs/applications/networking/instant-messengers/schildichat/schildichat-web.nix+10−35 pkgs/applications/networking/instant-messengers/schildichat/update.sh+8−16 pkgs/applications/networking/instant-messengers/session-desktop-appimage/default.nix+3−41 pkgs/applications/networking/instant-messengers/signal-cli/default.nix+7−7 pkgs/applications/networking/instant-messengers/signal-desktop/default.nix+6−11 pkgs/applications/networking/instant-messengers/signalbackup-tools/apple-sdk-missing-utimensat.patch−34 pkgs/applications/networking/instant-messengers/signalbackup-tools/default.nix−45 pkgs/applications/networking/instant-messengers/signald/0001-Fetch-buildconfig-during-gradle-build-inside-Nix-FOD.patch−35 pkgs/applications/networking/instant-messengers/signald/0002-buildconfig-local-deps-fixes.patch−60 pkgs/applications/networking/instant-messengers/signald/default.nix+27−12 pkgs/applications/networking/instant-messengers/signald/gradle-plugin.patch+19 pkgs/applications/networking/instant-messengers/sky/default.nix−66 pkgs/applications/networking/instant-messengers/skypeforlinux/default.nix+4−3 pkgs/applications/networking/instant-messengers/slack/default.nix+31−32 pkgs/applications/networking/instant-messengers/slack/update.sh+2−9 pkgs/applications/networking/instant-messengers/teams/default.nix+78−119 pkgs/applications/networking/instant-messengers/teamspeak/client.nix+3−3 pkgs/applications/networking/instant-messengers/telegram/kotatogram-desktop/default.nix+33−191 pkgs/applications/networking/instant-messengers/telegram/kotatogram-desktop/kf594.patch−57 pkgs/applications/networking/instant-messengers/telegram/kotatogram-desktop/kotato-10.12-sdk.patch−424 pkgs/applications/networking/instant-messengers/telegram/kotatogram-desktop/shortcuts-binary-path.patch−38 pkgs/applications/networking/instant-messengers/telegram/kotatogram-desktop/tg_owt-10.12-sdk.patch−68 pkgs/applications/networking/instant-messengers/telegram/kotatogram-desktop/tg_owt.nix+15−111 pkgs/applications/networking/instant-messengers/telegram/kotatogram-desktop/with-webkit.nix−23 pkgs/applications/networking/instant-messengers/telegram/tdesktop/default.nix+3−11 pkgs/applications/networking/instant-messengers/telegram/tdesktop/kf594.diff−57 pkgs/applications/networking/instant-messengers/telegram/tdesktop/tg_owt.nix+3−5 pkgs/applications/networking/instant-messengers/tensor/default.nix+6−7 pkgs/applications/networking/instant-messengers/threema-desktop/default.nix+3−3 pkgs/applications/networking/instant-messengers/torchat/default.nix+5−5 pkgs/applications/networking/instant-messengers/vk-messenger/default.nix+5−5 pkgs/applications/networking/instant-messengers/wavebox/default.nix+1−1 pkgs/applications/networking/instant-messengers/wire-desktop/default.nix+9−8 pkgs/applications/networking/instant-messengers/zoom-us/default.nix+9−48 pkgs/applications/networking/instant-messengers/zulip/default.nix+2−2 pkgs/applications/networking/ipfs-cluster/default.nix+4−4 pkgs/applications/networking/ipfs-migrator/all-migrations.nix−63 pkgs/applications/networking/ipfs-migrator/default.nix+20−16 pkgs/applications/networking/ipfs-migrator/unwrapped.nix−35 pkgs/applications/networking/ipfs/default.nix+10−20 pkgs/applications/networking/ipget/default.nix+3−3 pkgs/applications/networking/irc/bip/default.nix+1−2 pkgs/applications/networking/irc/catgirl/default.nix+2−2 pkgs/applications/networking/irc/communi/default.nix+4−5 pkgs/applications/networking/irc/hexchat/default.nix+3−3 pkgs/applications/networking/irc/ii/default.nix+2−2 pkgs/applications/networking/irc/ircdog/default.nix+4−5 pkgs/applications/networking/irc/irssi/default.nix+5−15 pkgs/applications/networking/irc/irssi/fish/default.nix+3−3 pkgs/applications/networking/irc/kirc/default.nix+3−3 pkgs/applications/networking/irc/quassel/0001-common-Disable-enum-type-stream-operators-for-Qt-5.1.patch+37 pkgs/applications/networking/irc/quassel/default.nix+12−5 pkgs/applications/networking/irc/senpai/default.nix+4−4 pkgs/applications/networking/irc/srain/default.nix+2−2 pkgs/applications/networking/irc/tiny/default.nix+4−8 pkgs/applications/networking/irc/weechat/default.nix+3−3 pkgs/applications/networking/irc/wraith/configure.patch+3−3 pkgs/applications/networking/irc/wraith/default.nix+5−5 pkgs/applications/networking/irc/wraith/dlopen.patch+6−6 pkgs/applications/networking/juju/default.nix+3−3 pkgs/applications/networking/lieer/default.nix+1 pkgs/applications/networking/linssid/default.nix+3−3 pkgs/applications/networking/maestral-qt/default.nix+2−7 pkgs/applications/networking/mailreaders/aerc/default.nix+14−23 pkgs/applications/networking/mailreaders/aerc/runtime-sharedir.patch+56−86 pkgs/applications/networking/mailreaders/afew/default.nix+1−1 pkgs/applications/networking/mailreaders/alot/default.nix−97 pkgs/applications/networking/mailreaders/claws-mail/default.nix+14−6 pkgs/applications/networking/mailreaders/evolution/evolution-ews/default.nix+3−3 pkgs/applications/networking/mailreaders/evolution/evolution/default.nix+4−11 pkgs/applications/networking/mailreaders/hasmail/default.nix+1−1 pkgs/applications/networking/mailreaders/himalaya/default.nix+6−10 pkgs/applications/networking/mailreaders/mailpile/default.nix+52 pkgs/applications/networking/mailreaders/mailspring/default.nix+4−9 pkgs/applications/networking/mailreaders/meli/default.nix+2−1 pkgs/applications/networking/mailreaders/mlarchive2maildir/default.nix+1−1 pkgs/applications/networking/mailreaders/mutt/default.nix+2−2 pkgs/applications/networking/mailreaders/neomutt/default.nix+12−2 pkgs/applications/networking/mailreaders/notbit/default.nix+30 pkgs/applications/networking/mailreaders/notmuch-bower/default.nix+2−2 pkgs/applications/networking/mailreaders/notmuch/default.nix+7−24 pkgs/applications/networking/mailreaders/thunderbird-bin/default.nix+2−2 pkgs/applications/networking/mailreaders/thunderbird-bin/release_sources.nix+261−261 pkgs/applications/networking/mailreaders/thunderbird/packages.nix+4−6 pkgs/applications/networking/mailreaders/tutanota-desktop/default.nix+2−2 pkgs/applications/networking/misc/zammad/0001-nulldb.patch−15 pkgs/applications/networking/misc/zammad/default.nix−141 pkgs/applications/networking/misc/zammad/gemset.nix−2608 pkgs/applications/networking/misc/zammad/package.json−18 pkgs/applications/networking/misc/zammad/source.json−7 pkgs/applications/networking/misc/zammad/update.nix−37 pkgs/applications/networking/misc/zammad/update.sh−68 pkgs/applications/networking/misc/zammad/yarn.lock−1275 pkgs/applications/networking/misc/zammad/yarn.nix−1549 pkgs/applications/networking/modem-manager-gui/default.nix−15 pkgs/applications/networking/mullvad-vpn/default.nix+6−9 pkgs/applications/networking/mullvad/default.nix−8 pkgs/applications/networking/mullvad/libwg.nix−35 pkgs/applications/networking/mullvad/mullvad.nix−107 pkgs/applications/networking/mullvad/openvpn.nix−87 pkgs/applications/networking/mumble/default.nix+73−47 pkgs/applications/networking/mumble/fix-rnnoise-argument.patch+16 pkgs/applications/networking/n8n/default.nix+4−14 pkgs/applications/networking/n8n/generate-dependencies.sh−13 pkgs/applications/networking/n8n/node-composition.nix+1−1 pkgs/applications/networking/n8n/node-env.nix+34−55 pkgs/applications/networking/n8n/node-packages.nix+2047−3550 pkgs/applications/networking/newsreaders/liferea/default.nix+2−2 pkgs/applications/networking/nextcloud-client/default.nix+3−28 pkgs/applications/networking/nextdns/default.nix+5−3 pkgs/applications/networking/ngadmin/default.nix+1−1 pkgs/applications/networking/novnc/default.nix−30 pkgs/applications/networking/onionshare/default.nix+18−10 pkgs/applications/networking/onionshare/fix-paths-gui.patch+7−32 pkgs/applications/networking/onionshare/fix-paths.patch+11−46 pkgs/applications/networking/opsdroid/default.nix+2−2 pkgs/applications/networking/ostinato/default.nix+9−6 pkgs/applications/networking/owamp/default.nix+1−2 pkgs/applications/networking/owncloud-client/default.nix+2−2 pkgs/applications/networking/p2p/deluge/default.nix+16−2 pkgs/applications/networking/p2p/dht/default.nix+1−1 pkgs/applications/networking/p2p/fragments/default.nix+42−55 pkgs/applications/networking/p2p/fragments/dependency-resolution.patch+25 pkgs/applications/networking/p2p/frostwire/default.nix+7−7 pkgs/applications/networking/p2p/frostwire/frostwire-bin.nix+4−17 pkgs/applications/networking/p2p/gnunet/default.nix+2−2 pkgs/applications/networking/p2p/jesec-rtorrent/default.nix−65 pkgs/applications/networking/p2p/ktorrent/default.nix+32 pkgs/applications/networking/p2p/libutp/default.nix+1−1 pkgs/applications/networking/p2p/qbittorrent/default.nix+2−2 pkgs/applications/networking/p2p/tixati/default.nix+2−2 pkgs/applications/networking/p2p/transgui/default.nix+7−3 pkgs/applications/networking/p2p/tribler/default.nix+36−44 pkgs/applications/networking/p2p/twister/default.nix+67 pkgs/applications/networking/p2p/xd/default.nix+3−3 pkgs/applications/networking/ping/default.nix+69 pkgs/applications/networking/pjsip/default.nix+3−9 pkgs/applications/networking/protonmail-bridge/default.nix+3−3 pkgs/applications/networking/protonvpn-gui/default.nix+16−33 pkgs/applications/networking/remote/anydesk/default.nix+2−2 pkgs/applications/networking/remote/citrix-workspace/generic.nix+1−1 pkgs/applications/networking/remote/freerdp/default.nix+55−88 pkgs/applications/networking/remote/remmina/default.nix+6−10 pkgs/applications/networking/remote/rustdesk/cargo.patch−50 pkgs/applications/networking/remote/rustdesk/default.nix−104 pkgs/applications/networking/remote/teamviewer/default.nix+2−2 pkgs/applications/networking/remote/vmware-horizon-client/default.nix+64−50 pkgs/applications/networking/remote/waypipe/default.nix+1−2 pkgs/applications/networking/remote/x2goclient/default.nix+6−36 pkgs/applications/networking/resilio-sync/default.nix+19−19 pkgs/applications/networking/seafile-client/default.nix+3−5 pkgs/applications/networking/seahub/default.nix−81 pkgs/applications/networking/seaweedfs/default.nix+5−6 pkgs/applications/networking/shellhub-agent/default.nix+7−5 pkgs/applications/networking/sniffers/sngrep/default.nix+13−2 pkgs/applications/networking/sniffers/wireshark/default.nix+7−23 pkgs/applications/networking/soapui/default.nix+1−3 pkgs/applications/networking/soju/default.nix+3−3 pkgs/applications/networking/soulseek/nicotine-plus/default.nix+2−2 pkgs/applications/networking/ssb-patchwork/default.nix+1−1 pkgs/applications/networking/sync/desync/default.nix+3−3 pkgs/applications/networking/sync/lsyncd/default.nix+1−2 pkgs/applications/networking/sync/onedrive/default.nix+2−2 pkgs/applications/networking/sync/rclone/default.nix+5−10 pkgs/applications/networking/sync/unison/default.nix+8−5 pkgs/applications/networking/sync/wdt/default.nix−34 pkgs/applications/networking/syncplay/default.nix+4−6 pkgs/applications/networking/syncthing/default.nix+3−3 pkgs/applications/networking/synology-drive-client/default.nix+7−7 pkgs/applications/networking/synology-drive/default.nix+45 pkgs/applications/networking/termius/default.nix+14−9 pkgs/applications/networking/testssl/default.nix+2−2 pkgs/applications/networking/tetrd/default.nix+1−1 pkgs/applications/networking/vnstat/default.nix+2−2 pkgs/applications/networking/wayback_machine_downloader/Gemfile+3−2 pkgs/applications/networking/wayback_machine_downloader/Gemfile.lock+3−3 pkgs/applications/networking/wayback_machine_downloader/gemset.nix+2−2 pkgs/applications/networking/zerobin/default.nix+1−1 pkgs/applications/office/PageEdit/default.nix−25 pkgs/applications/office/appflowy/default.nix−77 pkgs/applications/office/autokey/remove-requires-dbus-python.patch+11 pkgs/applications/office/banking/default.nix+9−20 pkgs/applications/office/beamerpresenter/default.nix+22−45 pkgs/applications/office/bookworm/default.nix+26−48 pkgs/applications/office/buho/default.nix−58 pkgs/applications/office/calligra/default.nix−16 pkgs/applications/office/elementary-planner/default.nix+2−14 pkgs/applications/office/espanso/default.nix−1 pkgs/applications/office/fava/default.nix+3−15 pkgs/applications/office/foliate/default.nix+3−2 pkgs/applications/office/gnucash/0001-changes.patch pkgs/applications/office/gnucash/0002-disable-gnc-fq-update.patch−18 pkgs/applications/office/gnucash/0003-remove-valgrind.patch−35 pkgs/applications/office/gnucash/default.nix+78−185 pkgs/applications/office/gnumeric/default.nix+2−3 pkgs/applications/office/gtg/default.nix−8 pkgs/applications/office/hledger-check-fancyassertions/default.nix+9−4 pkgs/applications/office/homebank/default.nix+2−2 pkgs/applications/office/impressive/default.nix+70 pkgs/applications/office/jabref/default.nix+3−3 pkgs/applications/office/jameica/default.nix+12−13 pkgs/applications/office/kalendar/default.nix+101 pkgs/applications/office/khronos/default.nix+9−2 pkgs/applications/office/ledger/default.nix+2−2 pkgs/applications/office/libreoffice/darwin.nix−51 pkgs/applications/office/libreoffice/default.nix+3−12 pkgs/applications/office/libreoffice/soffice-template.desktop−6 pkgs/applications/office/libreoffice/wrapper.nix+12−25 pkgs/applications/office/micropad/default.nix−101 pkgs/applications/office/micropad/package.json−87 pkgs/applications/office/micropad/yarn.lock−2006 pkgs/applications/office/micropad/yarn.nix−2341 pkgs/applications/office/mmex/default.nix+29−26 pkgs/applications/office/morgen/default.nix−59 pkgs/applications/office/notion-app-enhanced/default.nix+2−2 pkgs/applications/office/paperless-ng/default.nix+202 pkgs/applications/office/paperless-ngx/default.nix−194 pkgs/applications/office/paperwork/openpaperwork-core.nix−1 pkgs/applications/office/paperwork/openpaperwork-gtk.nix−1 pkgs/applications/office/paperwork/paperwork-gtk.nix+3−19 pkgs/applications/office/paperwork/src.nix+2−2 pkgs/applications/office/pinpoint/default.nix+2−2 pkgs/applications/office/portfolio/default.nix+4−4 pkgs/applications/office/pyspread/default.nix+1−1 pkgs/applications/office/qownnotes/default.nix+2−2 pkgs/applications/office/scribus/unstable.nix−35 pkgs/applications/office/skanlite/default.nix+30 pkgs/applications/office/skrooge/default.nix+2−2 pkgs/applications/office/softmaker/desktop_items.nix+18−72 pkgs/applications/office/spice-up/default.nix+28−21 pkgs/applications/office/super-productivity/default.nix+2−2 pkgs/applications/office/timekeeper/default.nix+44 pkgs/applications/office/timeline/default.nix+7−4 pkgs/applications/office/treesheets/default.nix+31−29 pkgs/applications/office/trilium/0001-Use-console-logger-instead-of-rolling-files.patch+42−11 pkgs/applications/office/trilium/default.nix+4−4 pkgs/applications/office/tusk/default.nix+3−4 pkgs/applications/office/vnote/default.nix+2−2 pkgs/applications/office/watson/default.nix+1−2 pkgs/applications/office/wpsoffice/default.nix+1 pkgs/applications/office/zanshin/default.nix+38 pkgs/applications/office/zotero/default.nix+44−49 pkgs/applications/radio/cubicsdr/default.nix+21−3 pkgs/applications/radio/dablin/default.nix+2−2 pkgs/applications/radio/dump1090/default.nix+2−2 pkgs/applications/radio/flex-ncat/default.nix−1 pkgs/applications/radio/flrig/default.nix+2−4 pkgs/applications/radio/freedv/default.nix+6−10 pkgs/applications/radio/gnss-sdr/default.nix+29−54 pkgs/applications/radio/gnss-sdr/fix_libcpu_features_install_path.patch−47 pkgs/applications/radio/gnuradio/3.7.nix+281 pkgs/applications/radio/gnuradio/3.8.nix+8−7 pkgs/applications/radio/gnuradio/3.9.nix−303 pkgs/applications/radio/gnuradio/default.nix+6−37 pkgs/applications/radio/gnuradio/wrapper.nix+4−5 pkgs/applications/radio/gqrx/default.nix+9−3 pkgs/applications/radio/kalibrate-rtl/default.nix+5−5 pkgs/applications/radio/pothos/default.nix+2−2 pkgs/applications/radio/qradiolink/default.nix+2−1 pkgs/applications/radio/qsstv/default.nix+4−4 pkgs/applications/radio/rtl-ais/default.nix+1−2 pkgs/applications/radio/rtl-sdr/default.nix+7−11 pkgs/applications/radio/sdrangel/default.nix+2−2 pkgs/applications/radio/sdrplay/default.nix+1−1 pkgs/applications/radio/soapyhackrf/default.nix+2−2 pkgs/applications/radio/soapysdr/default.nix+1−2 pkgs/applications/radio/soapysdrplay/default.nix+2−2 pkgs/applications/radio/soundmodem/default.nix+3−3 pkgs/applications/radio/splat/default.nix−55 pkgs/applications/radio/srsran/default.nix−49 pkgs/applications/radio/svxlink/default.nix+1−1 pkgs/applications/radio/uhd/default.nix−2 pkgs/applications/radio/urh/default.nix+2−2 pkgs/applications/radio/welle-io/default.nix+2−2 pkgs/applications/radio/wsjtx/default.nix+2−2 pkgs/applications/science/astronomy/astrolabe-generator/default.nix−1 pkgs/applications/science/astronomy/astrolog/default.nix+2−3 pkgs/applications/science/astronomy/gnuastro/default.nix−36 pkgs/applications/science/astronomy/gprojector/default.nix−51 pkgs/applications/science/astronomy/gravit/default.nix+6−8 pkgs/applications/science/astronomy/kstars/default.nix+2−2 pkgs/applications/science/astronomy/openspace/assets.patch+100 pkgs/applications/science/astronomy/openspace/config.patch+49 pkgs/applications/science/astronomy/openspace/constexpr.patch+91 pkgs/applications/science/astronomy/openspace/default.nix+90 pkgs/applications/science/astronomy/openspace/vrpn.patch+13 pkgs/applications/science/astronomy/phd2/default.nix+2−2 pkgs/applications/science/astronomy/siril/default.nix+2−2 pkgs/applications/science/astronomy/stellarium/default.nix+4−4 pkgs/applications/science/biology/angsd/default.nix−25 pkgs/applications/science/biology/bayescan/default.nix−1 pkgs/applications/science/biology/bcftools/default.nix+2−2 pkgs/applications/science/biology/blast/default.nix+2−2 pkgs/applications/science/biology/bowtie2/default.nix+2−2 pkgs/applications/science/biology/bwa/default.nix−2 pkgs/applications/science/biology/clustal-omega/default.nix−1 pkgs/applications/science/biology/cmtk/default.nix+1−4 pkgs/applications/science/biology/dcm2niix/default.nix+7−42 pkgs/applications/science/biology/dcm2niix/dont-fetch-external-libs.patch−36 pkgs/applications/science/biology/deeptools/default.nix+2−2 pkgs/applications/science/biology/eggnog-mapper/default.nix+16−30 pkgs/applications/science/biology/febio-studio/default.nix−61 pkgs/applications/science/biology/febio-studio/febio-studio-cmake.patch−38 pkgs/applications/science/biology/flywheel-cli/default.nix−49 pkgs/applications/science/biology/hisat2/default.nix+2−2 pkgs/applications/science/biology/kallisto/default.nix+2−2 pkgs/applications/science/biology/kssd/default.nix+1−2 pkgs/applications/science/biology/last/default.nix+4−4 pkgs/applications/science/biology/lumpy/default.nix+50 pkgs/applications/science/biology/megahit/default.nix−3 pkgs/applications/science/biology/messer-slim/default.nix+2−2 pkgs/applications/science/biology/minimap2/default.nix+2−4 pkgs/applications/science/biology/mosdepth/default.nix+2−2 pkgs/applications/science/biology/ncbi-tools/default.nix+34 pkgs/applications/science/biology/neuron/default.nix+1−1 pkgs/applications/science/biology/picard-tools/default.nix+2−3 pkgs/applications/science/biology/poretools/default.nix+3−3 pkgs/applications/science/biology/quast/default.nix+3−1 pkgs/applications/science/biology/raxml/default.nix+2−2 pkgs/applications/science/biology/repseek/default.nix−27 pkgs/applications/science/biology/sambamba/default.nix+12−12 pkgs/applications/science/biology/samtools/default.nix+1−8 pkgs/applications/science/biology/spades/default.nix+2−2 pkgs/applications/science/biology/star/default.nix+2−2 pkgs/applications/science/biology/tebreak/default.nix+6−6 pkgs/applications/science/chemistry/chemtool/default.nix−1 pkgs/applications/science/chemistry/cp2k/default.nix+3−5 pkgs/applications/science/chemistry/d-seams/default.nix+2−2 pkgs/applications/science/chemistry/jmol/default.nix+4−12 pkgs/applications/science/chemistry/marvin/default.nix+2−2 pkgs/applications/science/chemistry/molden/default.nix+1−1 pkgs/applications/science/chemistry/pymol/default.nix+2−10 pkgs/applications/science/computer-architecture/qtrvsim/default.nix−30 pkgs/applications/science/electronics/alliance/default.nix−4 pkgs/applications/science/electronics/caneda/default.nix+2−2 pkgs/applications/science/electronics/diylc/default.nix+1−1 pkgs/applications/science/electronics/eagle/eagle.nix+1−1 pkgs/applications/science/electronics/eagle/eagle7.nix+97 pkgs/applications/science/electronics/gaw/default.nix−34 pkgs/applications/science/electronics/gerbv/default.nix+2−2 pkgs/applications/science/electronics/horizon-eda/default.nix+2−2 pkgs/applications/science/electronics/kicad/base.nix+2−1 pkgs/applications/science/electronics/kicad/default.nix+1−1 pkgs/applications/science/electronics/kicad/versions.nix+24−24 pkgs/applications/science/electronics/lepton-eda/default.nix+2−2 pkgs/applications/science/electronics/magic-vlsi/0002-fix-format-security.patch+19 pkgs/applications/science/electronics/magic-vlsi/default.nix+3−2 pkgs/applications/science/electronics/ngspice/default.nix+2−2 pkgs/applications/science/electronics/openhantek6022/default.nix+2−2 pkgs/applications/science/electronics/verilator/default.nix+7−13 pkgs/applications/science/electronics/xcircuit/default.nix+8−4 pkgs/applications/science/electronics/xschem/default.nix−46 pkgs/applications/science/electronics/xyce/default.nix−182 pkgs/applications/science/engineering/brmodelo/default.nix−109 pkgs/applications/science/geometry/gama/default.nix+2−2 pkgs/applications/science/geometry/tetgen/default.nix+5−12 pkgs/applications/science/logic/abc/default.nix+3−3 pkgs/applications/science/logic/alt-ergo/default.nix+10−7 pkgs/applications/science/logic/anders/default.nix−27 pkgs/applications/science/logic/coq/default.nix+18−23 pkgs/applications/science/logic/cvc5/default.nix−34 pkgs/applications/science/logic/easycrypt/default.nix−50 pkgs/applications/science/logic/easycrypt/runtest.nix−24 pkgs/applications/science/logic/elan/default.nix+3−3 pkgs/applications/science/logic/fast-downward/default.nix+12−19 pkgs/applications/science/logic/formula/default.nix−32 pkgs/applications/science/logic/formula/nuget.nix−77 pkgs/applications/science/logic/isabelle/components/default.nix−5 pkgs/applications/science/logic/isabelle/components/isabelle-linter.nix−22 pkgs/applications/science/logic/isabelle/components/mkBuild.nix−36 pkgs/applications/science/logic/isabelle/default.nix+18−112 pkgs/applications/science/logic/jonprl/default.nix+35 pkgs/applications/science/logic/key/default.nix+28−71 pkgs/applications/science/logic/klee/default.nix−157 pkgs/applications/science/logic/klee/klee-uclibc.nix−98 pkgs/applications/science/logic/lean/default.nix+3−3 pkgs/applications/science/logic/lean2/default.nix+37 pkgs/applications/science/logic/leo2/default.upstream+6 pkgs/applications/science/logic/logisim-evolution/default.nix+2−2 pkgs/applications/science/logic/logisim/default.nix+2−2 pkgs/applications/science/logic/naproche/default.nix−38 pkgs/applications/science/logic/nuXmv/default.nix−33 pkgs/applications/science/logic/opensmt/default.nix+2−2 pkgs/applications/science/logic/otter/default.nix+53 pkgs/applications/science/logic/potassco/clingcon.nix−5 pkgs/applications/science/logic/potassco/clingo.upstream+6 pkgs/applications/science/logic/satallax/default.nix+1 pkgs/applications/science/logic/symbiyosys/default.nix−1 pkgs/applications/science/logic/symfpu/default.nix−26 pkgs/applications/science/logic/tamarin-prover/default.nix−2 pkgs/applications/science/logic/tlaplus/default.nix+2−2 pkgs/applications/science/logic/tlaplus/tlaps.nix+4−4 pkgs/applications/science/logic/tlaplus/toolbox.nix+5−3 pkgs/applications/science/logic/why3/default.nix+5−5 pkgs/applications/science/logic/why3/with-provers.nix+1−1 pkgs/applications/science/logic/workcraft/default.nix+2−2 pkgs/applications/science/logic/z3/4.4.0.nix+1−1 pkgs/applications/science/logic/z3/default.nix+66−66 pkgs/applications/science/machine-learning/finalfusion-utils/default.nix+3−4 pkgs/applications/science/machine-learning/shogun/default.nix+6−12 pkgs/applications/science/machine-learning/vowpal-wabbit/default.nix+2−2 pkgs/applications/science/math/R/default.nix+2−7 pkgs/applications/science/math/adolc/default.nix−23 pkgs/applications/science/math/bcal/default.nix+2−2 pkgs/applications/science/math/caffe/default.nix+4−9 pkgs/applications/science/math/calc/default.nix+2−2 pkgs/applications/science/math/calculix/calculix.patch+9−10 pkgs/applications/science/math/calculix/default.nix+3−6 pkgs/applications/science/math/cemu/default.nix+2−2 pkgs/applications/science/math/cntk/default.nix+7−12 pkgs/applications/science/math/fricas/default.nix+6−3 pkgs/applications/science/math/geogebra/default.nix+2−2 pkgs/applications/science/math/getdp/default.nix+3−3 pkgs/applications/science/math/gfm/default.nix+55 pkgs/applications/science/math/giac/default.nix+16−12 pkgs/applications/science/math/ginac/default.nix+2−2 pkgs/applications/science/math/gmsh/default.nix+7−10 pkgs/applications/science/math/gretl/default.nix+2−2 pkgs/applications/science/math/gurobi/default.nix+2−2 pkgs/applications/science/math/mathematica/default.nix+104−109 pkgs/applications/science/math/mathematica/l10ns.nix−7 pkgs/applications/science/math/mxnet/default.nix+2−14 pkgs/applications/science/math/nasc/default.nix+1 pkgs/applications/science/math/pari/default.nix+1 pkgs/applications/science/math/polymake/default.nix+2−2 pkgs/applications/science/math/qalculate-gtk/default.nix+2−2 pkgs/applications/science/math/ratpoints/default.nix+1 pkgs/applications/science/math/rofi-calc/default.nix+2−2 pkgs/applications/science/math/sage/README.md+2−2 pkgs/applications/science/math/sage/default.nix+11−14 pkgs/applications/science/math/sage/patches/Only-test-external-software-when-all-of-sage-is.patch−46 pkgs/applications/science/math/sage/patches/Only-test-py2-py3-optional-tests-when-all-of-sage-is.patch+26 pkgs/applications/science/math/sage/patches/do-not-test-find-library.patch+17−4 pkgs/applications/science/math/sage/patches/docutils-0.18.1-deprecation.patch−13 pkgs/applications/science/math/sage/patches/fonttools-deprecation-warnings.patch+39 pkgs/applications/science/math/sage/patches/linbox-1.7-upgrade.patch−58 pkgs/applications/science/math/sage/patches/sphinx-docbuild-subprocesses.patch+6−6 pkgs/applications/science/math/sage/patches/tachyon-renamed-focallength.patch−81 pkgs/applications/science/math/sage/python-modules/sage-docbuild.nix−28 pkgs/applications/science/math/sage/python-modules/sage-setup.nix−28 pkgs/applications/science/math/sage/sage-env.nix+8−5 pkgs/applications/science/math/sage/sage-src.nix+51−83 pkgs/applications/science/math/sage/sage-with-env.nix+2−4 pkgs/applications/science/math/sage/sage.nix+2−4 pkgs/applications/science/math/sage/sage_docbuild.nix+20 pkgs/applications/science/math/sage/sagedoc.nix+2−2 pkgs/applications/science/math/sage/sagelib.nix+4−53 pkgs/applications/science/math/scilab-bin/default.nix+21−18 pkgs/applications/science/math/singular/default.nix+60−17 pkgs/applications/science/math/singular/disable-docs-for-optional-unpackaged-deps.patch+112 pkgs/applications/science/math/singular/redhat-aarch64.patch+38 pkgs/applications/science/math/singular/use-older-ax-prog-cc-for-build.patch+194 pkgs/applications/science/math/singular/vspace-MAX_PROCESS.patch+35 pkgs/applications/science/math/tilp2/default.nix+57 pkgs/applications/science/math/wolfram-engine/default.nix−143 pkgs/applications/science/math/wolfram-engine/l10ns.nix−51 pkgs/applications/science/math/wolfram-engine/notebook.nix−9 pkgs/applications/science/math/wxmaxima/default.nix+2−2 pkgs/applications/science/medicine/xmedcon/default.nix+2−2 pkgs/applications/science/misc/bada-bib/default.nix−77 pkgs/applications/science/misc/colmap/default.nix+8−24 pkgs/applications/science/misc/cwltool/default.nix+5−4 pkgs/applications/science/misc/cytoscape/default.nix+2−2 pkgs/applications/science/misc/fityk/default.nix+5−6 pkgs/applications/science/misc/foldingathome/control.nix+1−1 pkgs/applications/science/misc/foldingathome/viewer.nix+1−1 pkgs/applications/science/misc/golly/beta.nix+50 pkgs/applications/science/misc/golly/default.upstream+5 pkgs/applications/science/misc/gplates/default.nix−2 pkgs/applications/science/misc/graphia/default.nix−1 pkgs/applications/science/misc/netlogo/default.nix+2−2 pkgs/applications/science/misc/nextinspace/default.nix+8−28 pkgs/applications/science/misc/openmvs/default.nix+77 pkgs/applications/science/misc/rink/default.nix+3−3 pkgs/applications/science/misc/root/5.nix−5 pkgs/applications/science/misc/root/default.nix+3−8 pkgs/applications/science/misc/sasview/default.nix+51−38 pkgs/applications/science/misc/sasview/local_config.patch+22 pkgs/applications/science/misc/sasview/pyparsing-fix.patch+13 pkgs/applications/science/misc/simgrid/default.nix+50−50 pkgs/applications/science/misc/snakemake/default.nix+9−42 pkgs/applications/science/misc/toil/default.nix+16−23 pkgs/applications/science/misc/tulip/default.nix+7−8 pkgs/applications/science/molecular-dynamics/gromacs/default.nix+2−2 pkgs/applications/science/physics/sherpa/default.nix+2−2 pkgs/applications/science/physics/shtns/default.nix−22 pkgs/applications/science/physics/xfitter/default.nix+30−34 pkgs/applications/science/physics/xfitter/undefined_behavior.patch+454 pkgs/applications/science/programming/groove/default.nix+1−1 pkgs/applications/science/programming/jflap/default.nix−32 pkgs/applications/science/robotics/betaflight-configurator/default.nix+2−2 pkgs/applications/science/robotics/inav-configurator/default.nix+2−2 pkgs/applications/science/robotics/mavproxy/default.nix+2−2 pkgs/applications/science/robotics/mission-planner/default.nix+2−2 pkgs/applications/science/robotics/qgroundcontrol/default.nix+3−5 pkgs/applications/science/robotics/sumorobot-manager/default.nix+1−1 pkgs/applications/system/monitor/default.nix+3−17 pkgs/applications/terminal-emulators/alacritty/default.nix+14−10 pkgs/applications/terminal-emulators/contour/default.nix+1−3 pkgs/applications/terminal-emulators/cool-retro-term/default.nix+1−3 pkgs/applications/terminal-emulators/ctx/default.nix−3 pkgs/applications/terminal-emulators/darktile/default.nix−3 pkgs/applications/terminal-emulators/eterm/default.nix+1−4 pkgs/applications/terminal-emulators/evilvte/default.nix+38 pkgs/applications/terminal-emulators/foot/default.nix+2−4 pkgs/applications/terminal-emulators/germinal/default.nix−3 pkgs/applications/terminal-emulators/gnome-console/default.nix−69 pkgs/applications/terminal-emulators/guake/default.nix−3 pkgs/applications/terminal-emulators/havoc/default.nix+8−20 pkgs/applications/terminal-emulators/hyper/default.nix+4−6 pkgs/applications/terminal-emulators/iterm2/default.nix+30−24 pkgs/applications/terminal-emulators/kermit-terminal/default.nix−44 pkgs/applications/terminal-emulators/kgx/default.nix+76 pkgs/applications/terminal-emulators/kitty/default.nix+33−76 pkgs/applications/terminal-emulators/lilyterm/default.nix+58 pkgs/applications/terminal-emulators/lxterminal/default.nix+1−3 pkgs/applications/terminal-emulators/mlterm/default.nix+8−8 pkgs/applications/terminal-emulators/mrxvt/default.nix−3 pkgs/applications/terminal-emulators/roxterm/default.nix+3−5 pkgs/applications/terminal-emulators/rxvt-unicode-plugins/urxvt-font-size/default.nix+1−1 pkgs/applications/terminal-emulators/rxvt-unicode/default.nix+8−36 pkgs/applications/terminal-emulators/rxvt-unicode/wrapper.nix+1−5 pkgs/applications/terminal-emulators/sakura/default.nix−3 pkgs/applications/terminal-emulators/st/default.nix+8−9 pkgs/applications/terminal-emulators/stupidterm/default.nix+1−3 pkgs/applications/terminal-emulators/syncterm/default.nix−41 pkgs/applications/terminal-emulators/terminator/default.nix−3 pkgs/applications/terminal-emulators/termite/default.nix+2−5 pkgs/applications/terminal-emulators/termonad/default.nix+2−5 pkgs/applications/terminal-emulators/tilda/default.nix−3 pkgs/applications/terminal-emulators/tilix/default.nix+2−5 pkgs/applications/terminal-emulators/wayst/default.nix+6−6 pkgs/applications/terminal-emulators/wezterm/default.nix+9−23 pkgs/applications/terminal-emulators/xterm/default.nix+3−6 pkgs/applications/version-management/bcompare/default.nix+3−3 pkgs/applications/version-management/bitkeeper/default.nix+56 pkgs/applications/version-management/commit-formatter/default.nix−23 pkgs/applications/version-management/commitizen/default.nix−122 pkgs/applications/version-management/cvs2svn/default.nix+5−5 pkgs/applications/version-management/dvc/default.nix+38−81 pkgs/applications/version-management/dvc/dvc-daemon.patch+13−10 pkgs/applications/version-management/fnc/default.nix−40 pkgs/applications/version-management/fossil/default.nix+2−2 pkgs/applications/version-management/gerrit/default.nix+2−2 pkgs/applications/version-management/git-and-tools/bfg-repo-cleaner/default.nix+44−41 pkgs/applications/version-management/git-and-tools/bitbucket-server-cli/default.nix−1 pkgs/applications/version-management/git-and-tools/cgit/common.nix−77 pkgs/applications/version-management/git-and-tools/cgit/default.nix+69−7 pkgs/applications/version-management/git-and-tools/cgit/pink.nix−23 pkgs/applications/version-management/git-and-tools/darcs-to-git/default.nix+4−5 pkgs/applications/version-management/git-and-tools/delta/default.nix+3−3 pkgs/applications/version-management/git-and-tools/gfold/default.nix−30 pkgs/applications/version-management/git-and-tools/gg/default.nix+8−17 pkgs/applications/version-management/git-and-tools/gg/skip-broken-revert-tests.patch+12 pkgs/applications/version-management/git-and-tools/gh/default.nix+3−3 pkgs/applications/version-management/git-and-tools/ghorg/default.nix+3−3 pkgs/applications/version-management/git-and-tools/git-annex-remote-b2/default.nix+7−7 pkgs/applications/version-management/git-and-tools/git-annex-utils/default.nix+1−3 pkgs/applications/version-management/git-and-tools/git-branchless/default.nix+5−5 pkgs/applications/version-management/git-and-tools/git-cliff/default.nix+3−3 pkgs/applications/version-management/git-and-tools/git-cola/default.nix+2−2 pkgs/applications/version-management/git-and-tools/git-crypt/default.nix+7−17 pkgs/applications/version-management/git-and-tools/git-dit/default.nix+58 pkgs/applications/version-management/git-and-tools/git-extras/default.nix+2−2 pkgs/applications/version-management/git-and-tools/git-gone/default.nix+16−19 pkgs/applications/version-management/git-and-tools/git-hub/default.nix+2−2 pkgs/applications/version-management/git-and-tools/git-interactive-rebase-tool/default.nix+12−5 pkgs/applications/version-management/git-and-tools/git-machete/default.nix+10−5 pkgs/applications/version-management/git-and-tools/git-remote-hg/default.nix+2−2 pkgs/applications/version-management/git-and-tools/git-secret/default.nix+6−3 pkgs/applications/version-management/git-and-tools/git-team/default.nix−31 pkgs/applications/version-management/git-and-tools/git-vendor/default.nix+2−2 pkgs/applications/version-management/git-and-tools/git-workspace/default.nix+3−3 pkgs/applications/version-management/git-and-tools/git/default.nix+18−27 pkgs/applications/version-management/git-and-tools/gitbatch/default.nix+10−12 pkgs/applications/version-management/git-and-tools/gitbatch/deps.nix+543 pkgs/applications/version-management/git-and-tools/gitstatus/default.nix+2−2 pkgs/applications/version-management/git-and-tools/gitstatus/romkatv_libgit2.nix+4−7 pkgs/applications/version-management/git-and-tools/gitty/default.nix+3−3 pkgs/applications/version-management/git-and-tools/gitui/default.nix+6−18 pkgs/applications/version-management/git-and-tools/glab/default.nix+4−13 pkgs/applications/version-management/git-and-tools/glitter/default.nix+3−3 pkgs/applications/version-management/git-and-tools/grv/default.nix+1−1 pkgs/applications/version-management/git-and-tools/hut/default.nix−40 pkgs/applications/version-management/git-and-tools/lab/default.nix+3−3 pkgs/applications/version-management/git-and-tools/lucky-commit/default.nix+3−3 pkgs/applications/version-management/git-and-tools/pass-git-helper/default.nix+2−2 pkgs/applications/version-management/git-and-tools/qgit/default.nix+2−2 pkgs/applications/version-management/git-and-tools/scmpuff/default.nix+9−14 pkgs/applications/version-management/git-and-tools/scmpuff/deps.nix+273 pkgs/applications/version-management/git-and-tools/stgit/default.nix+2−2 pkgs/applications/version-management/git-and-tools/subgit/default.nix+2−2 pkgs/applications/version-management/git-and-tools/tig/default.nix+2−2 pkgs/applications/version-management/git-crecord/default.nix+5−8 pkgs/applications/version-management/git-lfs/default.nix+2−8 pkgs/applications/version-management/git-repo/default.nix+2−2 pkgs/applications/version-management/git-review/default.nix+8−4 pkgs/applications/version-management/git-sizer/default.nix+6−15 pkgs/applications/version-management/gitea/default.nix+3−3 pkgs/applications/version-management/github-desktop/default.nix+2−2 pkgs/applications/version-management/gitinspector/default.nix+26 pkgs/applications/version-management/gitkraken/default.nix+6−11 pkgs/applications/version-management/gitlab/data.json+8−8 pkgs/applications/version-management/gitlab/default.nix+8−5 pkgs/applications/version-management/gitlab/fix-grpc-ar.patch+10 pkgs/applications/version-management/gitlab/gitaly/Gemfile+5−5 pkgs/applications/version-management/gitlab/gitaly/Gemfile.lock+36−33 pkgs/applications/version-management/gitlab/gitaly/default.nix+30−8 pkgs/applications/version-management/gitlab/gitaly/gemset.nix+51−44 pkgs/applications/version-management/gitlab/gitlab-shell/default.nix+4−4 pkgs/applications/version-management/gitlab/gitlab-workhorse/default.nix+3−3 pkgs/applications/version-management/gitlab/remove-hardcoded-locations.patch−10 pkgs/applications/version-management/gitlab/rubyEnv/Gemfile+46−45 pkgs/applications/version-management/gitlab/rubyEnv/Gemfile.lock+183−211 pkgs/applications/version-management/gitlab/rubyEnv/gemset.nix+232−321 pkgs/applications/version-management/gitless/default.nix+11−26 pkgs/applications/version-management/gitoxide/default.nix+3−3 pkgs/applications/version-management/gitqlient/default.nix−41 pkgs/applications/version-management/gogs/default.nix+3−3 pkgs/applications/version-management/got/default.nix+5−4 pkgs/applications/version-management/jujutsu/default.nix−61 pkgs/applications/version-management/meld/default.nix+2−13 pkgs/applications/version-management/mercurial/default.nix+8−11 pkgs/applications/version-management/monotone/default.nix−2 pkgs/applications/version-management/monotone/default.upstream+8 pkgs/applications/version-management/p4/default.nix+1−1 pkgs/applications/version-management/pijul/default.nix+3−3 pkgs/applications/version-management/rapidsvn/default.nix+2−2 pkgs/applications/version-management/rcs/default.nix+4−6 pkgs/applications/version-management/redmine/Gemfile+2−2 pkgs/applications/version-management/redmine/Gemfile.lock+69−70 pkgs/applications/version-management/redmine/default.nix+3−3 pkgs/applications/version-management/redmine/gemset.nix+78−79 pkgs/applications/version-management/redmine/update.sh−17 pkgs/applications/version-management/smartgithg/default.nix+11−7 pkgs/applications/version-management/sourcehut/builds.nix+2−2 pkgs/applications/version-management/sourcehut/core.nix+2−2 pkgs/applications/version-management/sourcehut/dispatch.nix+1−1 pkgs/applications/version-management/sourcehut/git.nix+2−7 pkgs/applications/version-management/sourcehut/hg.nix+2−2 pkgs/applications/version-management/sourcehut/lists.nix+2−7 pkgs/applications/version-management/sourcehut/man.nix+2−2 pkgs/applications/version-management/sourcehut/meta.nix+3−3 pkgs/applications/version-management/sourcehut/pages.nix+3−3 pkgs/applications/version-management/sourcehut/patches/redis-socket/git/0001-Revert-Add-webhook-queue-monitoring.patch−50 pkgs/applications/version-management/sourcehut/patches/redis-socket/lists/0001-Revert-Add-webhook-queue-monitoring.patch−48 pkgs/applications/version-management/sourcehut/patches/redis-socket/todo/0001-Revert-Add-webhook-queue-monitoring.patch−50 pkgs/applications/version-management/sourcehut/scm.nix+2−2 pkgs/applications/version-management/sourcehut/todo.nix+2−7 pkgs/applications/version-management/src/default.nix+7−21 pkgs/applications/version-management/srcml/default.nix+2−2 pkgs/applications/version-management/subversion/default.nix+10−5 pkgs/applications/version-management/tailor/default.nix+2−2 pkgs/applications/version-management/tkcvs/default.nix+28 pkgs/applications/version-management/tkrev/default.nix−31 pkgs/applications/version-management/tortoisehg/default.nix+41−55 pkgs/applications/version-management/verco/default.nix+3−3

9502 more files changed are not listed.

.editorconfig+14−5
@@ -55,23 +55,25 @@ trim_trailing_whitespace = unset
5555[*.lock]
5656indent_size = unset
5757
58−# trailing whitespace is an actual syntax element of classic Markdown/
59−# CommonMark to enforce a line break
60−[*.md]
61−trim_trailing_whitespace = unset
62−
6358[eggs.nix]
6459trim_trailing_whitespace = unset
6560
6661[nixos/modules/services/networking/ircd-hybrid/*.{conf,in}]
6762trim_trailing_whitespace = unset
6863
64+[nixos/tests/systemd-networkd-vrf.nix]
65+trim_trailing_whitespace = unset
66+
6967[pkgs/build-support/dotnetenv/Wrapper/**]
7068end_of_line = unset
7169indent_style = unset
7270insert_final_newline = unset
7371trim_trailing_whitespace = unset
7472
73+[pkgs/build-support/upstream-updater/**]
74+indent_style = unset
75+trim_trailing_whitespace = unset
76+
7577[pkgs/development/compilers/elm/registry.dat]
7678end_of_line = unset
7779insert_final_newline = unset
@@ -85,3 +87,10 @@ trim_trailing_whitespace = unset
8587
8688[pkgs/tools/misc/timidity/timidity.cfg]
8789trim_trailing_whitespace = unset
90+
91+[pkgs/tools/security/enpass/data.json]
92+insert_final_newline = unset
93+trim_trailing_whitespace = unset
94+
95+[pkgs/top-level/emscripten-packages.nix]
96+trim_trailing_whitespace = unset
.git-blame-ignore-revsdeleted−32
@@ -1,32 +0,0 @@
1−# This file contains a list of commits that are not likely what you
2−# are looking for in a blame, such as mass reformatting or renaming.
3−# You can set this file as a default ignore file for blame by running
4−# the following command.
5−#
6−# $ git config blame.ignoreRevsFile .git-blame-ignore-revs
7−#
8−# To temporarily not use this file add
9−# --ignore-revs-file=""
10−# to your blame command.
11−#
12−# The ignoreRevsFile can't be set globally due to blame failing if the file isn't present.
13−# To not have to set the option in every repository it is needed in,
14−# save the following script in your path with the name "git-bblame"
15−# now you can run
16−# $ git bblame $FILE
17−# to use the .git-blame-ignore-revs file if it is present.
18−#
19−# #!/usr/bin/env bash
20−# repo_root=$(git rev-parse --show-toplevel)
21−# if [[ -e $repo_root/.git-blame-ignore-revs ]]; then
22−# git blame --ignore-revs-file="$repo_root/.git-blame-ignore-revs" $@
23−# else
24−# git blame $@
25−# fi
26−
27−
28−# nixos/modules/rename: Sort alphabetically
29−1f71224fe86605ef4cd23ed327b3da7882dad382
30−
31−# nixos: fix module paths in rename.nix
32−d08ede042b74b8199dc748323768227b88efcf7c
.github/CODEOWNERS+53−90
@@ -10,6 +10,9 @@
1010# IMPORTANT NOTE: in order to actually get pinged, commit access is required.
1111# This also holds true for GitHub teams. Since almost none of our teams have write
1212# permissions, you need to list all members of the team with commit access individually.
13+# We still add the team to the list next to its members, this helps keeping things
14+# in sync. (Put non team members before the team to distinguish them.)
15+# See https://github.com/NixOS/nixpkgs/issues/124085 for more details
1316
1417# This file
1518/.github/CODEOWNERS @edolstra
@@ -36,13 +39,12 @@
3639/pkgs/top-level/stage.nix @nbp @Ericson2314 @matthewbauer
3740/pkgs/top-level/splice.nix @Ericson2314 @matthewbauer
3841/pkgs/top-level/release-cross.nix @Ericson2314 @matthewbauer
39−/pkgs/stdenv/generic @Ericson2314 @matthewbauer
42+/pkgs/stdenv/generic @Ericson2314 @matthewbauer @cab404
4043/pkgs/stdenv/cross @Ericson2314 @matthewbauer
41−/pkgs/build-support/cc-wrapper @Ericson2314
42−/pkgs/build-support/bintools-wrapper @Ericson2314
44+/pkgs/build-support/cc-wrapper @Ericson2314 @orivej
45+/pkgs/build-support/bintools-wrapper @Ericson2314 @orivej
4346/pkgs/build-support/setup-hooks @Ericson2314
44−/pkgs/build-support/setup-hooks/auto-patchelf.sh @layus
45−/pkgs/build-support/setup-hooks/auto-patchelf.py @layus
47+/pkgs/build-support/setup-hooks/auto-patchelf.sh @aszlig
4648
4749# Nixpkgs build-support
4850/pkgs/build-support/writers @lassulus @Profpatsch
@@ -75,12 +77,6 @@
7577# NixOS integration test driver
7678/nixos/lib/test-driver @tfc
7779
78−# Systemd
79−/nixos/modules/system/boot/systemd.nix @NixOS/systemd
80−/nixos/modules/system/boot/systemd @NixOS/systemd
81−/nixos/lib/systemd-*.nix @NixOS/systemd
82−/pkgs/os-specific/linux/systemd @NixOS/systemd
83−
8480# Updaters
8581## update.nix
8682/maintainers/scripts/update.nix @jtojnar
@@ -95,7 +91,8 @@
9591/pkgs/development/python-modules @FRidh @jonringer
9692/doc/languages-frameworks/python.section.md @FRidh
9793/pkgs/development/tools/poetry2nix @adisbladis
98−/pkgs/development/interpreters/python/hooks @FRidh @jonringer
94+/pkgs/development/interpreters/python/hooks @FRidh @jonringer @DavHau
95+/pkgs/development/interpreters/python/conda @DavHau
9996
10097# Haskell
10198/doc/languages-frameworks/haskell.section.md @cdepillabout @sternenseemann @maralorn @expipiplus1
@@ -107,13 +104,13 @@
107104/pkgs/top-level/haskell-packages.nix @cdepillabout @sternenseemann @maralorn @expipiplus1
108105
109106# Perl
110−/pkgs/development/interpreters/perl @stigtsp @zakame
111−/pkgs/top-level/perl-packages.nix @stigtsp @zakame
112−/pkgs/development/perl-modules @stigtsp @zakame
107+/pkgs/development/interpreters/perl @volth @stigtsp @zakame
108+/pkgs/top-level/perl-packages.nix @volth @stigtsp @zakame
109+/pkgs/development/perl-modules @volth @stigtsp @zakame
113110
114111# R
115−/pkgs/applications/science/math/R @jbedo
116−/pkgs/development/r-modules @jbedo
112+/pkgs/applications/science/math/R @jbedo @bcdarwin
113+/pkgs/development/r-modules @jbedo @bcdarwin
117114
118115# Ruby
119116/pkgs/development/interpreters/ruby @marsam
@@ -121,8 +118,11 @@
121118
122119# Rust
123120/pkgs/development/compilers/rust @Mic92 @LnL7 @zowoq
124−/pkgs/build-support/rust @zowoq
125−/doc/languages-frameworks/rust.section.md @zowoq
121+/pkgs/build-support/rust @andir @zowoq
122+
123+# Darwin-related
124+/pkgs/stdenv/darwin @NixOS/darwin-maintainers
125+/pkgs/os-specific/darwin @NixOS/darwin-maintainers
126126
127127# C compilers
128128/pkgs/development/compilers/gcc @matthewbauer
@@ -132,14 +132,14 @@
132132/pkgs/top-level/unix-tools.nix @matthewbauer
133133/pkgs/development/tools/xcbuild @matthewbauer
134134
135−# Audio
136−/nixos/modules/services/audio/botamusique.nix @mweinelt
137−/nixos/modules/services/audio/snapserver.nix @mweinelt
138−/nixos/tests/modules/services/audio/botamusique.nix @mweinelt
139−/nixos/tests/snapcast.nix @mweinelt
140−
141−# Browsers
142−/pkgs/applications/networking/browsers/firefox @mweinelt
135+# Beam-related (Erlang, Elixir, LFE, etc)
136+/pkgs/development/beam-modules @gleber
137+/pkgs/development/interpreters/erlang @gleber
138+/pkgs/development/interpreters/lfe @gleber
139+/pkgs/development/interpreters/elixir @gleber
140+/pkgs/development/tools/build-managers/rebar @gleber
141+/pkgs/development/tools/build-managers/rebar3 @gleber
142+/pkgs/development/tools/erlang @gleber
143143
144144# Jetbrains
145145/pkgs/applications/editors/jetbrains @edwtjo
@@ -167,30 +167,12 @@
167167/nixos/tests/hardened.nix @joachifm
168168/pkgs/os-specific/linux/kernel/hardened-config.nix @joachifm
169169
170−# Home Automation
171−/nixos/modules/services/misc/home-assistant.nix @mweinelt
172−/nixos/modules/services/misc/zigbee2mqtt.nix @mweinelt
173−/nixos/tests/home-assistant.nix @mweinelt
174−/nixos/tests/zigbee2mqtt.nix @mweinelt
175−/pkgs/servers/home-assistant @mweinelt
176−/pkgs/tools/misc/esphome @mweinelt
177−
178170# Network Time Daemons
179171/pkgs/tools/networking/chrony @thoughtpolice
180172/pkgs/tools/networking/ntp @thoughtpolice
181173/pkgs/tools/networking/openntpd @thoughtpolice
182174/nixos/modules/services/networking/ntp @thoughtpolice
183175
184−# Network
185−/pkgs/tools/networking/kea/default.nix @mweinelt
186−/pkgs/tools/networking/babeld/default.nix @mweinelt
187−/nixos/modules/services/networking/babeld.nix @mweinelt
188−/nixos/modules/services/networking/kea.nix @mweinelt
189−/nixos/modules/services/networking/knot.nix @mweinelt
190−/nixos/tests/babeld.nix @mweinelt
191−/nixos/tests/kea.nix @mweinelt
192−/nixos/tests/knot.nix @mweinelt
193−
194176# Dhall
195177/pkgs/development/dhall-modules @Gabriel439 @Profpatsch @ehmry
196178/pkgs/development/interpreters/dhall @Gabriel439 @Profpatsch @ehmry
@@ -199,7 +181,7 @@
199181/pkgs/development/idris-modules @Infinisil
200182
201183# Bazel
202−/pkgs/development/tools/build-managers/bazel @Profpatsch
184+/pkgs/development/tools/build-managers/bazel @mboes @Profpatsch
203185
204186# NixOS modules for e-mail and dns services
205187/nixos/modules/services/mail/mailman.nix @peti
@@ -208,18 +190,18 @@
208190/nixos/modules/services/mail/rspamd.nix @peti
209191
210192# Emacs
211−/pkgs/applications/editors/emacs/elisp-packages @adisbladis
212−/pkgs/applications/editors/emacs @adisbladis
213−/pkgs/top-level/emacs-packages.nix @adisbladis
193+/pkgs/applications/editors/emacs-modes @adisbladis
194+/pkgs/applications/editors/emacs @adisbladis
195+/pkgs/top-level/emacs-packages.nix @adisbladis
214196
215197# Neovim
216198/pkgs/applications/editors/neovim @jonringer @teto
217199
218200# VimPlugins
219−/pkgs/applications/editors/vim/plugins @jonringer
201+/pkgs/misc/vim-plugins @jonringer @softinio
220202
221203# VsCode Extensions
222−/pkgs/applications/editors/vscode/extensions @jonringer
204+/pkgs/misc/vscode-extensions @jonringer
223205
224206# Prometheus exporter modules and tests
225207/nixos/modules/services/monitoring/prometheus/exporters.nix @WilliButz
@@ -227,24 +209,25 @@
227209/nixos/tests/prometheus-exporters.nix @WilliButz
228210
229211# PHP interpreter, packages, extensions, tests and documentation
230−/doc/languages-frameworks/php.section.md @aanderse @etu @globin @ma27 @talyz
231−/nixos/tests/php @aanderse @etu @globin @ma27 @talyz
232−/pkgs/build-support/build-pecl.nix @aanderse @etu @globin @ma27 @talyz
233−/pkgs/development/interpreters/php @jtojnar @aanderse @etu @globin @ma27 @talyz
234−/pkgs/development/php-packages @aanderse @etu @globin @ma27 @talyz
235−/pkgs/top-level/php-packages.nix @jtojnar @aanderse @etu @globin @ma27 @talyz
212+/doc/languages-frameworks/php.section.md @NixOS/php @aanderse @etu @globin @ma27 @talyz
213+/nixos/tests/php @NixOS/php @aanderse @etu @globin @ma27 @talyz
214+/pkgs/build-support/build-pecl.nix @NixOS/php @aanderse @etu @globin @ma27 @talyz
215+/pkgs/development/interpreters/php @jtojnar @NixOS/php @aanderse @etu @globin @ma27 @talyz
216+/pkgs/development/php-packages @NixOS/php @aanderse @etu @globin @ma27 @talyz
217+/pkgs/top-level/php-packages.nix @jtojnar @NixOS/php @aanderse @etu @globin @ma27 @talyz
236218
237219# Podman, CRI-O modules and related
238−/nixos/modules/virtualisation/containers.nix @zowoq @adisbladis
239−/nixos/modules/virtualisation/cri-o.nix @zowoq @adisbladis
240−/nixos/modules/virtualisation/podman @zowoq @adisbladis
241−/nixos/tests/cri-o.nix @zowoq @adisbladis
242−/nixos/tests/podman @zowoq @adisbladis
220+/nixos/modules/virtualisation/containers.nix @NixOS/podman @zowoq @adisbladis
221+/nixos/modules/virtualisation/cri-o.nix @NixOS/podman @zowoq @adisbladis
222+/nixos/modules/virtualisation/podman @NixOS/podman @zowoq @adisbladis
223+/nixos/tests/cri-o.nix @NixOS/podman @zowoq @adisbladis
224+/nixos/tests/podman @NixOS/podman @zowoq @adisbladis
243225
244226# Docker tools
245−/pkgs/build-support/docker @roberth
246−/nixos/tests/docker-tools* @roberth
247−/doc/builders/images/dockertools.section.md @roberth
227+/pkgs/build-support/docker @roberth @utdemir
228+/nixos/tests/docker-tools-overlay.nix @roberth
229+/nixos/tests/docker-tools.nix @roberth
230+/doc/builders/images/dockertools.xml @roberth
248231
249232# Blockchains
250233/pkgs/applications/blockchains @mmahut @RaghavSood
@@ -256,36 +239,16 @@
256239/pkgs/development/go-packages @kalbasit @Mic92 @zowoq
257240
258241# GNOME
259−/pkgs/desktops/gnome @jtojnar @hedning
260−/pkgs/desktops/gnome/extensions @piegamesde @jtojnar @hedning
242+/pkgs/desktops/gnome @NixOS/GNOME @jtojnar @hedning
243+/pkgs/desktops/gnome/extensions @piegamesde @NixOS/GNOME @jtojnar @hedning
261244
262245# Cinnamon
263246/pkgs/desktops/cinnamon @mkg20001
264247
265−# nim
266−/pkgs/development/compilers/nim @ehmry
267−/pkgs/development/nim-packages @ehmry
248+#nim
249+/pkgs/development/compilers/nim @ehmry
250+/pkgs/development/nim-packages @ehmry
268251/pkgs/top-level/nim-packages.nix @ehmry
269252
270253# terraform providers
271254/pkgs/applications/networking/cluster/terraform-providers @zowoq
272−
273−# kubernetes
274−/nixos/doc/manual/configuration/kubernetes.chapter.md @zowoq
275−/nixos/modules/services/cluster/kubernetes @zowoq
276−/nixos/tests/kubernetes @zowoq
277−/pkgs/applications/networking/cluster/kubernetes @zowoq
278−
279−# Matrix
280−/pkgs/servers/heisenbridge @piegamesde
281−/pkgs/servers/matrix-conduit @piegamesde
282−/pkgs/servers/matrix-synapse/matrix-appservice-irc @piegamesde
283−/nixos/modules/services/misc/heisenbridge.nix @piegamesde
284−/nixos/modules/services/misc/matrix-appservice-irc.nix @piegamesde
285−/nixos/modules/services/misc/matrix-conduit.nix @piegamesde
286−/nixos/tests/matrix-appservice-irc.nix @piegamesde
287−/nixos/tests/matrix-conduit.nix @piegamesde
288−
289−# Dotnet
290−/pkgs/build-support/dotnet @IvarWithoutBones
291−/pkgs/development/compilers/dotnet @IvarWithoutBones
.github/ISSUE_TEMPLATE/out_of_date_package_report.md+3−3
@@ -13,10 +13,10 @@ assignees: ''
1313<!-- Note that these are hard requirements -->
1414
1515<!--
16−You can use the "Go to file" functionality on GitHub to find the package
16+You can use the "Go to file" functionality on github to find the package
1717Then you can go to the history for this package
1818Find the latest "package_name: old_version -> new_version" commit
19−The "new_version" is the current version of the package
19+The "new_version" is the the current version of the package
2020-->
2121- [ ] Checked the [nixpkgs master branch](https://github.com/NixOS/nixpkgs)
2222<!--
@@ -29,7 +29,7 @@ There's a high chance that you'll have the new version right away while helping
2929###### Project name
3030`nix search` name:
3131<!--
32−The current version can be found easily with the same process as above for checking the master branch
32+The current version can be found easily with the same process than above for checking the master branch
3333If an open PR is present for the package, take this version as the current one and link to the PR
3434-->
3535current version:
.github/PULL_REQUEST_TEMPLATE.md+10−15
@@ -1,10 +1,16 @@
1−###### Description of changes
2−
31<!--
4−For package updates please link to a changelog or describe changes, this helps your fellow maintainers discover breaking updates.
5−For new packages please briefly describe the package or provide a link to its homepage.
2+To help with the large amounts of pull requests, we would appreciate your
3+reviews of other pull requests, especially simple package updates. Just leave a
4+comment describing what you have tested in the relevant package/service.
5+Reviewing helps to reduce the average time-to-merge for everyone.
6+Thanks a lot if you do!
7+List of open PRs: https://github.com/NixOS/nixpkgs/pulls
8+Reviewing guidelines: https://nixos.org/manual/nixpkgs/unstable/#chap-reviewing-contributions
69-->
710
11+###### Motivation for this change
12+
13+
814###### Things done
915
1016<!-- Please check what applies. Note that these are not hard requirements but merely serve as information for reviewers. -->
@@ -28,14 +34,3 @@ For new packages please briefly describe the package or provide a link to its ho
2834 - [ ] (Module addition) Added a release notes entry if adding a new NixOS module
2935 - [ ] (Release notes changes) Ran `nixos/doc/manual/md-to-db.sh` to update generated release notes
3036- [ ] Fits [CONTRIBUTING.md](https://github.com/NixOS/nixpkgs/blob/master/CONTRIBUTING.md).
31−
32−<!--
33−To help with the large amounts of pull requests, we would appreciate your
34−reviews of other pull requests, especially simple package updates. Just leave a
35−comment describing what you have tested in the relevant package/service.
36−Reviewing helps to reduce the average time-to-merge for everyone.
37−Thanks a lot if you do!
38−
39−List of open PRs: https://github.com/NixOS/nixpkgs/pulls
40−Reviewing guidelines: https://nixos.org/manual/nixpkgs/unstable/#chap-reviewing-contributions
41−-->
.github/labeler.yml+6−2
@@ -5,6 +5,10 @@
55 - pkgs/development/libraries/agda/**/*
66 - pkgs/top-level/agda-packages.nix
77
8+"6.topic: bsd":
9+ - pkgs/os-specific/bsd/**/*
10+ - pkgs/stdenv/freebsd/**/*
11+
812"6.topic: cinnamon":
913 - pkgs/desktops/cinnamon/**/*
1014
@@ -12,7 +16,7 @@
1216 - nixos/modules/services/editors/emacs.nix
1317 - nixos/modules/services/editors/emacs.xml
1418 - nixos/tests/emacs-daemon.nix
15− - pkgs/applications/editors/emacs/elisp-packages/**/*
19+ - pkgs/applications/editors/emacs-modes/**/*
1620 - pkgs/applications/editors/emacs/**/*
1721 - pkgs/build-support/emacs/**/*
1822 - pkgs/top-level/emacs-packages.nix
@@ -138,7 +142,7 @@
138142"6.topic: vim":
139143 - doc/languages-frameworks/vim.section.md
140144 - pkgs/applications/editors/vim/**/*
141− - pkgs/applications/editors/vim/plugins/**/*
145+ - pkgs/misc/vim-plugins/**/*
142146 - nixos/modules/programs/neovim.nix
143147 - pkgs/applications/editors/neovim/**/*
144148
.github/workflows/backport.yml+1−7
@@ -2,19 +2,13 @@ name: Backport
22on:
33 pull_request_target:
44 types: [closed, labeled]
5−
6−# WARNING:
7−# When extending this action, be aware that $GITHUB_TOKEN allows write access to
8−# the GitHub repository. This means that it should not evaluate user input in a
9−# way that allows code injection.
10−
115jobs:
126 backport:
137 name: Backport Pull Request
148 if: github.repository_owner == 'NixOS' && github.event.pull_request.merged == true && (github.event_name != 'labeled' || startsWith('backport', github.event.label.name))
159 runs-on: ubuntu-latest
1610 steps:
17− - uses: actions/checkout@v3
11+ - uses: actions/checkout@v2
1812 with:
1913 # required to find all branches
2014 fetch-depth: 0
.github/workflows/basic-eval.yml+10−16
@@ -1,26 +1,20 @@
11name: Basic evaluation checks
22
33on:
4− workflow_dispatch
5− # pull_request:
6− # branches:
7− # - master
8− # - release-**
9− # push:
10− # branches:
11− # - master
12− # - release-**
4+ pull_request:
5+ branches:
6+ - master
7+ - release-**
8+ push:
9+ branches:
10+ - master
11+ - release-**
1312jobs:
1413 tests:
1514 runs-on: ubuntu-latest
1615 # we don't limit this action to only NixOS repo since the checks are cheap and useful developer feedback
1716 steps:
18− - uses: actions/checkout@v3
19− - uses: cachix/install-nix-action@v17
20− - uses: cachix/cachix-action@v10
21− with:
22− # This cache is for the nixpkgs repo checks and should not be trusted or used elsewhere.
23− name: nixpkgs-ci
24− signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
17+ - uses: actions/checkout@v2
18+ - uses: cachix/install-nix-action@v16
2519 # explicit list of supportedSystems is needed until aarch64-darwin becomes part of the trunk jobset
2620 - run: nix-build pkgs/top-level/release.nix -A tarball.nixpkgs-basic-release-checks --arg supportedSystems '[ "aarch64-darwin" "aarch64-linux" "x86_64-linux" "x86_64-darwin" ]'
.github/workflows/direct-push.yml+1−1
@@ -22,7 +22,7 @@ jobs:
2222 if: steps.ismerge.outputs.ismerge != 'true'
2323 - name: Warn if the commit was a direct push
2424 if: steps.ismerge.outputs.ismerge != 'true'
25− uses: peter-evans/commit-comment@v2
25+ uses: peter-evans/commit-comment@v1
2626 with:
2727 body: |
2828 @${{ github.actor }}, you pushed a commit directly to master/release branch
.github/workflows/editorconfig.yml+2−2
@@ -24,11 +24,11 @@ jobs:
2424 - name: print list of changed files
2525 run: |
2626 cat "$HOME/changed_files"
27− - uses: actions/checkout@v3
27+ - uses: actions/checkout@v2
2828 with:
2929 # pull_request_target checks out the base branch by default
3030 ref: refs/pull/${{ github.event.pull_request.number }}/merge
31− - uses: cachix/install-nix-action@v17
31+ - uses: cachix/install-nix-action@v16
3232 with:
3333 # nixpkgs commit is pinned so that it doesn't break
3434 # editorconfig-checker 2.4.0
.github/workflows/labels.yml+1−6
@@ -4,11 +4,6 @@ on:
44 pull_request_target:
55 types: [edited, opened, synchronize, reopened]
66
7−# WARNING:
8−# When extending this action, be aware that $GITHUB_TOKEN allows some write
9−# access to the GitHub API. This means that it should not evaluate user input in
10−# a way that allows code injection.
11−
127permissions:
138 contents: read
149 pull-requests: write
@@ -18,7 +13,7 @@ jobs:
1813 runs-on: ubuntu-latest
1914 if: github.repository_owner == 'NixOS'
2015 steps:
21− - uses: actions/labeler@v4
16+ - uses: actions/labeler@v3
2217 with:
2318 repo-token: ${{ secrets.GITHUB_TOKEN }}
2419 sync-labels: true
.github/workflows/manual-nixos.yml+3−3
@@ -14,17 +14,17 @@ jobs:
1414 runs-on: ubuntu-latest
1515 if: github.repository_owner == 'NixOS'
1616 steps:
17− - uses: actions/checkout@v3
17+ - uses: actions/checkout@v2
1818 with:
1919 # pull_request_target checks out the base branch by default
2020 ref: refs/pull/${{ github.event.pull_request.number }}/merge
21− - uses: cachix/install-nix-action@v17
21+ - uses: cachix/install-nix-action@v16
2222 with:
2323 # explicitly enable sandbox
2424 extra_nix_config: sandbox = true
2525 - uses: cachix/cachix-action@v10
2626 with:
27− # This cache is for the nixpkgs repo checks and should not be trusted or used elsewhere.
27+ # This cache is for the nixos/nixpkgs manual builds and should not be trusted or used elsewhere.
2828 name: nixpkgs-ci
2929 signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
3030 - name: Building NixOS manual
.github/workflows/manual-nixpkgs.yml+3−3
@@ -14,17 +14,17 @@ jobs:
1414 runs-on: ubuntu-latest
1515 if: github.repository_owner == 'NixOS'
1616 steps:
17− - uses: actions/checkout@v3
17+ - uses: actions/checkout@v2
1818 with:
1919 # pull_request_target checks out the base branch by default
2020 ref: refs/pull/${{ github.event.pull_request.number }}/merge
21− - uses: cachix/install-nix-action@v17
21+ - uses: cachix/install-nix-action@v16
2222 with:
2323 # explicitly enable sandbox
2424 extra_nix_config: sandbox = true
2525 - uses: cachix/cachix-action@v10
2626 with:
27− # This cache is for the nixpkgs repo checks and should not be trusted or used elsewhere.
27+ # This cache is for the nixos/nixpkgs manual builds and should not be trusted or used elsewhere.
2828 name: nixpkgs-ci
2929 signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
3030 - name: Building Nixpkgs manual
.github/workflows/nixos-manual.yml+2−2
@@ -15,11 +15,11 @@ jobs:
1515 runs-on: ubuntu-latest
1616 if: github.repository_owner == 'NixOS'
1717 steps:
18− - uses: actions/checkout@v3
18+ - uses: actions/checkout@v2
1919 with:
2020 # pull_request_target checks out the base branch by default
2121 ref: refs/pull/${{ github.event.pull_request.number }}/merge
22− - uses: cachix/install-nix-action@v17
22+ - uses: cachix/install-nix-action@v16
2323 - name: Check DocBook files generated from Markdown are consistent
2424 run: |
2525 nixos/doc/manual/md-to-db.sh
.github/workflows/pending-set.yml−5
@@ -3,11 +3,6 @@ name: "set pending status"
33on:
44 pull_request_target:
55
6−# WARNING:
7−# When extending this action, be aware that $GITHUB_TOKEN allows write access to
8−# the GitHub repository. This means that it should not evaluate user input in a
9−# way that allows code injection.
10−
116jobs:
127 action:
138 runs-on: ubuntu-latest
.github/workflows/periodic-merge-24h.yml+2−2
@@ -38,7 +38,7 @@ jobs:
3838 into: staging-21.11
3939 name: ${{ matrix.pairs.from }} → ${{ matrix.pairs.into }}
4040 steps:
41− - uses: actions/checkout@v3
41+ - uses: actions/checkout@v2
4242
4343 - name: ${{ matrix.pairs.from }} → ${{ matrix.pairs.into }}
4444 uses: devmasx/merge-branch@1.4.0
@@ -49,7 +49,7 @@ jobs:
4949 github_token: ${{ secrets.GITHUB_TOKEN }}
5050
5151 - name: Comment on failure
52− uses: peter-evans/create-or-update-comment@v2
52+ uses: peter-evans/create-or-update-comment@v1
5353 if: ${{ failure() }}
5454 with:
5555 issue-number: 105153
.github/workflows/periodic-merge-6h.yml+2−2
@@ -32,7 +32,7 @@ jobs:
3232 into: staging
3333 name: ${{ matrix.pairs.from }} → ${{ matrix.pairs.into }}
3434 steps:
35− - uses: actions/checkout@v3
35+ - uses: actions/checkout@v2
3636
3737 - name: ${{ matrix.pairs.from }} → ${{ matrix.pairs.into }}
3838 uses: devmasx/merge-branch@1.4.0
@@ -43,7 +43,7 @@ jobs:
4343 github_token: ${{ secrets.GITHUB_TOKEN }}
4444
4545 - name: Comment on failure
46− uses: peter-evans/create-or-update-comment@v2
46+ uses: peter-evans/create-or-update-comment@v1
4747 if: ${{ failure() }}
4848 with:
4949 issue-number: 105153
.github/workflows/update-terraform-providers.yml+9−10
@@ -10,8 +10,8 @@ jobs:
1010 if: github.repository_owner == 'NixOS' && github.ref == 'refs/heads/master' # ensure workflow_dispatch only runs on master
1111 runs-on: ubuntu-latest
1212 steps:
13− - uses: actions/checkout@v3
14− - uses: cachix/install-nix-action@v17
13+ - uses: actions/checkout@v2
14+ - uses: cachix/install-nix-action@v16
1515 - name: setup
1616 id: setup
1717 run: |
@@ -21,26 +21,25 @@ jobs:
2121 git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
2222 git config user.name "github-actions[bot]"
2323 pushd pkgs/applications/networking/cluster/terraform-providers
24− ./update-all-providers --no-build
24+ ./update-all-providers
2525 git commit -m "${{ steps.setup.outputs.title }}" providers.json
2626 popd
2727 - name: create PR
28− uses: peter-evans/create-pull-request@v4
28+ uses: peter-evans/create-pull-request@v3
2929 with:
3030 body: |
31− Automatic update by [update-terraform-providers](https://github.com/NixOS/nixpkgs/blob/master/.github/workflows/update-terraform-providers.yml) action.
31+ Automatic update of terraform providers.
3232
33− Check that all providers build with:
34− ```
35− @ofborg build terraform-full
36− ```
33+ Created by [update-terraform-providers](https://github.com/NixOS/nixpkgs/blob/master/.github/workflows/update-terraform-providers.yml) action.
34+
35+ Check that all providers build with `@ofborg build terraform-full`
3736 branch: terraform-providers-update
3837 delete-branch: false
3938 labels: "2.status: work-in-progress"
4039 title: ${{ steps.setup.outputs.title }}
4140 token: ${{ secrets.GITHUB_TOKEN }}
4241 - name: comment on failure
43− uses: peter-evans/create-or-update-comment@v2
42+ uses: peter-evans/create-or-update-comment@v1
4443 if: ${{ failure() }}
4544 with:
4645 issue-number: 153416
CONTRIBUTING.md+2−47
@@ -11,16 +11,12 @@ under the terms of [COPYING](COPYING), which is an MIT-like license.
1111
1212## Submitting changes
1313
14−Read the ["Submitting changes"](https://nixos.org/nixpkgs/manual/#chap-submitting-changes) section of the nixpkgs manual. It explains how to write, test, and iterate on your change, and which branch to base your pull request against.
15−
16−Below is a short excerpt of some points in there:
17−
1814* Format the commit messages in the following way:
1915
2016 ```
2117 (pkg-name | nixos/<module>): (from -> to | init at version | refactor | etc)
2218
23− (Motivation for change. Link to release notes. Additional information.)
19+ (Motivation for change. Additional information.)
2420 ```
2521
2622 For consistency, there should not be a period at the end of the commit message's summary line (the first line of the commit message).
@@ -29,7 +25,6 @@ Below is a short excerpt of some points in there:
2925
3026 * nginx: init at 2.0.1
3127 * firefox: 54.0.1 -> 55.0
32− https://www.mozilla.org/en-US/firefox/55.0/releasenotes/
3328 * nixos/hydra: add bazBaz option
3429
3530 Dual baz behavior is needed to do foo.
@@ -45,7 +40,7 @@ Below is a short excerpt of some points in there:
4540 * If there is no upstream license, `meta.license` should default to `lib.licenses.unfree`.
4641* `meta.maintainers` must be set.
4742
48−See the nixpkgs manual for more details on [standard meta-attributes](https://nixos.org/nixpkgs/manual/#sec-standard-meta-attributes).
43+See the nixpkgs manual for more details on [standard meta-attributes](https://nixos.org/nixpkgs/manual/#sec-standard-meta-attributes) and on how to [submit changes to nixpkgs](https://nixos.org/nixpkgs/manual/#chap-submitting-changes).
4944
5045## Writing good commit messages
5146
@@ -53,46 +48,6 @@ In addition to writing properly formatted commit messages, it's important to inc
5348
5449For package version upgrades and such a one-line commit message is usually sufficient.
5550
56−## Rebasing between branches (i.e. from master to staging)
57−
58−From time to time, changes between branches must be rebased, for example, if the
59−number of new rebuilds they would cause is too large for the target branch. When
60−rebasing, care must be taken to include only the intended changes, otherwise
61−many CODEOWNERS will be inadvertently requested for review. To achieve this,
62−rebasing should not be performed directly on the target branch, but on the merge
63−base between the current and target branch.
64−
65−In the following example, we see a rebase from `master` onto the merge base
66−between `master` and `staging`, so that a change can eventually be retargeted to
67−`staging`. The example uses `upstream` as the remote for `NixOS/nixpkgs.git`
68−while the `origin` remote is used for the remote you are pushing to.
69−
70−
71−```console
72−# Find the common base between two branches
73−common=$(git merge-base upstream/master upstream/staging)
74−# Find the common base between your feature branch and master
75−commits=$(git merge-base $(git branch --show-current) upstream/master)
76−# Rebase all commits onto the common base
77−git rebase --onto=$common $commits
78−# Force push your changes
79−git push origin $(git branch --show-current) --force-with-lease
80−```
81−
82−Then change the base branch in the GitHub PR using the *Edit* button in the upper
83−right corner, and switch from `master` to `staging`. After the PR has been
84−retargeted it might be necessary to do a final rebase onto the target branch, to
85−resolve any outstanding merge conflicts.
86−
87−```console
88−# Rebase onto target branch
89−git rebase upstream/staging
90−# Review and fixup possible conflicts
91−git status
92−# Force push your changes
93−git push origin $(git branch --show-current) --force-with-lease
94−```
95−
9651## Backporting changes
9752
9853Follow these steps to backport a change into a release branch in compliance with the [commit policy](https://nixos.org/nixpkgs/manual/#submitting-changes-stable-release-branches).
COPYING+1−1
@@ -1,4 +1,4 @@
1−Copyright (c) 2003-2022 Eelco Dolstra and the Nixpkgs/NixOS contributors
1+Copyright (c) 2003-2021 Eelco Dolstra and the Nixpkgs/NixOS contributors
22
33Permission is hereby granted, free of charge, to any person obtaining
44a copy of this software and associated documentation files (the
README.md+3−8
@@ -1,15 +1,10 @@
11<p align="center">
2− <a href="https://nixos.org#gh-light-mode-only">
3− <img src="https://raw.githubusercontent.com/NixOS/nixos-homepage/master/logo/nixos-hires.png" width="500px" alt="NixOS logo"/>
4− </a>
5− <a href="https://nixos.org#gh-dark-mode-only">
6− <img src="https://raw.githubusercontent.com/NixOS/nixos-artwork/master/logo/nixos-white.png" width="500px" alt="NixOS logo"/>
7− </a>
2+ <a href="https://nixos.org/nixos"><img src="https://nixos.org/logo/nixos-hires.png" width="500px" alt="NixOS logo" /></a>
83</p>
94
105<p align="center">
11− <a href="https://github.com/NixOS/nixpkgs/blob/master/CONTRIBUTING.md"><img src="https://img.shields.io/github/contributors-anon/NixOS/nixpkgs" alt="Contributors badge" /></a>
12− <a href="https://opencollective.com/nixos"><img src="https://opencollective.com/nixos/tiers/supporter/badge.svg?label=supporters&color=brightgreen" alt="Open Collective supporters" /></a>
6+ <a href="https://www.codetriage.com/nixos/nixpkgs"><img src="https://www.codetriage.com/nixos/nixpkgs/badges/users.svg" alt="Code Triagers badge" /></a>
7+ <a href="https://opencollective.com/nixos"><img src="https://opencollective.com/nixos/tiers/supporter/badge.svg?label=Supporter&color=brightgreen" alt="Open Collective supporters" /></a>
138</p>
149
1510[Nixpkgs](https://github.com/nixos/nixpkgs) is a collection of over
doc/builders/fetchers.chapter.md+11−33
@@ -6,11 +6,11 @@ When using Nix, you will frequently need to download source code and other files
66
77Because fixed output derivations are _identified_ by their hash, a common mistake is to update a fetcher's URL or a version parameter, without updating the hash. **This will cause the old contents to be used.** So remember to always invalidate the hash argument.
88
9−For those who develop and maintain fetchers, a similar problem arises with changes to the implementation of a fetcher. These may cause a fixed output derivation to fail, but won't normally be caught by tests because the supposed output is already in the store or cache. For the purpose of testing, you can use a trick that is embodied by the [`invalidateFetcherByDrvHash`](#tester-invalidateFetcherByDrvHash) function. It uses the derivation `name` to create a unique output path per fetcher implementation, defeating the caching precisely where it would be harmful.
9+For those who develop and maintain fetchers, a similar problem arises with changes to the implementation of a fetcher. These may cause a fixed output derivation to fail, but won't normally be caught by tests because the supposed output is already in the store or cache. For the purpose of testing, you can use a trick that is embodied by the [`invalidateFetcherByDrvHash`](#sec-pkgs-invalidateFetcherByDrvHash) function. It uses the derivation `name` to create a unique output path per fetcher implementation, defeating the caching precisely where it would be harmful.
1010
1111## `fetchurl` and `fetchzip` {#fetchurl}
1212
13−Two basic fetchers are `fetchurl` and `fetchzip`. Both of these have two required arguments, a URL and a hash. The hash is typically `sha256`, although many more hash algorithms are supported. Nixpkgs contributors are currently recommended to use `sha256`. This hash will be used by Nix to identify your source. A typical usage of `fetchurl` is provided below.
13+Two basic fetchers are `fetchurl` and `fetchzip`. Both of these have two required arguments, a URL and a hash. The hash is typically `sha256`, although many more hash algorithms are supported. Nixpkgs contributors are currently recommended to use `sha256`. This hash will be used by Nix to identify your source. A typical usage of fetchurl is provided below.
1414
1515```nix
1616{ stdenv, fetchurl }:
@@ -24,9 +24,9 @@ stdenv.mkDerivation {
2424}
2525```
2626
27−The main difference between `fetchurl` and `fetchzip` is in how they store the contents. `fetchurl` will store the unaltered contents of the URL within the Nix store. `fetchzip` on the other hand, will decompress the archive for you, making files and directories directly accessible in the future. `fetchzip` can only be used with archives. Despite the name, `fetchzip` is not limited to .zip files and can also be used with any tarball.
27+The main difference between `fetchurl` and `fetchzip` is in how they store the contents. `fetchurl` will store the unaltered contents of the URL within the Nix store. `fetchzip` on the other hand will decompress the archive for you, making files and directories directly accessible in the future. `fetchzip` can only be used with archives. Despite the name, `fetchzip` is not limited to .zip files and can also be used with any tarball.
2828
29−`fetchpatch` works very similarly to `fetchurl` with the same arguments expected. It expects patch files as a source and performs normalization on them before computing the checksum. For example, it will remove comments or other unstable parts that are sometimes added by version control systems and can change over time.
29+`fetchpatch` works very similarly to `fetchurl` with the same arguments expected. It expects patch files as a source and performs normalization on them before computing the checksum. For example it will remove comments or other unstable parts that are sometimes added by version control systems and can change over time.
3030
3131Most other fetchers return a directory rather than a single file.
3232
@@ -38,25 +38,7 @@ Used with Subversion. Expects `url` to a Subversion directory, `rev`, and `sha25
3838
3939Used with Git. Expects `url` to a Git repo, `rev`, and `sha256`. `rev` in this case can be full the git commit id (SHA1 hash) or a tag name like `refs/tags/v1.0`.
4040
41−Additionally, the following optional arguments can be given: `fetchSubmodules = true` makes `fetchgit` also fetch the submodules of a repository. If `deepClone` is set to true, the entire repository is cloned as opposing to just creating a shallow clone. `deepClone = true` also implies `leaveDotGit = true` which means that the `.git` directory of the clone won't be removed after checkout.
42−
43−If only parts of the repository are needed, `sparseCheckout` can be used. This will prevent git from fetching unnecessary blobs from server, see [git sparse-checkout](https://git-scm.com/docs/git-sparse-checkout) and [git clone --filter](https://git-scm.com/docs/git-clone#Documentation/git-clone.txt---filterltfilter-specgt) for more information:
44−
45−```nix
46−{ stdenv, fetchgit }:
47−
48−stdenv.mkDerivation {
49− name = "hello";
50− src = fetchgit {
51− url = "https://...";
52− sparseCheckout = ''
53− path/to/be/included
54− another/path
55− '';
56− sha256 = "0000000000000000000000000000000000000000000000000000";
57− };
58−}
59−```
41+Additionally the following optional arguments can be given: `fetchSubmodules = true` makes `fetchgit` also fetch the submodules of a repository. If `deepClone` is set to true, the entire repository is cloned as opposing to just creating a shallow clone. `deepClone = true` also implies `leaveDotGit = true` which means that the `.git` directory of the clone won't be removed after checkout.
6042
6143## `fetchfossil` {#fetchfossil}
6244
@@ -72,23 +54,19 @@ Used with Mercurial. Expects `url`, `rev`, and `sha256`.
7254
7355A number of fetcher functions wrap part of `fetchurl` and `fetchzip`. They are mainly convenience functions intended for commonly used destinations of source code in Nixpkgs. These wrapper fetchers are listed below.
7456
75−## `fetchFromGitea` {#fetchfromgitea}
76−
77−`fetchFromGitea` expects five arguments. `domain` is the gitea server name. `owner` is a string corresponding to the Gitea user or organization that controls this repository. `repo` corresponds to the name of the software repository. These are located at the top of every Gitea HTML page as `owner`/`repo`. `rev` corresponds to the Git commit hash or tag (e.g `v1.0`) that will be downloaded from Git. Finally, `sha256` corresponds to the hash of the extracted directory. Again, other hash algorithms are also available but `sha256` is currently preferred.
78−
7957## `fetchFromGitHub` {#fetchfromgithub}
8058
81−`fetchFromGitHub` expects four arguments. `owner` is a string corresponding to the GitHub user or organization that controls this repository. `repo` corresponds to the name of the software repository. These are located at the top of every GitHub HTML page as `owner`/`repo`. `rev` corresponds to the Git commit hash or tag (e.g `v1.0`) that will be downloaded from Git. Finally, `sha256` corresponds to the hash of the extracted directory. Again, other hash algorithms are also available, but `sha256` is currently preferred.
59+`fetchFromGitHub` expects four arguments. `owner` is a string corresponding to the GitHub user or organization that controls this repository. `repo` corresponds to the name of the software repository. These are located at the top of every GitHub HTML page as `owner`/`repo`. `rev` corresponds to the Git commit hash or tag (e.g `v1.0`) that will be downloaded from Git. Finally, `sha256` corresponds to the hash of the extracted directory. Again, other hash algorithms are also available but `sha256` is currently preferred.
8260
8361`fetchFromGitHub` uses `fetchzip` to download the source archive generated by GitHub for the specified revision. If `leaveDotGit`, `deepClone` or `fetchSubmodules` are set to `true`, `fetchFromGitHub` will use `fetchgit` instead. Refer to its section for documentation of these options.
8462
8563## `fetchFromGitLab` {#fetchfromgitlab}
8664
87−This is used with GitLab repositories. The arguments expected are very similar to `fetchFromGitHub` above.
65+This is used with GitLab repositories. The arguments expected are very similar to fetchFromGitHub above.
8866
8967## `fetchFromGitiles` {#fetchfromgitiles}
9068
91−This is used with Gitiles repositories. The arguments expected are similar to `fetchgit`.
69+This is used with Gitiles repositories. The arguments expected are similar to fetchgit.
9270
9371## `fetchFromBitbucket` {#fetchfrombitbucket}
9472
@@ -96,11 +74,11 @@ This is used with BitBucket repositories. The arguments expected are very simila
9674
9775## `fetchFromSavannah` {#fetchfromsavannah}
9876
99−This is used with Savannah repositories. The arguments expected are very similar to `fetchFromGitHub` above.
77+This is used with Savannah repositories. The arguments expected are very similar to fetchFromGitHub above.
10078
10179## `fetchFromRepoOrCz` {#fetchfromrepoorcz}
10280
103−This is used with repo.or.cz repositories. The arguments expected are very similar to `fetchFromGitHub` above.
81+This is used with repo.or.cz repositories. The arguments expected are very similar to fetchFromGitHub above.
10482
10583## `fetchFromSourcehut` {#fetchfromsourcehut}
10684
@@ -111,4 +89,4 @@ or "hg"), `domain` and `fetchSubmodules`.
11189
11290If `fetchSubmodules` is `true`, `fetchFromSourcehut` uses `fetchgit`
11391or `fetchhg` with `fetchSubmodules` or `fetchSubrepos` set to `true`,
114−respectively. Otherwise, the fetcher uses `fetchzip`.
92+respectively. Otherwise the fetcher uses `fetchzip`.
doc/builders/images/dockertools.section.md+8−8
@@ -58,7 +58,7 @@ After the new layer has been created, its closure (to which `contents`, `config`
5858
5959At the end of the process, only one new single layer will be produced and added to the resulting image.
6060
61−The resulting repository will only list the single image `image/tag`. In the case of [the `buildImage` example](#ex-dockerTools-buildImage), it would be `redis/latest`.
61+The resulting repository will only list the single image `image/tag`. In the case of [the `buildImage` example](#ex-dockerTools-buildImage) it would be `redis/latest`.
6262
6363It is possible to inspect the arguments with which an image was built using its `buildArgs` attribute.
6464
@@ -87,7 +87,7 @@ pkgs.dockerTools.buildImage {
8787}
8888```
8989
90−Now the Docker CLI will display a reasonable date and sort the images as expected:
90+and now the Docker CLI will display a reasonable date and sort the images as expected:
9191
9292```ShellSession
9393$ docker images
@@ -95,7 +95,7 @@ REPOSITORY TAG IMAGE ID CREATED SIZE
9595hello latest de2bf4786de6 About a minute ago 25.2MB
9696```
9797
98−However, the produced images will not be binary reproducible.
98+however, the produced images will not be binary reproducible.
9999
100100## buildLayeredImage {#ssec-pkgs-dockerTools-buildLayeredImage}
101101
@@ -119,13 +119,13 @@ Create a Docker image with many of the store paths being on their own layer to i
119119
120120`contents` _optional_
121121
122−: Top-level paths in the container. Either a single derivation, or a list of derivations.
122+: Top level paths in the container. Either a single derivation, or a list of derivations.
123123
124124 *Default:* `[]`
125125
126126`config` _optional_
127127
128−: Run-time configuration of the container. A full list of the options are available at in the [Docker Image Specification v1.2.0](https://github.com/moby/moby/blob/master/image/spec/v1.2.md#image-json-field-descriptions).
128+: Run-time configuration of the container. A full list of the options are available at in the [ Docker Image Specification v1.2.0 ](https://github.com/moby/moby/blob/master/image/spec/v1.2.md#image-json-field-descriptions).
129129
130130 *Default:* `{}`
131131
@@ -195,9 +195,9 @@ pkgs.dockerTools.buildLayeredImage {
195195
196196Increasing the `maxLayers` increases the number of layers which have a chance to be shared between different images.
197197
198−Modern Docker installations support up to 128 layers, but older versions support as few as 42.
198+Modern Docker installations support up to 128 layers, however older versions support as few as 42.
199199
200−If the produced image will not be extended by other Docker builds, it is safe to set `maxLayers` to `128`. However, it will be impossible to extend the image further.
200+If the produced image will not be extended by other Docker builds, it is safe to set `maxLayers` to `128`. However it will be impossible to extend the image further.
201201
202202The first (`maxLayers-2`) most "popular" paths will have their own individual layers, then layer \#`maxLayers-1` will contain all the remaining "unpopular" paths, and finally layer \#`maxLayers` will contain the Image configuration.
203203
@@ -213,7 +213,7 @@ The image produced by running the output script can be piped directly into `dock
213213$(nix-build) | docker load
214214```
215215
216−Alternatively, the image be piped via `gzip` into `skopeo`, e.g., to copy it into a registry:
216+Alternatively, the image be piped via `gzip` into `skopeo`, e.g. to copy it into a registry:
217217
218218```ShellSession
219219$(nix-build) | gzip --fast | skopeo copy docker-archive:/dev/stdin docker://some_docker_registry/myimage:tag
doc/builders/images/ocitools.section.md+3−3
@@ -1,10 +1,10 @@
11# pkgs.ociTools {#sec-pkgs-ociTools}
22
3−`pkgs.ociTools` is a set of functions for creating containers according to the [OCI container specification v1.0.0](https://github.com/opencontainers/runtime-spec). Beyond that, it makes no assumptions about the container runner you choose to use to run the created container.
3+`pkgs.ociTools` is a set of functions for creating containers according to the [OCI container specification v1.0.0](https://github.com/opencontainers/runtime-spec). Beyond that it makes no assumptions about the container runner you choose to use to run the created container.
44
55## buildContainer {#ssec-pkgs-ociTools-buildContainer}
66
7−This function creates a simple OCI container that runs a single command inside of it. An OCI container consists of a `config.json` and a rootfs directory. The nix store of the container will contain all referenced dependencies of the given command.
7+This function creates a simple OCI container that runs a single command inside of it. An OCI container consists of a `config.json` and a rootfs directory.The nix store of the container will contain all referenced dependencies of the given command.
88
99The parameters of `buildContainer` with an example value are described below:
1010
@@ -30,7 +30,7 @@ buildContainer {
3030}
3131```
3232
33−- `args` specifies a set of arguments to run inside the container. This is the only required argument for `buildContainer`. All referenced packages inside the derivation will be made available inside the container.
33+- `args` specifies a set of arguments to run inside the container. This is the only required argument for `buildContainer`. All referenced packages inside the derivation will be made available inside the container
3434
3535- `mounts` specifies additional mount points chosen by the user. By default only a minimal set of necessary filesystems are mounted into the container (e.g procfs, cgroupfs)
3636
doc/builders/images/snaptools.section.md+1−1
@@ -33,7 +33,7 @@ in snapTools.makeSnap {
3333
3434## Build a Graphical Snap {#ssec-pkgs-snapTools-build-a-snap-firefox}
3535
36−Graphical programs require many more integrations with the host. This example uses Firefox as an example because it is one of the most complicated programs we could package.
36+Graphical programs require many more integrations with the host. This example uses Firefox as an example, because it is one of the most complicated programs we could package.
3737
3838``` {#ex-snapTools-buildSnap-firefox .nix}
3939let
doc/builders/packages/citrix.section.md+5−5
@@ -4,13 +4,13 @@ The [Citrix Workspace App](https://www.citrix.com/products/workspace-app/) is a
44
55## Basic usage {#sec-citrix-base}
66
7−The tarball archive needs to be downloaded manually, as the license agreements of the vendor for [Citrix Workspace](https://www.citrix.de/downloads/workspace-app/linux/workspace-app-for-linux-latest.html) needs to be accepted first. Then run `nix-prefetch-url file://$PWD/linuxx64-$version.tar.gz`. With the archive available in the store, the package can be built and installed with Nix.
7+The tarball archive needs to be downloaded manually as the license agreements of the vendor for [Citrix Workspace](https://www.citrix.de/downloads/workspace-app/linux/workspace-app-for-linux-latest.html) needs to be accepted first. Then run `nix-prefetch-url file://$PWD/linuxx64-$version.tar.gz`. With the archive available in the store the package can be built and installed with Nix.
88
9−## Citrix Self-service {#sec-citrix-selfservice}
9+## Citrix Selfservice {#sec-citrix-selfservice}
1010
11−The [self-service](https://support.citrix.com/article/CTX200337) is an application managing Citrix desktops and applications. Please note that this feature only works with at least citrix_workspace_20_06_0 and later versions.
11+The [selfservice](https://support.citrix.com/article/CTX200337) is an application managing Citrix desktops and applications. Please note that this feature only works with at least citrix_workspace_20_06_0 and later versions.
1212
13−In order to set this up, you first have to [download the `.cr` file from the Netscaler Gateway](https://its.uiowa.edu/support/article/102186). After that, you can configure the `selfservice` like this:
13+In order to set this up, you first have to [download the `.cr` file from the Netscaler Gateway](https://its.uiowa.edu/support/article/102186). After that you can configure the `selfservice` like this:
1414
1515```ShellSession
1616$ storebrowse -C ~/Downloads/receiverconfig.cr
@@ -19,7 +19,7 @@ $ selfservice
1919
2020## Custom certificates {#sec-citrix-custom-certs}
2121
22−The `Citrix Workspace App` in `nixpkgs` trusts several certificates [from the Mozilla database](https://curl.haxx.se/docs/caextract.html) by default. However, several companies using Citrix might require their own corporate certificate. On distros with imperative packaging, these certs can be stored easily in [`$ICAROOT`](https://developer-docs.citrix.com/projects/receiver-for-linux-command-reference/en/13.7/), however this directory is a store path in `nixpkgs`. In order to work around this issue, the package provides a simple mechanism to add custom certificates without rebuilding the entire package using `symlinkJoin`:
22+The `Citrix Workspace App` in `nixpkgs` trusts several certificates [from the Mozilla database](https://curl.haxx.se/docs/caextract.html) by default. However several companies using Citrix might require their own corporate certificate. On distros with imperative packaging these certs can be stored easily in [`$ICAROOT`](https://developer-docs.citrix.com/projects/receiver-for-linux-command-reference/en/13.7/), however this directory is a store path in `nixpkgs`. In order to work around this issue the package provides a simple mechanism to add custom certificates without rebuilding the entire package using `symlinkJoin`:
2323
2424```nix
2525with import <nixpkgs> { config.allowUnfree = true; };
doc/builders/packages/eclipse.section.md+5−5
@@ -8,9 +8,9 @@ Nixpkgs provides a number of packages that will install Eclipse in its various f
88$ nix-env -f '<nixpkgs>' -qaP -A eclipses --description
99```
1010
11−Once an Eclipse variant is installed, it can be run using the `eclipse` command, as expected. From within Eclipse, it is then possible to install plugins in the usual manner by either manually specifying an Eclipse update site or by installing the Marketplace Client plugin and using it to discover and install other plugins. This installation method provides an Eclipse installation that closely resemble a manually installed Eclipse.
11+Once an Eclipse variant is installed it can be run using the `eclipse` command, as expected. From within Eclipse it is then possible to install plugins in the usual manner by either manually specifying an Eclipse update site or by installing the Marketplace Client plugin and using it to discover and install other plugins. This installation method provides an Eclipse installation that closely resemble a manually installed Eclipse.
1212
13−If you prefer to install plugins in a more declarative manner, then Nixpkgs also offer a number of Eclipse plugins that can be installed in an _Eclipse environment_. This type of environment is created using the function `eclipseWithPlugins` found inside the `nixpkgs.eclipses` attribute set. This function takes as argument `{ eclipse, plugins ? [], jvmArgs ? [] }` where `eclipse` is a one of the Eclipse packages described above, `plugins` is a list of plugin derivations, and `jvmArgs` is a list of arguments given to the JVM running the Eclipse. For example, say you wish to install the latest Eclipse Platform with the popular Eclipse Color Theme plugin and also allow Eclipse to use more RAM. You could then add:
13+If you prefer to install plugins in a more declarative manner then Nixpkgs also offer a number of Eclipse plugins that can be installed in an _Eclipse environment_. This type of environment is created using the function `eclipseWithPlugins` found inside the `nixpkgs.eclipses` attribute set. This function takes as argument `{ eclipse, plugins ? [], jvmArgs ? [] }` where `eclipse` is a one of the Eclipse packages described above, `plugins` is a list of plugin derivations, and `jvmArgs` is a list of arguments given to the JVM running the Eclipse. For example, say you wish to install the latest Eclipse Platform with the popular Eclipse Color Theme plugin and also allow Eclipse to use more RAM. You could then add
1414
1515```nix
1616packageOverrides = pkgs: {
@@ -22,15 +22,15 @@ packageOverrides = pkgs: {
2222}
2323```
2424
25−to your Nixpkgs configuration (`~/.config/nixpkgs/config.nix`) and install it by running `nix-env -f '<nixpkgs>' -iA myEclipse` and afterward run Eclipse as usual. It is possible to find out which plugins are available for installation using `eclipseWithPlugins` by running:
25+to your Nixpkgs configuration (`~/.config/nixpkgs/config.nix`) and install it by running `nix-env -f '<nixpkgs>' -iA myEclipse` and afterward run Eclipse as usual. It is possible to find out which plugins are available for installation using `eclipseWithPlugins` by running
2626
2727```ShellSession
2828$ nix-env -f '<nixpkgs>' -qaP -A eclipses.plugins --description
2929```
3030
31−If there is a need to install plugins that are not available in Nixpkgs then it may be possible to define these plugins outside Nixpkgs using the `buildEclipseUpdateSite` and `buildEclipsePlugin` functions found in the `nixpkgs.eclipses.plugins` attribute set. Use the `buildEclipseUpdateSite` function to install a plugin distributed as an Eclipse update site. This function takes `{ name, src }` as argument, where `src` indicates the Eclipse update site archive. All Eclipse features and plugins within the downloaded update site will be installed. When an update site archive is not available, then the `buildEclipsePlugin` function can be used to install a plugin that consists of a pair of feature and plugin JARs. This function takes an argument `{ name, srcFeature, srcPlugin }` where `srcFeature` and `srcPlugin` are the feature and plugin JARs, respectively.
31+If there is a need to install plugins that are not available in Nixpkgs then it may be possible to define these plugins outside Nixpkgs using the `buildEclipseUpdateSite` and `buildEclipsePlugin` functions found in the `nixpkgs.eclipses.plugins` attribute set. Use the `buildEclipseUpdateSite` function to install a plugin distributed as an Eclipse update site. This function takes `{ name, src }` as argument where `src` indicates the Eclipse update site archive. All Eclipse features and plugins within the downloaded update site will be installed. When an update site archive is not available then the `buildEclipsePlugin` function can be used to install a plugin that consists of a pair of feature and plugin JARs. This function takes an argument `{ name, srcFeature, srcPlugin }` where `srcFeature` and `srcPlugin` are the feature and plugin JARs, respectively.
3232
33−Expanding the previous example with two plugins using the above functions, we have:
33+Expanding the previous example with two plugins using the above functions we have
3434
3535```nix
3636packageOverrides = pkgs: {
doc/builders/packages/elm.section.md+1−1
@@ -1,6 +1,6 @@
11# Elm {#sec-elm}
22
3−To start a development environment, run:
3+To start a development environment do
44
55```ShellSession
66nix-shell -p elmPackages.elm elmPackages.elm-format
doc/builders/packages/emacs.section.md+3−3
@@ -20,7 +20,7 @@ The Emacs package comes with some extra helpers to make it easier to configure.
2020}
2121```
2222
23−You can install it like any other packages via `nix-env -iA myEmacs`. However, this will only install those packages. It will not `configure` them for us. To do this, we need to provide a configuration file. Luckily, it is possible to do this from within Nix! By modifying the above example, we can make Emacs load a custom config file. The key is to create a package that provides a `default.el` file in `/share/emacs/site-start/`. Emacs knows to load this file automatically when it starts.
23+You can install it like any other packages via `nix-env -iA myEmacs`. However, this will only install those packages. It will not `configure` them for us. To do this, we need to provide a configuration file. Luckily, it is possible to do this from within Nix! By modifying the above example, we can make Emacs load a custom config file. The key is to create a package that provide a `default.el` file in `/share/emacs/site-start/`. Emacs knows to load this file automatically when it starts.
2424
2525```nix
2626{
@@ -101,9 +101,9 @@ You can install it like any other packages via `nix-env -iA myEmacs`. However, t
101101}
102102```
103103
104−This provides a fairly full Emacs start file. It will load in addition to the user's personal config. You can always disable it by passing `-q` to the Emacs command.
104+This provides a fairly full Emacs start file. It will load in addition to the user's presonal config. You can always disable it by passing `-q` to the Emacs command.
105105
106−Sometimes `emacs.pkgs.withPackages` is not enough, as this package set has some priorities imposed on packages (with the lowest priority assigned to Melpa Unstable, and the highest for packages manually defined in `pkgs/top-level/emacs-packages.nix`). But you can't control these priorities when some package is installed as a dependency. You can override it on a per-package-basis, providing all the required dependencies manually, but it's tedious and there is always a possibility that an unwanted dependency will sneak in through some other package. To completely override such a package, you can use `overrideScope'`.
106+Sometimes `emacs.pkgs.withPackages` is not enough, as this package set has some priorities imposed on packages (with the lowest priority assigned to Melpa Unstable, and the highest for packages manually defined in `pkgs/top-level/emacs-packages.nix`). But you can't control this priorities when some package is installed as a dependency. You can override it on per-package-basis, providing all the required dependencies manually - but it's tedious and there is always a possibility that an unwanted dependency will sneak in through some other package. To completely override such a package you can use `overrideScope'`.
107107
108108```nix
109109overrides = self: super: rec {
doc/builders/packages/etc-files.section.md+4−4
@@ -1,10 +1,10 @@
11# /etc files {#etc}
22
3−Certain calls in glibc require access to runtime files found in `/etc` such as `/etc/protocols` or `/etc/services` -- [getprotobyname](https://linux.die.net/man/3/getprotobyname) is one such function.
3+Certain calls in glibc require access to runtime files found in /etc such as `/etc/protocols` or `/etc/services` -- [getprotobyname](https://linux.die.net/man/3/getprotobyname) is one such function.
44
5−On non-NixOS distributions these files are typically provided by packages (i.e., [netbase](https://packages.debian.org/sid/netbase)) if not already pre-installed in your distribution. This can cause non-reproducibility for code if they rely on these files being present.
5+On non-NixOS distributions these files are typically provided by packages (i.e. [netbase](https://packages.debian.org/sid/netbase)) if not already pre-installed in your distribution. This can cause non-reproducibility for code if they rely on these files being present.
66
7−If [iana-etc](https://hydra.nixos.org/job/nixos/trunk-combined/nixpkgs.iana-etc.x86_64-linux) is part of your `buildInputs`, then it will set the environment variables `NIX_ETC_PROTOCOLS` and `NIX_ETC_SERVICES` to the corresponding files in the package through a setup hook.
7+If [iana-etc](https://hydra.nixos.org/job/nixos/trunk-combined/nixpkgs.iana-etc.x86_64-linux) is part of your _buildInputs_ then it will set the environment varaibles `NIX_ETC_PROTOCOLS` and `NIX_ETC_SERVICES` to the corresponding files in the package through a _setup-hook_.
88
99
1010```bash
@@ -15,4 +15,4 @@ NIX_ETC_SERVICES=/nix/store/aj866hr8fad8flnggwdhrldm0g799ccz-iana-etc-20210225/e
1515NIX_ETC_PROTOCOLS=/nix/store/aj866hr8fad8flnggwdhrldm0g799ccz-iana-etc-20210225/etc/protocols
1616```
1717
18−Nixpkg's version of [glibc](https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/libraries/glibc/default.nix) has been patched to check for the existence of these environment variables. If the environment variables are *not* set, then it will attempt to find the files at the default location within `/etc`.
18+Nixpkg's version of [glibc](https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/libraries/glibc/default.nix) has been patched to check for the existence of these environment variables. If the environment variable are *not set*, then it will attempt to find the files at the default location within _/etc_.
doc/builders/packages/firefox.section.md+8−7
@@ -2,7 +2,7 @@
22
33## Build wrapped Firefox with extensions and policies {#build-wrapped-firefox-with-extensions-and-policies}
44
5−The `wrapFirefox` function allows to pass policies, preferences and extensions that are available to Firefox. With the help of `fetchFirefoxAddon` this allows to build a Firefox version that already comes with add-ons pre-installed:
5+The `wrapFirefox` function allows to pass policies, preferences and extension that are available to Firefox. With the help of `fetchFirefoxAddon` this allows build a Firefox version that already comes with addons pre-installed:
66
77```nix
88{
@@ -40,12 +40,13 @@ The `wrapFirefox` function allows to pass policies, preferences and extensions t
4040}
4141```
4242
43−If `nixExtensions != null`, then all manually installed add-ons will be uninstalled from your browser profile.
44−To view available enterprise policies, visit [enterprise policies](https://github.com/mozilla/policy-templates#enterprisepoliciesenabled)
45−or type into the Firefox URL bar: `about:policies#documentation`.
46−Nix installed add-ons do not have a valid signature, which is why signature verification is disabled. This does not compromise security because downloaded add-ons are checksummed and manual add-ons can't be installed. Also, make sure that the `name` field of `fetchFirefoxAddon` is unique. If you remove an add-on from the `nixExtensions` array, rebuild and start Firefox: the removed add-on will be completely removed with all of its settings.
43+If `nixExtensions != null` then all manually installed addons will be uninstalled from your browser profile.
44+To view available enterprise policies visit [enterprise policies](https://github.com/mozilla/policy-templates#enterprisepoliciesenabled)
45+or type into the Firefox url bar: `about:policies#documentation`.
46+Nix installed addons do not have a valid signature, which is why signature verification is disabled. This does not compromise security because downloaded addons are checksumed and manual addons can't be installed. Also make sure that the `name` field of fetchFirefoxAddon is unique. If you remove an addon from the nixExtensions array, rebuild and start Firefox the removed addon will be completly removed with all of its settings.
4747
4848## Troubleshooting {#sec-firefox-troubleshooting}
49−If add-ons are marked as broken or the signature is invalid, make sure you have Firefox ESR installed. Normal Firefox does not provide the ability anymore to disable signature verification for add-ons thus nix add-ons get disabled by the normal Firefox binary.
49+If addons are marked as broken or the signature is invalid, make sure you have Firefox ESR installed. Normal Firefox does not provide the ability anymore to disable signature verification for addons thus nix addons get disabled by the normal Firefox binary.
50+
51+If addons do not appear installed although they have been defined in your nix configuration file reset the local addon state of your Firefox profile by clicking `help -> restart with addons disabled -> restart -> refresh firefox`. This can happen if you switch from manual addon mode to nix addon mode and then back to manual mode and then again to nix addon mode.
5052
51−If add-ons do not appear installed despite being defined in your nix configuration file, reset the local add-on state of your Firefox profile by clicking `Help -> More Troubleshooting Information -> Refresh Firefox`. This can happen if you switch from manual add-on mode to nix add-on mode and then back to manual mode and then again to nix add-on mode.
doc/builders/packages/fish.section.md+1−1
@@ -36,7 +36,7 @@ using `buildFishPlugin` and running unit tests with the `fishtape` test runner.
3636## Fish wrapper {#sec-fish-wrapper}
3737
3838The `wrapFish` package is a wrapper around Fish which can be used to create
39−Fish shells initialized with some plugins as well as completions, configuration
39+Fish shells initialised with some plugins as well as completions, configuration
4040snippets and functions sourced from the given paths. This provides a convenient
4141way to test Fish plugins and scripts without having to alter the environment.
4242
doc/builders/packages/fuse.section.md+2−2
@@ -24,10 +24,10 @@ packages on macOS:
2424 checking for fuse.h... no
2525 configure: error: No fuse.h found.
2626
27−This happens on autoconf based projects that use `AC_CHECK_HEADERS` or
27+This happens on autoconf based projects that uses `AC_CHECK_HEADERS` or
2828`AC_CHECK_LIBS` to detect libfuse, and will occur even when the `fuse` package
2929is included in `buildInputs`. It happens because libfuse headers throw an error
30−on macOS if the `FUSE_USE_VERSION` macro is undefined. Many projects do define
30+on macOS if the `FUSE_USE_VERSION` macro is undefined. Many proejcts do define
3131`FUSE_USE_VERSION`, but only inside C source files. This results in the above
3232error at configure time because the configure script would attempt to compile
3333sample FUSE programs without defining `FUSE_USE_VERSION`.
doc/builders/packages/ibus.section.md+3−3
@@ -6,7 +6,7 @@ This package is an ibus-based completion method to speed up typing.
66
77IBus needs to be configured accordingly to activate `typing-booster`. The configuration depends on the desktop manager in use. For detailed instructions, please refer to the [upstream docs](https://mike-fabian.github.io/ibus-typing-booster/documentation.html).
88
9−On NixOS, you need to explicitly enable `ibus` with given engines before customizing your desktop to use `typing-booster`. This can be achieved using the `ibus` module:
9+On NixOS you need to explicitly enable `ibus` with given engines before customizing your desktop to use `typing-booster`. This can be achieved using the `ibus` module:
1010
1111```nix
1212{ pkgs, ... }: {
@@ -19,7 +19,7 @@ On NixOS, you need to explicitly enable `ibus` with given engines before customi
1919
2020## Using custom hunspell dictionaries {#sec-ibus-typing-booster-customize-hunspell}
2121
22−The IBus engine is based on `hunspell` to support completion in many languages. By default, the dictionaries `de-de`, `en-us`, `fr-moderne` `es-es`, `it-it`, `sv-se` and `sv-fi` are in use. To add another dictionary, the package can be overridden like this:
22+The IBus engine is based on `hunspell` to support completion in many languages. By default the dictionaries `de-de`, `en-us`, `fr-moderne` `es-es`, `it-it`, `sv-se` and `sv-fi` are in use. To add another dictionary, the package can be overridden like this:
2323
2424```nix
2525ibus-engines.typing-booster.override { langs = [ "de-at" "en-gb" ]; }
@@ -31,7 +31,7 @@ _Note: each language passed to `langs` must be an attribute name in `pkgs.hunspe
3131
3232The `ibus-engines.typing-booster` package contains a program named `emoji-picker`. To display all emojis correctly, a special font such as `noto-fonts-emoji` is needed:
3333
34−On NixOS, it can be installed using the following expression:
34+On NixOS it can be installed using the following expression:
3535
3636```nix
3737{ pkgs, ... }: { fonts.fonts = with pkgs; [ noto-fonts-emoji ]; }
doc/builders/packages/linux.section.md+7−7
@@ -4,7 +4,7 @@ The Nix expressions to build the Linux kernel are in [`pkgs/os-specific/linux/ke
44
55The function that builds the kernel has an argument `kernelPatches` which should be a list of `{name, patch, extraConfig}` attribute sets, where `name` is the name of the patch (which is included in the kernel’s `meta.description` attribute), `patch` is the patch itself (possibly compressed), and `extraConfig` (optional) is a string specifying extra options to be concatenated to the kernel configuration file (`.config`).
66
7−The kernel derivation exports an attribute `features` specifying whether optional functionality is or isn’t enabled. This is used in NixOS to implement kernel-specific behaviour. For instance, if the kernel has the `iwlwifi` feature (i.e., has built-in support for Intel wireless chipsets), then NixOS doesn’t have to build the external `iwlwifi` package:
7+The kernel derivation exports an attribute `features` specifying whether optional functionality is or isn’t enabled. This is used in NixOS to implement kernel-specific behaviour. For instance, if the kernel has the `iwlwifi` feature (i.e. has built-in support for Intel wireless chipsets), then NixOS doesn’t have to build the external `iwlwifi` package:
88
99```nix
1010modulesTree = [kernel]
@@ -14,19 +14,19 @@ modulesTree = [kernel]
1414
1515How to add a new (major) version of the Linux kernel to Nixpkgs:
1616
17−1. Copy the old Nix expression (e.g., `linux-2.6.21.nix`) to the new one (e.g., `linux-2.6.22.nix`) and update it.
17+1. Copy the old Nix expression (e.g. `linux-2.6.21.nix`) to the new one (e.g. `linux-2.6.22.nix`) and update it.
1818
19192. Add the new kernel to the `kernels` attribute set in `linux-kernels.nix` (e.g., create an attribute `kernel_2_6_22`).
2020
21213. Now we’re going to update the kernel configuration. First unpack the kernel. Then for each supported platform (`i686`, `x86_64`, `uml`) do the following:
2222
23− 1. Make a copy from the old config (e.g., `config-2.6.21-i686-smp`) to the new one (e.g., `config-2.6.22-i686-smp`).
23+ 1. Make an copy from the old config (e.g. `config-2.6.21-i686-smp`) to the new one (e.g. `config-2.6.22-i686-smp`).
2424
25− 2. Copy the config file for this platform (e.g., `config-2.6.22-i686-smp`) to `.config` in the kernel source tree.
25+ 2. Copy the config file for this platform (e.g. `config-2.6.22-i686-smp`) to `.config` in the kernel source tree.
2626
27− 3. Run `make oldconfig ARCH={i386,x86_64,um}` and answer all questions. (For the uml configuration, also add `SHELL=bash`.) Make sure to keep the configuration consistent between platforms (i.e., don’t enable some feature on `i686` and disable it on `x86_64`).
27+ 3. Run `make oldconfig ARCH={i386,x86_64,um}` and answer all questions. (For the uml configuration, also add `SHELL=bash`.) Make sure to keep the configuration consistent between platforms (i.e. don’t enable some feature on `i686` and disable it on `x86_64`).
2828
29− 4. If needed, you can also run `make menuconfig`:
29+ 4. If needed you can also run `make menuconfig`:
3030
3131 ```ShellSession
3232 $ nix-env -f "<nixpkgs>" -iA ncurses
@@ -34,7 +34,7 @@ How to add a new (major) version of the Linux kernel to Nixpkgs:
3434 $ make menuconfig ARCH=arch
3535 ```
3636
37− 5. Copy `.config` over the new config file (e.g., `config-2.6.22-i686-smp`).
37+ 5. Copy `.config` over the new config file (e.g. `config-2.6.22-i686-smp`).
3838
39394. Test building the kernel: `nix-build -A linuxKernel.kernels.kernel_2_6_22`. If it compiles, ship it! For extra credit, try booting NixOS with it.
4040
doc/builders/packages/locales.section.md+2−2
@@ -1,5 +1,5 @@
11# Locales {#locales}
22
3−To allow simultaneous use of packages linked against different versions of `glibc` with different locale archive formats, Nixpkgs patches `glibc` to rely on `LOCALE_ARCHIVE` environment variable.
3+To allow simultaneous use of packages linked against different versions of `glibc` with different locale archive formats Nixpkgs patches `glibc` to rely on `LOCALE_ARCHIVE` environment variable.
44
5−On non-NixOS distributions, this variable is obviously not set. This can cause regressions in language support or even crashes in some Nixpkgs-provided programs. The simplest way to mitigate this problem is exporting the `LOCALE_ARCHIVE` variable pointing to `${glibcLocales}/lib/locale/locale-archive`. The drawback (and the reason this is not the default) is the relatively large (a hundred MiB) size of the full set of locales. It is possible to build a custom set of locales by overriding parameters `allLocales` and `locales` of the package.
5+On non-NixOS distributions this variable is obviously not set. This can cause regressions in language support or even crashes in some Nixpkgs-provided programs. The simplest way to mitigate this problem is exporting the `LOCALE_ARCHIVE` variable pointing to `${glibcLocales}/lib/locale/locale-archive`. The drawback (and the reason this is not the default) is the relatively large (a hundred MiB) size of the full set of locales. It is possible to build a custom set of locales by overriding parameters `allLocales` and `locales` of the package.
doc/builders/packages/nginx.section.md+2−2
@@ -4,8 +4,8 @@
44
55## ETags on static files served from the Nix store {#sec-nginx-etag}
66
7−HTTP has a couple of different mechanisms for caching to prevent clients from having to download the same content repeatedly if a resource has not changed since the last time it was requested. When nginx is used as a server for static files, it implements the caching mechanism based on the [`Last-Modified`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Last-Modified) response header automatically; unfortunately, it works by using filesystem timestamps to determine the value of the `Last-Modified` header. This doesn't give the desired behavior when the file is in the Nix store because all file timestamps are set to 0 (for reasons related to build reproducibility).
7+HTTP has a couple different mechanisms for caching to prevent clients from having to download the same content repeatedly if a resource has not changed since the last time it was requested. When nginx is used as a server for static files, it implements the caching mechanism based on the [`Last-Modified`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Last-Modified) response header automatically; unfortunately, it works by using filesystem timestamps to determine the value of the `Last-Modified` header. This doesn't give the desired behavior when the file is in the Nix store, because all file timestamps are set to 0 (for reasons related to build reproducibility).
88
9−Fortunately, HTTP supports an alternative (and more effective) caching mechanism: the [`ETag`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/ETag) response header. The value of the `ETag` header specifies some identifier for the particular content that the server is sending (e.g., a hash). When a client makes a second request for the same resource, it sends that value back in an `If-None-Match` header. If the ETag value is unchanged, then the server does not need to resend the content.
9+Fortunately, HTTP supports an alternative (and more effective) caching mechanism: the [`ETag`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/ETag) response header. The value of the `ETag` header specifies some identifier for the particular content that the server is sending (e.g. a hash). When a client makes a second request for the same resource, it sends that value back in an `If-None-Match` header. If the ETag value is unchanged, then the server does not need to resend the content.
1010
1111As of NixOS 19.09, the nginx package in Nixpkgs is patched such that when nginx serves a file out of `/nix/store`, the hash in the store path is used as the `ETag` header in the HTTP response, thus providing proper caching functionality. This happens automatically; you do not need to do modify any configuration to get this behavior.
doc/builders/packages/opengl.section.md+1−1
@@ -12,4 +12,4 @@ The NixOS desktop or other non-headless configurations are the primary target fo
1212
1313If you are using a non-NixOS GNU/Linux/X11 desktop with free software video drivers, consider launching OpenGL-dependent programs from Nixpkgs with Nixpkgs versions of `libglvnd` and `mesa.drivers` in `LD_LIBRARY_PATH`. For Mesa drivers, the Linux kernel version doesn't have to match nixpkgs.
1414
15−For proprietary video drivers, you might have luck with also adding the corresponding video driver package.
15+For proprietary video drivers you might have luck with also adding the corresponding video driver package.
doc/builders/packages/shell-helpers.section.md+1−1
@@ -4,7 +4,7 @@ Some packages provide the shell integration to be more useful. But unlike other
44
55- `fzf` : `fzf-share`
66
7−E.g. `fzf` can then be used in the `.bashrc` like this:
7+E.g. `fzf` can then used in the `.bashrc` like this:
88
99```bash
1010source "$(fzf-share)/completion.bash"
doc/builders/packages/steam.section.md+8−8
@@ -2,20 +2,20 @@
22
33## Steam in Nix {#sec-steam-nix}
44
5−Steam is distributed as a `.deb` file, for now only as an i686 package (the amd64 package only has documentation). When unpacked, it has a script called `steam` that in Ubuntu (their target distro) would go to `/usr/bin`. When run for the first time, this script copies some files to the user's home, which include another script that is the ultimate responsible for launching the steam binary, which is also in `$HOME`.
5+Steam is distributed as a `.deb` file, for now only as an i686 package (the amd64 package only has documentation). When unpacked, it has a script called `steam` that in Ubuntu (their target distro) would go to `/usr/bin`. When run for the first time, this script copies some files to the user's home, which include another script that is the ultimate responsible for launching the steam binary, which is also in \$HOME.
66
77Nix problems and constraints:
88
9−- We don't have `/bin/bash` and many scripts point there. Same thing for `/usr/bin/python`.
9+- We don't have `/bin/bash` and many scripts point there. Similarly for `/usr/bin/python`.
1010- We don't have the dynamic loader in `/lib`.
11−- The `steam.sh` script in `$HOME` cannot be patched, as it is checked and rewritten by steam.
11+- The `steam.sh` script in \$HOME can not be patched, as it is checked and rewritten by steam.
1212- The steam binary cannot be patched, it's also checked.
1313
1414The current approach to deploy Steam in NixOS is composing a FHS-compatible chroot environment, as documented [here](http://sandervanderburg.blogspot.nl/2013/09/composing-fhs-compatible-chroot.html). This allows us to have binaries in the expected paths without disrupting the system, and to avoid patching them to work in a non FHS environment.
1515
1616## How to play {#sec-steam-play}
1717
18−Use `programs.steam.enable = true;` if you want to add steam to `systemPackages` and also enable a few workarounds as well as Steam controller support or other Steam supported controllers such as the DualShock 4 or Nintendo Switch Pro Controller.
18+Use `programs.steam.enable = true;` if you want to add steam to systemPackages and also enable a few workarrounds aswell as Steam controller support or other Steam supported controllers such as the DualShock 4 or Nintendo Switch Pr.
1919
2020## Troubleshooting {#sec-steam-troub}
2121
@@ -32,7 +32,7 @@ Use `programs.steam.enable = true;` if you want to add steam to `systemPackages`
3232- **Using the FOSS Radeon or nouveau (nvidia) drivers**
3333
3434 - The `newStdcpp` parameter was removed since NixOS 17.09 and should not be needed anymore.
35− - Steam ships statically linked with a version of `libcrypto` that conflicts with the one dynamically loaded by radeonsi_dri.so. If you get the error:
35+ - Steam ships statically linked with a version of libcrypto that conflics with the one dynamically loaded by radeonsi_dri.so. If you get the error
3636
3737 ```
3838 steam.sh: line 713: 7842 Segmentation fault (core dumped)
@@ -42,13 +42,13 @@ Use `programs.steam.enable = true;` if you want to add steam to `systemPackages`
4242
4343- **Java**
4444
45− 1. There is no java in steam chrootenv by default. If you get a message like:
45+ 1. There is no java in steam chrootenv by default. If you get a message like
4646
4747 ```
4848 /home/foo/.local/share/Steam/SteamApps/common/towns/towns.sh: line 1: java: command not found
4949 ```
5050
51− you need to add:
51+ you need to add
5252
5353 ```nix
5454 steam.override { withJava = true; };
@@ -56,7 +56,7 @@ Use `programs.steam.enable = true;` if you want to add steam to `systemPackages`
5656
5757## steam-run {#sec-steam-run}
5858
59−The FHS-compatible chroot used for Steam can also be used to run other Linux games that expect a FHS environment. To use it, install the `steam-run` package and run the game with:
59+The FHS-compatible chroot used for Steam can also be used to run other Linux games that expect a FHS environment. To use it, install the `steam-run-native` package and run the game with
6060
6161```
6262steam-run ./foo
doc/builders/packages/urxvt.section.md+4−4
@@ -4,7 +4,7 @@ Urxvt, also known as rxvt-unicode, is a highly customizable terminal emulator.
44
55## Configuring urxvt {#sec-urxvt-conf}
66
7−In `nixpkgs`, urxvt is provided by the package `rxvt-unicode`. It can be configured to include your choice of plugins, reducing its closure size from the default configuration which includes all available plugins. To make use of this functionality, use an overlay or directly install an expression that overrides its configuration, such as:
7+In `nixpkgs`, urxvt is provided by the package `rxvt-unicode`. It can be configured to include your choice of plugins, reducing its closure size from the default configuration which includes all available plugins. To make use of this functionality, use an overlay or directly install an expression that overrides its configuration, such as
88
99```nix
1010rxvt-unicode.override {
@@ -58,14 +58,14 @@ rxvt-unicode.override {
5858
5959## Packaging urxvt plugins {#sec-urxvt-pkg}
6060
61−Urxvt plugins resides in `pkgs/applications/misc/rxvt-unicode-plugins`. To add a new plugin, create an expression in a subdirectory and add the package to the set in `pkgs/applications/misc/rxvt-unicode-plugins/default.nix`.
61+Urxvt plugins resides in `pkgs/applications/misc/rxvt-unicode-plugins`. To add a new plugin create an expression in a subdirectory and add the package to the set in `pkgs/applications/misc/rxvt-unicode-plugins/default.nix`.
6262
6363A plugin can be any kind of derivation, the only requirement is that it should always install perl scripts in `$out/lib/urxvt/perl`. Look for existing plugins for examples.
6464
65−If the plugin is itself a Perl package that needs to be imported from other plugins or scripts, add the following passthrough:
65+If the plugin is itself a perl package that needs to be imported from other plugins or scripts, add the following passthrough:
6666
6767```nix
6868passthru.perlPackages = [ "self" ];
6969```
7070
71−This will make the urxvt wrapper pick up the dependency and set up the Perl path accordingly.
71+This will make the urxvt wrapper pick up the dependency and set up the perl path accordingly.
doc/builders/packages/weechat.section.md+5−5
@@ -1,6 +1,6 @@
1−# WeeChat {#sec-weechat}
1+# Weechat {#sec-weechat}
22
3−WeeChat can be configured to include your choice of plugins, reducing its closure size from the default configuration which includes all available plugins. To make use of this functionality, install an expression that overrides its configuration, such as:
3+Weechat can be configured to include your choice of plugins, reducing its closure size from the default configuration which includes all available plugins. To make use of this functionality, install an expression that overrides its configuration such as
44
55```nix
66weechat.override {configure = {availablePlugins, ...}: {
@@ -13,7 +13,7 @@ If the `configure` function returns an attrset without the `plugins` attribute,
1313
1414The plugins currently available are `python`, `perl`, `ruby`, `guile`, `tcl` and `lua`.
1515
16−The Python and Perl plugins allows the addition of extra libraries. For instance, the `inotify.py` script in `weechat-scripts` requires D-Bus or libnotify, and the `fish.py` script requires `pycrypto`. To use these scripts, use the plugin's `withPackages` attribute:
16+The python and perl plugins allows the addition of extra libraries. For instance, the `inotify.py` script in `weechat-scripts` requires D-Bus or libnotify, and the `fish.py` script requires `pycrypto`. To use these scripts, use the plugin's `withPackages` attribute:
1717
1818```nix
1919weechat.override { configure = {availablePlugins, ...}: {
@@ -49,7 +49,7 @@ weechat.override {
4949
5050Further values can be added to the list of commands when running `weechat --run-command "your-commands"`.
5151
52−Additionally, it's possible to specify scripts to be loaded when starting `weechat`. These will be loaded before the commands from `init`:
52+Additionally it's possible to specify scripts to be loaded when starting `weechat`. These will be loaded before the commands from `init`:
5353
5454```nix
5555weechat.override {
@@ -64,7 +64,7 @@ weechat.override {
6464}
6565```
6666
67−In `nixpkgs` there's a subpackage which contains derivations for WeeChat scripts. Such derivations expect a `passthru.scripts` attribute, which contains a list of all scripts inside the store path. Furthermore, all scripts have to live in `$out/share`. An exemplary derivation looks like this:
67+In `nixpkgs` there's a subpackage which contains derivations for WeeChat scripts. Such derivations expect a `passthru.scripts` attribute which contains a list of all scripts inside the store path. Furthermore all scripts have to live in `$out/share`. An exemplary derivation looks like this:
6868
6969```nix
7070{ stdenv, fetchurl }:
doc/builders/special.xml+1
@@ -7,4 +7,5 @@
77 </para>
88 <xi:include href="special/fhs-environments.section.xml" />
99 <xi:include href="special/mkshell.section.xml" />
10+ <xi:include href="special/invalidateFetcherByDrvHash.section.xml" />
1011</chapter>
doc/builders/special/fhs-environments.section.md−2
@@ -45,5 +45,3 @@ One can create a simple environment using a `shell.nix` like that:
4545```
4646
4747Running `nix-shell` would then drop you into a shell with these libraries and binaries available. You can use this to run closed-source applications which expect FHS structure without hassles: simply change `runScript` to the application path, e.g. `./bin/start.sh` -- relative paths are supported.
48−
49−Additionally, the FHS builder links all relocated gsettings-schemas (the glib setup-hook moves them to `share/gsettings-schemas/${name}/glib-2.0/schemas`) to their standard FHS location. This means you don't need to wrap binaries with `wrapGAppsHook`.
doc/builders/special/invalidateFetcherByDrvHash.section.mdnew file+31
@@ -0,0 +1,31 @@
1+
2+## `invalidateFetcherByDrvHash` {#sec-pkgs-invalidateFetcherByDrvHash}
3+
4+Use the derivation hash to invalidate the output via name, for testing.
5+
6+Type: `(a@{ name, ... } -> Derivation) -> a -> Derivation`
7+
8+Normally, fixed output derivations can and should be cached by their output
9+hash only, but for testing we want to re-fetch everytime the fetcher changes.
10+
11+Changes to the fetcher become apparent in the drvPath, which is a hash of
12+how to fetch, rather than a fixed store path.
13+By inserting this hash into the name, we can make sure to re-run the fetcher
14+every time the fetcher changes.
15+
16+This relies on the assumption that Nix isn't clever enough to reuse its
17+database of local store contents to optimize fetching.
18+
19+You might notice that the "salted" name derives from the normal invocation,
20+not the final derivation. `invalidateFetcherByDrvHash` has to invoke the fetcher
21+function twice: once to get a derivation hash, and again to produce the final
22+fixed output derivation.
23+
24+Example:
25+
26+ tests.fetchgit = invalidateFetcherByDrvHash fetchgit {
27+ name = "nix-source";
28+ url = "https://github.com/NixOS/nix";
29+ rev = "9d9dbe6ed05854e03811c361a3380e09183f4f4a";
30+ sha256 = "sha256-7DszvbCNTjpzGRmpIVAWXk20P0/XTrWZ79KSOGLrUWY=";
31+ };
doc/builders/testers.chapter.mddeleted−82
@@ -1,82 +0,0 @@
1−# Testers {#chap-testers}
2−This chapter describes several testing builders which are available in the <literal>testers</literal> namespace.
3−
4−## `testVersion` {#tester-testVersion}
5−
6−Checks the command output contains the specified version
7−
8−Although simplistic, this test assures that the main program
9−can run. While there's no substitute for a real test case,
10−it does catch dynamic linking errors and such. It also provides
11−some protection against accidentally building the wrong version,
12−for example when using an 'old' hash in a fixed-output derivation.
13−
14−Examples:
15−
16−```nix
17−passthru.tests.version = testVersion { package = hello; };
18−
19−passthru.tests.version = testVersion {
20− package = seaweedfs;
21− command = "weed version";
22−};
23−
24−passthru.tests.version = testVersion {
25− package = key;
26− command = "KeY --help";
27− # Wrong '2.5' version in the code. Drop on next version.
28− version = "2.5";
29−};
30−```
31−
32−## `testEqualDerivation` {#tester-testEqualDerivation}
33−
34−Checks that two packages produce the exact same build instructions.
35−
36−This can be used to make sure that a certain difference of configuration,
37−such as the presence of an overlay does not cause a cache miss.
38−
39−When the derivations are equal, the return value is an empty file.
40−Otherwise, the build log explains the difference via `nix-diff`.
41−
42−Example:
43−
44−```nix
45−testEqualDerivation
46− "The hello package must stay the same when enabling checks."
47− hello
48− (hello.overrideAttrs(o: { doCheck = true; }))
49−```
50−
51−## `invalidateFetcherByDrvHash` {#tester-invalidateFetcherByDrvHash}
52−
53−Use the derivation hash to invalidate the output via name, for testing.
54−
55−Type: `(a@{ name, ... } -> Derivation) -> a -> Derivation`
56−
57−Normally, fixed output derivations can and should be cached by their output
58−hash only, but for testing we want to re-fetch everytime the fetcher changes.
59−
60−Changes to the fetcher become apparent in the drvPath, which is a hash of
61−how to fetch, rather than a fixed store path.
62−By inserting this hash into the name, we can make sure to re-run the fetcher
63−every time the fetcher changes.
64−
65−This relies on the assumption that Nix isn't clever enough to reuse its
66−database of local store contents to optimize fetching.
67−
68−You might notice that the "salted" name derives from the normal invocation,
69−not the final derivation. `invalidateFetcherByDrvHash` has to invoke the fetcher
70−function twice: once to get a derivation hash, and again to produce the final
71−fixed output derivation.
72−
73−Example:
74−
75−```nix
76−tests.fetchgit = invalidateFetcherByDrvHash fetchgit {
77− name = "nix-source";
78− url = "https://github.com/NixOS/nix";
79− rev = "9d9dbe6ed05854e03811c361a3380e09183f4f4a";
80− sha256 = "sha256-7DszvbCNTjpzGRmpIVAWXk20P0/XTrWZ79KSOGLrUWY=";
81−};
82−```
doc/builders/trivial-builders.chapter.md+3−105
@@ -35,10 +35,10 @@ This works just like `runCommand`. The only difference is that it also provides
3535
3636## `runCommandLocal` {#trivial-builder-runCommandLocal}
3737
38−Variant of `runCommand` that forces the derivation to be built locally, it is not substituted. This is intended for very cheap commands (<1s execution time). It saves on the network round-trip and can speed up a build.
38+Variant of `runCommand` that forces the derivation to be built locally, it is not substituted. This is intended for very cheap commands (<1s execution time). It saves on the network roundrip and can speed up a build.
3939
4040::: {.note}
41−This sets [`allowSubstitutes` to `false`](https://nixos.org/nix/manual/#adv-attr-allowSubstitutes), so only use `runCommandLocal` if you are certain the user will always have a builder for the `system` of the derivation. This should be true for most trivial use cases (e.g., just copying some files to a different location or adding symlinks) because there the `system` is usually the same as `builtins.currentSystem`.
41+This sets [`allowSubstitutes` to `false`](https://nixos.org/nix/manual/#adv-attr-allowSubstitutes), so only use `runCommandLocal` if you are certain the user will always have a builder for the `system` of the derivation. This should be true for most trivial use cases (e.g. just copying some files to a different location or adding symlinks), because there the `system` is usually the same as `builtins.currentSystem`.
4242:::
4343
4444## `writeTextFile`, `writeText`, `writeTextDir`, `writeScript`, `writeScriptBin` {#trivial-builder-writeText}
@@ -47,88 +47,6 @@ These functions write `text` to the Nix store. This is useful for creating scrip
4747
4848Many more commands wrap `writeTextFile` including `writeText`, `writeTextDir`, `writeScript`, and `writeScriptBin`. These are convenience functions over `writeTextFile`.
4949
50−Here are a few examples:
51−```nix
52−# Writes my-file to /nix/store/<store path>
53−writeTextFile {
54− name = "my-file";
55− text = ''
56− Contents of File
57− '';
58−}
59−# See also the `writeText` helper function below.
60−
61−# Writes executable my-file to /nix/store/<store path>/bin/my-file
62−writeTextFile {
63− name = "my-file";
64− text = ''
65− Contents of File
66− '';
67− executable = true;
68− destination = "/bin/my-file";
69−}
70−# Writes contents of file to /nix/store/<store path>
71−writeText "my-file"
72− ''
73− Contents of File
74− '';
75−# Writes contents of file to /nix/store/<store path>/share/my-file
76−writeTextDir "share/my-file"
77− ''
78− Contents of File
79− '';
80−# Writes my-file to /nix/store/<store path> and makes executable
81−writeScript "my-file"
82− ''
83− Contents of File
84− '';
85−# Writes my-file to /nix/store/<store path>/bin/my-file and makes executable.
86−writeScriptBin "my-file"
87− ''
88− Contents of File
89− '';
90−# Writes my-file to /nix/store/<store path> and makes executable.
91−writeShellScript "my-file"
92− ''
93− Contents of File
94− '';
95−# Writes my-file to /nix/store/<store path>/bin/my-file and makes executable.
96−writeShellScriptBin "my-file"
97− ''
98− Contents of File
99− '';
100−
101−```
102−
103−## `concatTextFile`, `concatText`, `concatScript` {#trivial-builder-concatText}
104−
105−These functions concatenate `files` to the Nix store in a single file. This is useful for configuration files structured in lines of text. `concatTextFile` takes an attribute set and expects two arguments, `name` and `files`. `name` corresponds to the name used in the Nix store path. `files` will be the files to be concatenated. You can also set `executable` to true to make this file have the executable bit set.
106−`concatText` and`concatScript` are simple wrappers over `concatTextFile`.
107−
108−Here are a few examples:
109−```nix
110−
111−# Writes my-file to /nix/store/<store path>
112−concatTextFile {
113− name = "my-file";
114− files = [ drv1 "${drv2}/path/to/file" ];
115−}
116−# See also the `concatText` helper function below.
117−
118−# Writes executable my-file to /nix/store/<store path>/bin/my-file
119−concatTextFile {
120− name = "my-file";
121− files = [ drv1 "${drv2}/path/to/file" ];
122− executable = true;
123− destination = "/bin/my-file";
124−}
125−# Writes contents of files to /nix/store/<store path>
126−concatText "my-file" [ file1 file2 ]
127−
128−# Writes contents of files to /nix/store/<store path>
129−concatScript "my-file" [ file1 file2 ]
130−```
131−
13250## `writeShellApplication` {#trivial-builder-writeShellApplication}
13351
13452This can be used to easily produce a shell script that has some dependencies (`runtimeInputs`). It automatically sets the `PATH` of the script to contain all of the listed inputs, sets some sanity shellopts (`errexit`, `nounset`, `pipefail`), and checks the resulting script with [`shellcheck`](https://github.com/koalaman/shellcheck).
@@ -154,26 +72,6 @@ validation.
15472## `symlinkJoin` {#trivial-builder-symlinkJoin}
15573
15674This can be used to put many derivations into the same directory structure. It works by creating a new derivation and adding symlinks to each of the paths listed. It expects two arguments, `name`, and `paths`. `name` is the name used in the Nix store path for the created derivation. `paths` is a list of paths that will be symlinked. These paths can be to Nix store derivations or any other subdirectory contained within.
157−Here is an example:
158−```nix
159−# adds symlinks of hello and stack to current build and prints "links added"
160−symlinkJoin { name = "myexample"; paths = [ pkgs.hello pkgs.stack ]; postBuild = "echo links added"; }
161−```
162−This creates a derivation with a directory structure like the following:
163−```
164−/nix/store/sglsr5g079a5235hy29da3mq3hv8sjmm-myexample
165−|-- bin
166−| |-- hello -> /nix/store/qy93dp4a3rqyn2mz63fbxjg228hffwyw-hello-2.10/bin/hello
167−| `-- stack -> /nix/store/6lzdpxshx78281vy056lbk553ijsdr44-stack-2.1.3.1/bin/stack
168−`-- share
169− |-- bash-completion
170− | `-- completions
171− | `-- stack -> /nix/store/6lzdpxshx78281vy056lbk553ijsdr44-stack-2.1.3.1/share/bash-completion/completions/stack
172− |-- fish
173− | `-- vendor_completions.d
174− | `-- stack.fish -> /nix/store/6lzdpxshx78281vy056lbk553ijsdr44-stack-2.1.3.1/share/fish/vendor_completions.d/stack.fish
175−...
176−```
17775
17876## `writeReferencesToFile` {#trivial-builder-writeReferencesToFile}
17977
@@ -219,5 +117,5 @@ produces an output path `/nix/store/<hash>-runtime-references` containing
219117/nix/store/<hash>-hello-2.10
220118```
221119
222−but none of `hello`'s dependencies because those are not referenced directly
120+but none of `hello`'s dependencies, because those are not referenced directly
223121by `hi`'s output.
doc/contributing/coding-conventions.chapter.md+8−9
@@ -214,17 +214,17 @@ Most of the time, these are the same. For instance, the package `e2fsprogs` has
214214
215215There are a few naming guidelines:
216216
217−- The `pname` attribute _should_ be identical to the upstream package name.
217+- The `name` attribute _should_ be identical to the upstream package name.
218218
219−- The `pname` and the `version` attribute _must not_ contain uppercase letters — e.g., `"mplayer" instead of `"MPlayer"`.
219+- The `name` attribute _must not_ contain uppercase letters — e.g., `"mplayer-1.0rc2"` instead of `"MPlayer-1.0rc2"`.
220220
221−- The `version` attribute _must_ start with a digit e.g`"0.3.1rc2".
221+- The version part of the `name` attribute _must_ start with a digit (following a dash) — e.g., `"hello-0.3.1rc2"`.
222222
223−- If a package is not a release but a commit from a repository, then the `version` attribute _must_ be the date of that (fetched) commit. The date _must_ be in `"unstable-YYYY-MM-DD"` format.
223+- If a package is not a release but a commit from a repository, then the version part of the name _must_ be the date of that (fetched) commit. The date _must_ be in `"YYYY-MM-DD"` format. Also append `"unstable"` to the name - e.g., `"pkgname-unstable-2014-09-23"`.
224224
225−- Dashes in the package `pname` _should_ be preserved in new variable names, rather than converted to underscores or camel cased — e.g., `http-parser` instead of `http_parser` or `httpParser`. The hyphenated style is preferred in all three package names.
225+- Dashes in the package name _should_ be preserved in new variable names, rather than converted to underscores or camel cased — e.g., `http-parser` instead of `http_parser` or `httpParser`. The hyphenated style is preferred in all three package names.
226226
227−- If there are multiple versions of a package, this _should_ be reflected in the variable names in `all-packages.nix`, e.g. `json-c_0_9` and `json-c_0_11`. If there is an obvious “default” version, make an attribute like `json-c = json-c_0_9;`. See also [](#sec-versioning)
227+- If there are multiple versions of a package, this _should_ be reflected in the variable names in `all-packages.nix`, e.g. `json-c-0-9` and `json-c-0-11`. If there is an obvious “default” version, make an attribute like `json-c = json-c-0-9;`. See also [](#sec-versioning)
228228
229229## File naming and organisation {#sec-organisation}
230230
@@ -540,11 +540,10 @@ If you do need to do create this sort of patch file, one way to do so is with gi
540540
541541If a patch is available online but does not cleanly apply, it can be modified in some fixed ways by using additional optional arguments for `fetchpatch`:
542542
543−- `relative`: Similar to using `git-diff`'s `--relative` flag, only keep changes inside the specified directory, making paths relative to it.
544543- `stripLen`: Remove the first `stripLen` components of pathnames in the patch.
545544- `extraPrefix`: Prefix pathnames by this string.
546−- `excludes`: Exclude files matching these patterns (applies after the above arguments).
547−- `includes`: Include only files matching these patterns (applies after the above arguments).
545+- `excludes`: Exclude files matching this pattern.
546+- `includes`: Include only files matching this pattern.
548547- `revert`: Revert the patch.
549548
550549Note that because the checksum is computed after applying these effects, using or modifying these arguments will have no effect unless the `sha256` argument is changed as well.
doc/contributing/reviewing-contributions.chapter.md+4−5
@@ -103,8 +103,7 @@ Sample template for a new package review is provided below.
103103- [ ] `meta.maintainers` is set
104104- [ ] build time only dependencies are declared in `nativeBuildInputs`
105105- [ ] source is fetched using the appropriate function
106−- [ ] the list of `phases` is not overridden
107−- [ ] when a phase (like `installPhase`) is overridden it starts with `runHook preInstall` and ends with `runHook postInstall`.
106+- [ ] phases are respected
108107- [ ] patches that are remotely available are fetched with `fetchpatch`
109108
110109##### Possible improvements
@@ -122,10 +121,10 @@ Reviewing process:
122121 - [CODEOWNERS](https://help.github.com/articles/about-codeowners/) will make GitHub notify users based on the submitted changes, but it can happen that it misses some of the package maintainers.
123122- Ensure that the module tests, if any, are succeeding.
124123- Ensure that the introduced options are correct.
125− - Type should be appropriate (string related types differs in their merging capabilities, `loaOf` and `string` types are deprecated).
124+ - Type should be appropriate (string related types differs in their merging capabilities, `optionSet` and `string` types are deprecated).
126125 - Description, default and example should be provided.
127126- Ensure that option changes are backward compatible.
128− - `mkRenamedOptionModuleWith` provides a way to make option changes backward compatible.
127+ - `mkRenamedOptionModule` and `mkAliasOptionModule` functions provide way to make option changes backward compatible.
129128- Ensure that removed options are declared with `mkRemovedOptionModule`
130129- Ensure that changes that are not backward compatible are mentioned in release notes.
131130- Ensure that documentations affected by the change is updated.
@@ -157,7 +156,7 @@ Reviewing process:
157156
158157- Ensure that the module tests, if any, are succeeding.
159158- Ensure that the introduced options are correct.
160− - Type should be appropriate (string related types differs in their merging capabilities, `loaOf` and `string` types are deprecated).
159+ - Type should be appropriate (string related types differs in their merging capabilities, `optionSet` and `string` types are deprecated).
161160 - Description, default and example should be provided.
162161- Ensure that module `meta` field is present
163162 - Maintainers should be declared in `meta.maintainers`.
doc/contributing/submitting-changes.chapter.md+3−3
@@ -96,9 +96,9 @@ We use jbidwatcher as an example for a discontinued project here.
9696
97971. Have Nixpkgs checked out locally and up to date.
98981. Create a new branch for your change, e.g. `git checkout -b jbidwatcher`
99−1. Remove the actual package including its directory, e.g. `git rm -rf pkgs/applications/misc/jbidwatcher`
99+1. Remove the actual package including its directory, e.g. `rm -rf pkgs/applications/misc/jbidwatcher`
1001001. Remove the package from the list of all packages (`pkgs/top-level/all-packages.nix`).
101−1. Add an alias for the package name in `pkgs/top-level/aliases.nix` (There is also `pkgs/applications/editors/vim/plugins/aliases.nix`. Package sets typically do not have aliases, so we can't add them there.)
101+1. Add an alias for the package name in `pkgs/top-level/aliases.nix` (There is also `pkgs/misc/vim-plugins/aliases.nix`. Package sets typically do not have aliases, so we can't add them there.)
102102
103103 For example in this case:
104104
@@ -227,7 +227,7 @@ digraph {
227227}
228228```
229229
230−[This GitHub Action](https://github.com/NixOS/nixpkgs/blob/master/.github/workflows/periodic-merge-6h.yml) brings changes from `master` to `staging-next` and from `staging-next` to `staging` every 6 hours.
230+[This GitHub Action](https://github.com/NixOS/nixpkgs/blob/master/.github/workflows/merge-staging.yml) brings changes from `master` to `staging-next` and from `staging-next` to `staging` every 6 hours.
231231
232232
233233### Master branch {#submitting-changes-master-branch}
doc/functions/library/attrsets.xml+1−1
@@ -1474,7 +1474,7 @@ lib.attrsets.zipAttrsWith
14741474 <section xml:id="function-library-lib.attrsets.zipAttrs">
14751475 <title><function>lib.attrsets.zipAttrs</function></title>
14761476
1477− <subtitle><literal>zipAttrs :: [ AttrSet ] -> AttrSet</literal>
1477+ <subtitle><literal>zipAttrsWith :: [ AttrSet ] -> AttrSet</literal>
14781478 </subtitle>
14791479
14801480 <xi:include href="./locations.xml" xpointer="lib.attrsets.zipAttrs" />
doc/hooks/index.xmldeleted−10
@@ -1,10 +0,0 @@
1−<chapter xmlns="http://docbook.org/ns/docbook"
2− xmlns:xlink="http://www.w3.org/1999/xlink"
3− xmlns:xi="http://www.w3.org/2001/XInclude"
4− xml:id="chap-hooks">
5− <title>Hooks reference</title>
6− <para>
7− Nixpkgs has several hook packages that augment the stdenv phases.
8− </para>
9− <xi:include href="./postgresql-test-hook.section.xml" />
10−</chapter>
doc/hooks/postgresql-test-hook.section.mddeleted−59
@@ -1,59 +0,0 @@
1−
2−# `postgresqlTestHook` {#sec-postgresqlTestHook}
3−
4−This hook starts a PostgreSQL server during the `checkPhase`. Example:
5−
6−```nix
7−{ stdenv, postgresql, postgresqlTestHook }:
8−stdenv.mkDerivation {
9−
10− # ...
11−
12− checkInputs = [
13− postgresql
14− postgresqlTestHook
15− ];
16−}
17−```
18−
19−If you use a custom `checkPhase`, remember to add the `runHook` calls:
20−```nix
21− checkPhase ''
22− runHook preCheck
23−
24− # ... your tests
25−
26− runHook postCheck
27− ''
28−```
29−
30−## Variables {#sec-postgresqlTestHook-variables}
31−
32−The hook logic will read a number of variables and set them to a default value if unset or empty.
33−
34−Exported variables:
35−
36− - `PGDATA`: location of server files.
37− - `PGHOST`: location of UNIX domain socket directory; the default `host` in a connection string.
38− - `PGUSER`: user to create / log in with, default: `test_user`.
39− - `PGDATABASE`: database name, default: `test_db`.
40−
41−Bash-only variables:
42−
43− - `postgresqlTestUserOptions`: SQL options to use when creating the `$PGUSER` role, default: `LOGIN`.
44− - `postgresqlTestSetupSQL`: SQL commands to run as database administrator after startup, default: statements that create `$PGUSER` and `$PGDATABASE`.
45− - `postgresqlTestSetupCommands`: bash commands to run after database start, defaults to running `$postgresqlTestSetupSQL` as database administrator.
46− - `postgresqlEnableTCP`: set to `1` to enable TCP listening. Flaky; not recommended.
47− - `postgresqlStartCommands`: defaults to `pg_ctl start`.
48−
49−## TCP and the Nix sandbox {#sec-postgresqlTestHook-tcp}
50−
51−`postgresqlEnableTCP` relies on network sandboxing, which is not available on macOS and some custom Nix installations, resulting in flaky tests.
52−For this reason, it is disabled by default.
53−
54−The preferred solution is to make the test suite use a UNIX domain socket connection. This is the default behavior when no `host` connection parameter is provided.
55−Some test suites hardcode a value for `host` though, so a patch may be required. If you can upstream the patch, you can make `host` default to the `PGHOST` environment variable when set. Otherwise, you can patch it locally to omit the `host` connection string parameter altogether.
56−
57−::: {.note}
58−The error `libpq: failed (could not receive data from server: Connection refused` is generally an indication that the test suite is trying to connect through TCP.
59−:::
doc/languages-frameworks/chicken.section.mddeleted−49
@@ -1,49 +0,0 @@
1−# CHICKEN {#sec-chicken}
2−
3−[CHICKEN](https://call-cc.org/) is a
4−[R⁵RS](https://schemers.org/Documents/Standards/R5RS/HTML/)-compliant Scheme
5−compiler. It includes an interactive mode and a custom package format, "eggs".
6−
7−## Using Eggs
8−
9−Eggs described in nixpkgs are available inside the
10−`chickenPackages.chickenEggs` attrset. Including an egg as a build input is
11−done in the typical Nix fashion. For example, to include support for [SRFI
12−189](https://srfi.schemers.org/srfi-189/srfi-189.html) in a derivation, one
13−might write:
14−
15−```nix
16− buildInputs = [
17− chicken
18− chickenPackages.chickenEggs.srfi-189
19− ];
20−```
21−
22−Both `chicken` and its eggs have a setup hook which configures the environment
23−variables `CHICKEN_INCLUDE_PATH` and `CHICKEN_REPOSITORY_PATH`.
24−
25−## Updating Eggs
26−
27−nixpkgs only knows about a subset of all published eggs. It uses
28−[egg2nix](https://github.com/the-kenny/egg2nix) to generate a
29−package set from a list of eggs to include.
30−
31−The package set is regenerated by running the following shell commands:
32−
33−```
34−$ nix-shell -p chickenPackages.egg2nix
35−$ cd pkgs/development/compilers/chicken/5/
36−$ egg2nix eggs.scm > eggs.nix
37−```
38−
39−## Adding Eggs
40−
41−When we run `egg2nix`, we obtain one collection of eggs with
42−mutually-compatible versions. This means that when we add new eggs, we may
43−need to update existing eggs. To keep those separate, follow the procedure for
44−updating eggs before including more eggs.
45−
46−To include more eggs, edit `pkgs/development/compilers/chicken/5/eggs.scm`.
47−The first section of this file lists eggs which are required by `egg2nix`
48−itself; all other eggs go into the second section. After editing, follow the
49−procedure for updating eggs.
doc/languages-frameworks/coq.section.md+1−2
@@ -29,8 +29,7 @@ The recommended way of defining a derivation for a Coq library, is to use the `c
2929* `releaseRev` (optional, defaults to `(v: v)`), provides a default mapping from release names to revision hashes/branch names/tags,
3030* `displayVersion` (optional), provides a way to alter the computation of `name` from `pname`, by explaining how to display version numbers,
3131* `namePrefix` (optional, defaults to `[ "coq" ]`), provides a way to alter the computation of `name` from `pname`, by explaining which dependencies must occur in `name`,
32−* `extraNativeBuildInputs` (optional), by default `nativeBuildInputs` just contains `coq`, this allows to add more native build inputs, `nativeBuildInputs` are executables and `buildInputs` are libraries and dependencies,
33−* `extraBuildInputs` (optional), this allows to add more build inputs,
32+* `extraBuildInputs` (optional), by default `buildInputs` just contains `coq`, this allows to add more build inputs,
3433* `mlPlugin` (optional, defaults to `false`). Some extensions (plugins) might require OCaml and sometimes other OCaml packages. Standard dependencies can be added by setting the current option to `true`. For a finer grain control, the `coq.ocamlPackages` attribute can be used in `extraBuildInputs` to depend on the same package set Coq was built against.
3534* `useDune2ifVersion` (optional, default to `(x: false)` uses Dune2 to build the package if the provided predicate evaluates to true on the version, e.g. `useDune2if = versions.isGe "1.1"` will use dune if the version of the package is greater or equal to `"1.1"`,
3635* `useDune2` (optional, defaults to `false`) uses Dune2 to build the package if set to true, the presence of this attribute overrides the behavior of the previous one.
doc/languages-frameworks/cuda.section.mddeleted−34
@@ -1,34 +0,0 @@
1−# CUDA {#cuda}
2−
3−CUDA-only packages are stored in the `cudaPackages` packages set. This set
4−includes the `cudatoolkit`, portions of the toolkit in separate derivations,
5−`cudnn`, `cutensor` and `nccl`.
6−
7−A package set is available for each CUDA version, so for example
8−`cudaPackages_11_6`. Within each set is a matching version of the above listed
9−packages. Additionally, other versions of the packages that are packaged and
10−compatible are available as well. For example, there can be a
11−`cudaPackages.cudnn_8_3_2` package.
12−
13−To use one or more CUDA packages in an expression, give the expression a `cudaPackages` parameter, and in case CUDA is optional
14−```nix
15−cudaSupport ? false
16−cudaPackages ? {}
17−```
18−
19−When using `callPackage`, you can choose to pass in a different variant, e.g.
20−when a different version of the toolkit suffices
21−```nix
22−mypkg = callPackage { cudaPackages = cudaPackages_11_5; }
23−```
24−
25−If another version of say `cudnn` or `cutensor` is needed, you can override the
26−package set to make it the default. This guarantees you get a consistent package
27−set.
28−```nix
29−mypkg = let
30− cudaPackages = cudaPackages_11_5.overrideScope' (final: prev {
31− cudnn = prev.cudnn_8_3_2;
32− }});
33−in callPackage { inherit cudaPackages; };
34−```
doc/languages-frameworks/dotnet.section.md+1−1
@@ -84,7 +84,7 @@ To package Dotnet applications, you can use `buildDotnetModule`. This has simila
8484 <ProjectReference Include="../foo/bar.fsproj" />
8585 <PackageReference Include="bar" Version="*" Condition=" '$(ContinuousIntegrationBuild)'=='true' "/>
8686 ```
87−* `executables` is used to specify which executables get wrapped to `$out/bin`, relative to `$out/lib/$pname`. If this is unset, all executables generated will get installed. If you do not want to install any, set this to `[]`. This gets done in the `preFixup` phase.
87+* `executables` is used to specify which executables get wrapped to `$out/bin`, relative to `$out/lib/$pname`. If this is unset, all executables generated will get installed. If you do not want to install any, set this to `[]`.
8888* `runtimeDeps` is used to wrap libraries into `LD_LIBRARY_PATH`. This is how dotnet usually handles runtime dependencies.
8989* `buildType` is used to change the type of build. Possible values are `Release`, `Debug`, etc. By default, this is set to `Release`.
9090* `dotnet-sdk` is useful in cases where you need to change what dotnet SDK is being used.
doc/languages-frameworks/gnome.section.md+2−16
@@ -42,21 +42,7 @@ Unlike other libraries mentioned in this section, GdkPixbuf only supports a sing
4242
4343### Icons {#ssec-gnome-icons}
4444
45−When an application uses icons, an icon theme should be available in `XDG_DATA_DIRS` during runtime. The package for the default, icon-less [hicolor-icon-theme](https://www.freedesktop.org/wiki/Software/icon-theme/) (should be propagated by every icon theme) contains [a setup hook](#ssec-gnome-hooks-hicolor-icon-theme) that will pick up icon themes from `buildInputs` and add their datadirs to `XDG_ICON_DIRS` environment variable (this is Nixpkgs specific, not actually a XDG standard variable). Unfortunately, relying on that would mean every user has to download the theme included in the package expression no matter their preference. For that reason, we leave the installation of icon theme on the user. If you use one of the desktop environments, you probably already have an icon theme installed.
46−
47−In the rare case you need to use icons from dependencies (e.g. when an app forces an icon theme), you can use the following to pick them up:
48−
49−```nix
50− buildInputs = [
51− pantheon.elementary-icon-theme
52− ];
53− preFixup = ''
54− gappsWrapperArgs+=(
55− # The icon theme is hardcoded.
56− --prefix XDG_DATA_DIRS : "$XDG_ICON_DIRS"
57− )
58− '';
59−```
45+When an application uses icons, an icon theme should be available in `XDG_DATA_DIRS` during runtime. The package for the default, icon-less [hicolor-icon-theme](https://www.freedesktop.org/wiki/Software/icon-theme/) (should be propagated by every icon theme) contains [a setup hook](#ssec-gnome-hooks-hicolor-icon-theme) that will pick up icon themes from `buildInputs` and pass it to our wrapper. Unfortunately, relying on that would mean every user has to download the theme included in the package expression no matter their preference. For that reason, we leave the installation of icon theme on the user. If you use one of the desktop environments, you probably already have an icon theme installed.
6046
6147To avoid costly file system access when locating icons, GTK, [as well as Qt](https://woboq.com/blog/qicon-reads-gtk-icon-cache-in-qt57.html), can rely on `icon-theme.cache` files from the themes' top-level directories. These files are generated using `gtk-update-icon-cache`, which is expected to be run whenever an icon is added or removed to an icon theme (typically an application icon into `hicolor` theme) and some programs do indeed run this after icon installation. However, since packages are installed into their own prefix by Nix, this would lead to conflicts. For that reason, `gtk3` provides a [setup hook](#ssec-gnome-hooks-gtk-drop-icon-theme-cache) that will clean the file from installation. Since most applications only ship their own icon that will be loaded on start-up, it should not affect them too much. On the other hand, icon themes are much larger and more widely used so we need to cache them. Because we recommend installing icon themes globally, we will generate the cache files from all packages in a profile using a NixOS module. You can enable the cache generation using `gtk.iconCache.enable` option if your desktop environment does not already do that.
6248
@@ -112,7 +98,7 @@ For convenience, it also adds `dconf.lib` for a GIO module implementing a GSetti
11298
11399- []{#ssec-gnome-hooks-dconf} `dconf.lib` is a dependency of `wrapGAppsHook`, which then also adds it to the `GIO_EXTRA_MODULES` variable.
114100
115−- []{#ssec-gnome-hooks-hicolor-icon-theme} `hicolor-icon-theme`’s setup hook will add icon themes to `XDG_ICON_DIRS`.
101+- []{#ssec-gnome-hooks-hicolor-icon-theme} `hicolor-icon-theme`’s setup hook will add icon themes to `XDG_ICON_DIRS` which is prepended to `XDG_DATA_DIRS` by `wrapGAppsHook`.
116102
117103- []{#ssec-gnome-hooks-gobject-introspection} `gobject-introspection` setup hook populates `GI_TYPELIB_PATH` variable with `lib/girepository-1.0` directories of dependencies, which is then added to wrapper by `wrapGAppsHook`. It also adds `share` directories of dependencies to `XDG_DATA_DIRS`, which is intended to promote GIR files but it also [pollutes the closures](https://github.com/NixOS/nixpkgs/issues/32790) of packages using `wrapGAppsHook`.
118104
doc/languages-frameworks/go.section.md+1−5
@@ -142,8 +142,4 @@ Removes the pre-existing vendor directory. This should only be used if the depen
142142
143143### `subPackages` {#var-go-subPackages}
144144
145−Specified as a string or list of strings. Limits the builder from building child packages that have not been listed. If `subPackages` is not specified, all child packages will be built.
146−
147−### `excludedPackages` {#var-go-excludedPackages}
148−
149−Specified as a string or list of strings. Causes the builder to skip building child packages that match any of the provided values. If `excludedPackages` is not specified, all child packages will be built.
145+Limits the builder from building child packages that have not been listed. If `subPackages` is not specified, all child packages will be built.
doc/languages-frameworks/index.xml−2
@@ -9,10 +9,8 @@
99 <xi:include href="android.section.xml" />
1010 <xi:include href="beam.section.xml" />
1111 <xi:include href="bower.section.xml" />
12− <xi:include href="chicken.section.xml" />
1312 <xi:include href="coq.section.xml" />
1413 <xi:include href="crystal.section.xml" />
15− <xi:include href="cuda.section.xml" />
1614 <xi:include href="dhall.section.xml" />
1715 <xi:include href="dotnet.section.xml" />
1816 <xi:include href="emscripten.section.xml" />
doc/languages-frameworks/javascript.section.md+2−24
@@ -85,7 +85,7 @@ you will still need to commit the modified version of the lock files, but at lea
8585
8686each tool has an abstraction to just build the node_modules (dependencies) directory. you can always use the stdenv.mkDerivation with the node_modules to build the package (symlink the node_modules directory and then use the package build command). the node_modules abstraction can be also used to build some web framework frontends. For an example of this see how [plausible](https://github.com/NixOS/nixpkgs/blob/master/pkgs/servers/web-apps/plausible/default.nix) is built. mkYarnModules to make the derivation containing node_modules. Then when building the frontend you can just symlink the node_modules directory
8787
88−## Javascript packages inside nixpkgs {#javascript-packages-nixpkgs}
88+## javascript packages inside nixpkgs {#javascript-packages-nixpkgs}
8989
9090The `pkgs/development/node-packages` folder contains a generated collection of
9191[NPM packages](https://npmjs.com/) that can be installed with the Nix package
@@ -121,14 +121,12 @@ requires `node-gyp-build`, so [we override](https://github.com/NixOS/nixpkgs/blo
121121 };
122122```
123123
124−### Adding and Updating Javascript packages in nixpkgs
125−
126124To add a package from NPM to nixpkgs:
127125
1281261. Modify `pkgs/development/node-packages/node-packages.json` to add, update
129127 or remove package entries to have it included in `nodePackages` and
130128 `nodePackages_latest`.
131−2. Run the script: `./pkgs/development/node-packages/generate.sh`.
129+2. Run the script: `cd pkgs/development/node-packages && ./generate.sh`.
1321303. Build your new package to test your changes:
133131 `cd /path/to/nixpkgs && nix-build -A nodePackages.<new-or-updated-package>`.
134132 To build against the latest stable Current Node.js version (e.g. 14.x):
@@ -139,26 +137,6 @@ For more information about the generation process, consult the
139137[README.md](https://github.com/svanderburg/node2nix) file of the `node2nix`
140138tool.
141139
142−To update NPM packages in nixpkgs, run the same `generate.sh` script:
143−
144−```sh
145−./pkgs/development/node-packages/generate.sh
146−```
147−
148−#### Git protocol error
149−
150−Some packages may have Git dependencies from GitHub specified with `git://`.
151−GitHub has
152−[disabled unecrypted Git connections](https://github.blog/2021-09-01-improving-git-protocol-security-github/#no-more-unauthenticated-git),
153−so you may see the following error when running the generate script:
154−`The unauthenticated git protocol on port 9418 is no longer supported`.
155−
156−Use the following Git configuration to resolve the issue:
157−
158−```sh
159−git config --global url."https://github.com/".insteadOf git://github.com/
160−```
161−
162140## Tool specific instructions {#javascript-tool-specific}
163141
164142### node2nix {#javascript-node2nix}
doc/languages-frameworks/ocaml.section.md+6−18
@@ -32,18 +32,14 @@ Given that most of the OCaml ecosystem is now built with dune, nixpkgs includes
3232
3333Here is a simple package example.
3434
35−- It defines an (optional) attribute `minimalOCamlVersion` (see note below)
36− that will be used to throw a descriptive evaluation error if building with
37− an older OCaml is attempted.
35+- It defines an (optional) attribute `minimalOCamlVersion` that will be used to
36+ throw a descriptive evaluation error if building with an older OCaml is
37+ attempted.
3838
3939- It uses the `fetchFromGitHub` fetcher to get its source.
4040
41−- `duneVersion = "2"` ensures that Dune version 2 is used for the
42− build (this is the default; valid values are `"1"`, `"2"`, and `"3"`);
43− note that there is also a legacy `useDune2` boolean attribute:
44− set to `false` it corresponds to `duneVersion = "1"`; set to `true` it
45− corresponds to `duneVersion = "2"`. If both arguments (`duneVersion` and
46− `useDune2`) are given, the second one (`useDune2`) is silently ignored.
41+- `useDune2 = true` ensures that the latest version of Dune is used for the
42+ build (this may become the default value in a future release).
4743
4844- It sets the optional `doCheck` attribute such that tests will be run with
4945 `dune runtest -p angstrom` after the build (`dune build -p angstrom`) is
@@ -71,7 +67,7 @@ Here is a simple package example.
7167buildDunePackage rec {
7268 pname = "angstrom";
7369 version = "0.15.0";
74− duneVersion = "2";
70+ useDune2 = true;
7571
7672 minimalOCamlVersion = "4.04";
7773
@@ -121,11 +117,3 @@ buildDunePackage rec {
121117 };
122118}
123119```
124−
125−Note about `minimalOCamlVersion`. A deprecated version of this argument was
126−spelled `minimumOCamlVersion`; setting the old attribute wrongly modifies the
127−derivation hash and is therefore inappropriate. As a technical dept, currently
128−packaged libraries may still use the old spelling: maintainers are invited to
129−fix this when updating packages. Massive renaming is strongly discouraged as it
130−would be challenging to review, difficult to test, and will cause unnecessary
131−rebuild.
doc/languages-frameworks/python.section.md−25
@@ -979,31 +979,6 @@ with import <nixpkgs> {};
979979in python.withPackages(ps: [ps.blaze])).env
980980```
981981
982−#### Optional extra dependencies
983−
984−Some packages define optional dependencies for additional features. With
985−`setuptools` this is called `extras_require` and `flit` calls it `extras-require`. A
986−method for supporting this is by declaring the extras of a package in its
987−`passthru`, e.g. in case of the package `dask`
988−
989−```nix
990−passthru.extras-require = {
991− complete = [ distributed ];
992−};
993−```
994−
995−and letting the package requiring the extra add the list to its dependencies
996−
997−```nix
998−propagatedBuildInputs = [
999− ...
1000−] ++ dask.extras-require.complete;
1001−```
1002−
1003−Note this method is preferred over adding parameters to builders, as that can
1004−result in packages depending on different variants and thereby causing
1005−collisions.
1006−
1007982#### `buildPythonApplication` function {#buildpythonapplication-function}
1008983
1009984The `buildPythonApplication` function is practically the same as
doc/languages-frameworks/rust.section.md−2
@@ -464,8 +464,6 @@ you of the correct hash.
464464 be disabled by setting `dontUseCargoParallelTests`.
465465* `cargoInstallHook`: install binaries and static/shared libraries
466466 that were built using `cargoBuildHook`.
467−* `bindgenHook`: for crates which use `bindgen` as a build dependency, lets
468− `bindgen` find `libclang` and `libclang` find the libraries in `buildInputs`.
469467
470468### Examples {#examples}
471469
doc/languages-frameworks/texlive.section.md+1−1
@@ -6,7 +6,7 @@ Since release 15.09 there is a new TeX Live packaging that lives entirely under
66
77- For basic usage just pull `texlive.combined.scheme-basic` for an environment with basic LaTeX support.
88
9−- It typically won't work to use separately installed packages together. Instead, you can build a custom set of packages like this. Most CTAN packages should be available:
9+- It typically won't work to use separately installed packages together. Instead, you can build a custom set of packages like this:
1010
1111 ```nix
1212 texlive.combine {
doc/languages-frameworks/vim.section.md+6−9
@@ -18,7 +18,7 @@ Adding custom .vimrc lines can be done using the following code:
1818
1919```nix
2020vim_configurable.customize {
21− # `name` optionally specifies the name of the executable and package
21+ # `name` specifies the name of the executable and package
2222 name = "vim-with-plugins";
2323
2424 vimrcConfig.customRC = ''
@@ -28,9 +28,6 @@ vim_configurable.customize {
2828```
2929
3030This configuration is used when Vim is invoked with the command specified as name, in this case `vim-with-plugins`.
31−You can also omit `name` to customize Vim itself. See the
32−[definition of `vimUtils.makeCustomizable`](https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/editors/vim/plugins/vim-utils.nix#L408)
33−for all supported options.
3431
3532For Neovim the `configure` argument can be overridden to achieve the same:
3633
@@ -289,7 +286,7 @@ Sample output1:
289286"reload" = buildVimPluginFrom2Nix { # created by nix#NixDerivation
290287 name = "reload";
291288 src = fetchgit {
292− url = "https://github.com/xolox/vim-reload";
289+ url = "git://github.com/xolox/vim-reload";
293290 rev = "0a601a668727f5b675cb1ddc19f6861f3f7ab9e1";
294291 sha256 = "0vb832l9yxj919f5hfg6qj6bn9ni57gnjd3bj7zpq7d4iv2s4wdh";
295292 };
@@ -312,9 +309,9 @@ Sample output2:
312309
313310## Adding new plugins to nixpkgs {#adding-new-plugins-to-nixpkgs}
314311
315−Nix expressions for Vim plugins are stored in [pkgs/applications/editors/vim/plugins](https://github.com/NixOS/nixpkgs/tree/master/pkgs/applications/editors/vim/plugins). For the vast majority of plugins, Nix expressions are automatically generated by running [`./update.py`](https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/editors/vim/plugins/update.py). This creates a [generated.nix](https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/editors/vim/plugins/generated.nix) file based on the plugins listed in [vim-plugin-names](https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/editors/vim/plugins/vim-plugin-names). Plugins are listed in alphabetical order in `vim-plugin-names` using the format `[github username]/[repository]@[gitref]`. For example https://github.com/scrooloose/nerdtree becomes `scrooloose/nerdtree`.
312+Nix expressions for Vim plugins are stored in [pkgs/misc/vim-plugins](https://github.com/NixOS/nixpkgs/tree/master/pkgs/misc/vim-plugins). For the vast majority of plugins, Nix expressions are automatically generated by running [`./update.py`](https://github.com/NixOS/nixpkgs/blob/master/pkgs/misc/vim-plugins/update.py). This creates a [generated.nix](https://github.com/NixOS/nixpkgs/blob/master/pkgs/misc/vim-plugins/generated.nix) file based on the plugins listed in [vim-plugin-names](https://github.com/NixOS/nixpkgs/blob/master/pkgs/misc/vim-plugins/vim-plugin-names). Plugins are listed in alphabetical order in `vim-plugin-names` using the format `[github username]/[repository]@[gitref]`. For example https://github.com/scrooloose/nerdtree becomes `scrooloose/nerdtree`.
316313
317−Some plugins require overrides in order to function properly. Overrides are placed in [overrides.nix](https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/editors/vim/plugins/overrides.nix). Overrides are most often required when a plugin requires some dependencies, or extra steps are required during the build process. For example `deoplete-fish` requires both `deoplete-nvim` and `vim-fish`, and so the following override was added:
314+Some plugins require overrides in order to function properly. Overrides are placed in [overrides.nix](https://github.com/NixOS/nixpkgs/blob/master/pkgs/misc/vim-plugins/overrides.nix). Overrides are most often required when a plugin requires some dependencies, or extra steps are required during the build process. For example `deoplete-fish` requires both `deoplete-nvim` and `vim-fish`, and so the following override was added:
318315
319316```nix
320317deoplete-fish = super.deoplete-fish.overrideAttrs(old: {
@@ -333,13 +330,13 @@ Finally, there are some plugins that are also packaged in nodePackages because t
333330Run the update script with a GitHub API token that has at least `public_repo` access. Running the script without the token is likely to result in rate-limiting (429 errors). For steps on creating an API token, please refer to [GitHub's token documentation](https://docs.github.com/en/free-pro-team@latest/github/authenticating-to-github/creating-a-personal-access-token).
334331
335332```sh
336−GITHUB_API_TOKEN=my_token ./pkgs/applications/editors/vim/plugins/update.py
333+GITHUB_API_TOKEN=my_token ./pkgs/misc/vim-plugins/update.py
337334```
338335
339336Alternatively, set the number of processes to a lower count to avoid rate-limiting.
340337
341338```sh
342−./pkgs/applications/editors/vim/plugins/update.py --proc 1
339+./pkgs/misc/vim-plugins/update.py --proc 1
343340```
344341
345342## Important repositories {#important-repositories}
doc/manual.xml−2
@@ -25,10 +25,8 @@
2525 <title>Builders</title>
2626 <xi:include href="builders/fetchers.chapter.xml" />
2727 <xi:include href="builders/trivial-builders.chapter.xml" />
28− <xi:include href="builders/testers.chapter.xml" />
2928 <xi:include href="builders/special.xml" />
3029 <xi:include href="builders/images.xml" />
31− <xi:include href="hooks/index.xml" />
3230 <xi:include href="languages-frameworks/index.xml" />
3331 <xi:include href="builders/packages/index.xml" />
3432 </part>
doc/stdenv/cross-compilation.chapter.md+10−35
@@ -78,46 +78,21 @@ If both the dependency and depending packages aren't compilers or other machine-
7878
7979Finally, if the depending package is a compiler or other machine-code-producing tool, it might need dependencies that run at "emit time". This is for compilers that (regrettably) insist on being built together with their source languages' standard libraries. Assuming build != host != target, a run-time dependency of the standard library cannot be run at the compiler's build time or run time, but only at the run time of code emitted by the compiler.
8080
81−Putting this all together, that means that we have dependency types of the form "X→ E", which means that the dependency executes on X and emits code for E; each of X and E can be `build`, `host`, or `target`, and E can be `*` to indicate that the dependency is not a compiler-like package.
82−
83−Dependency types describe the relationships that a package has with each of its transitive dependencies. You could think of attaching one or more dependency types to each of the formal parameters at the top of a package's `.nix` file, as well as to all of *their* formal parameters, and so on. Triples like `(foo, bar, baz)`, on the other hand, are a property of an instantiated derivation -- you could would attach a triple `(mips-linux, mips-linux, sparc-solaris)` to a `.drv` file in `/nix/store`.
84−
85−Only nine dependency types matter in practice:
81+Putting this all together, that means we have dependencies in the form "host → target", in at most the following six combinations:
8682
8783#### Possible dependency types {#possible-dependency-types}
8884
89−| Dependency type | Dependency’s host platform | Dependency’s target platform |
90−|-----------------|----------------------------|------------------------------|
91−| build → * | build | (none) |
92−| build → build | build | build |
93−| build → host | build | host |
94−| build → target | build | target |
95−| host → * | host | (none) |
96−| host → host | host | host |
97−| host → target | host | target |
98−| target → * | target | (none) |
99−| target → target | target | target |
100−
101−Let's use `g++` as an example to make this table clearer. `g++` is a C++ compiler written in C. Suppose we are building `g++` with a `(build, host, target)` platform triple of `(foo, bar, baz)`. This means we are using a `foo`-machine to build a copy of `g++` which will run on a `bar`-machine and emit binaries for the `baz`-machine.
102−
103−* `g++` links against the host platform's `glibc` C library, which is a "host→ *" dependency with a triple of `(bar, bar, *)`. Since it is a library, not a compiler, it has no "target".
104−
105−* Since `g++` is written in C, the `gcc` compiler used to compile it is a "build→ host" dependency of `g++` with a triple of `(foo, foo, bar)`. This compiler runs on the build platform and emits code for the host platform.
106−
107−* `gcc` links against the build platform's `glibc` C library, which is a "build→ *" dependency with a triple of `(foo, foo, *)`. Since it is a library, not a compiler, it has no "target".
108−
109−* This `gcc` is itself compiled by an *earlier* copy of `gcc`. This earlier copy of `gcc` is a "build→ build" dependency of `g++` with a triple of `(foo, foo, foo)`. This "early `gcc`" runs on the build platform and emits code for the build platform.
110−
111−* `g++` is bundled with `libgcc`, which includes a collection of target-machine routines for exception handling and
112−software floating point emulation. `libgcc` would be a "target→ *" dependency with triple `(foo, baz, *)`, because it consists of machine code which gets linked against the output of the compiler that we are building. It is a library, not a compiler, so it has no target of its own.
113−
114−* `libgcc` is written in C and compiled with `gcc`. The `gcc` that compiles it will be a "build→ target" dependency with triple `(foo, foo, baz)`. It gets compiled *and run* at `g++`-build-time (on platform `foo`), but must emit code for the `baz`-platform.
115−
116−* `g++` allows inline assembler code, so it depends on access to a copy of the `gas` assembler. This would be a "host→ target" dependency with triple `(foo, bar, baz)`.
85+| Dependency’s host platform | Dependency’s target platform |
86+|----------------------------|------------------------------|
87+| build | build |
88+| build | host |
89+| build | target |
90+| host | host |
91+| host | target |
92+| target | target |
11793
118−* `g++` (and `gcc`) include a library `libgccjit.so`, which wrap the compiler in a library to create a just-in-time compiler. In nixpkgs, this library is in the `libgccjit` package; if C++ required that programs have access to a JIT, `g++` would need to add a "target→ target" dependency for `libgccjit` with triple `(foo, baz, baz)`. This would ensure that the compiler ships with a copy of `libgccjit` which both executes on and generates code for the `baz`-platform.
11994
120−* If `g++` itself linked against `libgccjit.so` (for example, to allow compile-time-evaluated C++ expressions), then the `libgccjit` package used to provide this functionality would be a "host→ host" dependency of `g++`: it is code which runs on the `host` and emits code for execution on the `host`.
95+Some examples will make this table clearer. Suppose there's some package that is being built with a `(build, host, target)` platform triple of `(foo, bar, baz)`. If it has a build-time library dependency, that would be a "host → build" dependency with a triple of `(foo, foo, *)` (the target platform is irrelevant). If it needs a compiler to be built, that would be a "build → host" dependency with a triple of `(foo, foo, *)` (the target platform is irrelevant). That compiler, would be built with another compiler, also "build → host" dependency, with a triple of `(foo, foo, foo)`.
12196
12297### Cross packaging cookbook {#ssec-cross-cookbook}
12398
doc/stdenv/meta.chapter.md+4−34
@@ -175,40 +175,6 @@ The NixOS tests are available as `nixosTests` in parameters of derivations. For
175175
176176NixOS tests run in a VM, so they are slower than regular package tests. For more information see [NixOS module tests](https://nixos.org/manual/nixos/stable/#sec-nixos-tests).
177177
178−Alternatively, you can specify other derivations as tests. You can make use of
179−the optional parameter to inject the correct package without
180−relying on non-local definitions, even in the presence of `overrideAttrs`.
181−Here that's `finalAttrs.finalPackage`, but you could choose a different name if
182−`finalAttrs` already exists in your scope.
183−
184−`(mypkg.overrideAttrs f).passthru.tests` will be as expected, as long as the
185−definition of `tests` does not rely on the original `mypkg` or overrides it in
186−all places.
187−
188−```nix
189−# my-package/default.nix
190−{ stdenv, callPackage }:
191−stdenv.mkDerivation (finalAttrs: {
192− # ...
193− passthru.tests.example = callPackage ./example.nix { my-package = finalAttrs.finalPackage; };
194−})
195−```
196−
197−```nix
198−# my-package/example.nix
199−{ runCommand, lib, my-package, ... }:
200−runCommand "my-package-test" {
201− nativeBuildInputs = [ my-package ];
202− src = lib.sources.sourcesByRegex ./. [ ".*.in" ".*.expected" ];
203−} ''
204− my-package --help
205− my-package <example.in >example.actual
206− diff -U3 --color=auto example.expected example.actual
207− mkdir $out
208−''
209−```
210−
211−
212178### `timeout` {#var-meta-timeout}
213179
214180A timeout (in seconds) for building the derivation. If the derivation takes longer than this time to build, it can fail due to breaking the timeout. However, all computers do not have the same computing power, hence some builders may decide to apply a multiplicative factor to this value. When filling this value in, try to keep it approximately consistent with other values already present in `nixpkgs`.
@@ -226,6 +192,10 @@ meta.hydraPlatforms = [];
226192
227193If set to `true`, the package is marked as "broken", meaning that it won’t show up in `nix-env -qa`, and cannot be built or installed. Such packages should be removed from Nixpkgs eventually unless they are fixed.
228194
195+### `updateWalker` {#var-meta-updateWalker}
196+
197+If set to `true`, the package is tested to be updated correctly by the `update-walker.sh` script without additional settings. Such packages have `meta.version` set and their homepage (or the page specified by `meta.downloadPage`) contains a direct link to the package tarball.
198+
229199## Licenses {#sec-meta-license}
230200
231201The `meta.license` attribute should preferably contain a value from `lib.licenses` defined in [`nixpkgs/lib/licenses.nix`](https://github.com/NixOS/nixpkgs/blob/master/lib/licenses.nix), or in-place license description of the same format if the license is unlikely to be useful in another expression.
doc/stdenv/stdenv.chapter.md+5−79
@@ -125,7 +125,7 @@ The extension of `PATH` with dependencies, alluded to above, proceeds according
125125A dependency is said to be **propagated** when some of its other-transitive (non-immediate) downstream dependencies also need it as an immediate dependency.
126126[^footnote-stdenv-propagated-dependencies]
127127
128−It is important to note that dependencies are not necessarily propagated as the same sort of dependency that they were before, but rather as the corresponding sort so that the platform rules still line up. To determine the exact rules for dependency propagation, we start by assigning to each dependency a couple of ternary numbers (`-1` for `build`, `0` for `host`, and `1` for `target`) representing its [dependency type](#possible-dependency-types), which captures how its host and target platforms are each "offset" from the depending derivation’s host and target platforms. The following table summarize the different combinations that can be obtained:
128+It is important to note that dependencies are not necessarily propagated as the same sort of dependency that they were before, but rather as the corresponding sort so that the platform rules still line up. To determine the exact rules for dependency propagation, we start by assigning to each dependency a couple of ternary numbers (`-1` for `build`, `0` for `host`, and `1` for `target`), representing how respectively its host and target platforms are "offset" from the depending derivation’s platforms. The following table summarize the different combinations that can be obtained:
129129
130130| `host → target` | attribute name | offset |
131131| ------------------- | ------------------- | -------- |
@@ -317,72 +317,12 @@ The script will be usually run from the root of the Nixpkgs repository but you s
317317
318318For information about how to run the updates, execute `nix-shell maintainers/scripts/update.nix`.
319319
320−### Recursive attributes in `mkDerivation`
321−
322−If you pass a function to `mkDerivation`, it will receive as its argument the final arguments, including the overrides when reinvoked via `overrideAttrs`. For example:
323−
324−```nix
325−mkDerivation (finalAttrs: {
326− pname = "hello";
327− withFeature = true;
328− configureFlags =
329− lib.optionals finalAttrs.withFeature ["--with-feature"];
330−})
331−```
332−
333−Note that this does not use the `rec` keyword to reuse `withFeature` in `configureFlags`.
334−The `rec` keyword works at the syntax level and is unaware of overriding.
335−
336−Instead, the definition references `finalAttrs`, allowing users to change `withFeature`
337−consistently with `overrideAttrs`.
338−
339−`finalAttrs` also contains the attribute `finalPackage`, which includes the output paths, etc.
340−
341−Let's look at a more elaborate example to understand the differences between
342−various bindings:
343−
344−```nix
345−# `pkg` is the _original_ definition (for illustration purposes)
346−let pkg =
347− mkDerivation (finalAttrs: {
348− # ...
349−
350− # An example attribute
351− packages = [];
352−
353− # `passthru.tests` is a commonly defined attribute.
354− passthru.tests.simple = f finalAttrs.finalPackage;
355−
356− # An example of an attribute containing a function
357− passthru.appendPackages = packages':
358− finalAttrs.finalPackage.overrideAttrs (newSelf: super: {
359− packages = super.packages ++ packages';
360− });
361−
362− # For illustration purposes; referenced as
363− # `(pkg.overrideAttrs(x)).finalAttrs` etc in the text below.
364− passthru.finalAttrs = finalAttrs;
365− passthru.original = pkg;
366− });
367−in pkg
368−```
369−
370−Unlike the `pkg` binding in the above example, the `finalAttrs` parameter always references the final attributes. For instance `(pkg.overrideAttrs(x)).finalAttrs.finalPackage` is identical to `pkg.overrideAttrs(x)`, whereas `(pkg.overrideAttrs(x)).original` is the same as the original `pkg`.
371−
372−See also the section about [`passthru.tests`](#var-meta-tests).
373−
374320## Phases {#sec-stdenv-phases}
375321
376−`stdenv.mkDerivation` sets the Nix [derivation](https://nixos.org/manual/nix/stable/expressions/derivations.html#derivations)'s builder to a script that loads the stdenv `setup.sh` bash library and calls `genericBuild`. Most packaging functions rely on this default builder.
377−
378−This generic command invokes a number of *phases*. Package builds are split into phases to make it easier to override specific parts of the build (e.g., unpacking the sources or installing the binaries).
322+The generic builder has a number of *phases*. Package builds are split into phases to make it easier to override specific parts of the build (e.g., unpacking the sources or installing the binaries). Furthermore, it allows a nicer presentation of build logs in the Nix build farm.
379323
380324Each phase can be overridden in its entirety either by setting the environment variable `namePhase` to a string containing some shell commands to be executed, or by redefining the shell function `namePhase`. The former is convenient to override a phase from the derivation, while the latter is convenient from a build script. However, typically one only wants to *add* some commands to a phase, e.g. by defining `postInstall` or `preFixup`, as skipping some of the default actions may have unexpected consequences. The default script for each phase is defined in the file `pkgs/stdenv/generic/setup.sh`.
381325
382−When overriding a phase, for example `installPhase`, it is important to start with `runHook preInstall` and end it with `runHook postInstall`, otherwise `preInstall` and `postInstall` will not be run. Even if you don't use them directly, it is good practice to do so anyways for downstream users who would want to add a `postInstall` by overriding your derivation.
383−
384−While inside an interactive `nix-shell`, if you wanted to run all phases in the order they would be run in an actual build, you can invoke `genericBuild` yourself.
385−
386326### Controlling phases {#ssec-controlling-phases}
387327
388328There are a number of variables that control what phases are executed and in what order:
@@ -393,8 +333,7 @@ There are a number of variables that control what phases are executed and in wha
393333
394334Specifies the phases. You can change the order in which phases are executed, or add new phases, by setting this variable. If it’s not set, the default value is used, which is `$prePhases unpackPhase patchPhase $preConfigurePhases configurePhase $preBuildPhases buildPhase checkPhase $preInstallPhases installPhase fixupPhase installCheckPhase $preDistPhases distPhase $postPhases`.
395335
396−It is discouraged to set this variable, as it is easy to miss some important functionality hidden in some of the less obviously needed phases (like `fixupPhase` which patches the shebang of scripts).
397−Usually, if you just want to add a few phases, it’s more convenient to set one of the variables below (such as `preInstallPhases`).
336+Usually, if you just want to add a few phases, it’s more convenient to set one of the variables below (such as `preInstallPhases`), as you then don’t specify all the normal phases.
398337
399338##### `prePhases` {#var-stdenv-prePhases}
400339
@@ -851,7 +790,7 @@ Hook executed at the start of the distribution phase.
851790
852791Hook executed at the end of the distribution phase.
853792
854−## Shell functions and utilities {#ssec-stdenv-functions}
793+## Shell functions {#ssec-stdenv-functions}
855794
856795The standard environment provides a number of useful functions.
857796
@@ -875,19 +814,6 @@ There’s many more kinds of arguments, they are documented in `nixpkgs/pkgs/bui
875814
876815Using the `makeBinaryWrapper` implementation is usually preferred, as it creates a tiny _compiled_ wrapper executable, that can be used as a shebang interpreter. This is needed mostly on Darwin, where shebangs cannot point to scripts, [due to a limitation with the `execve`-syscall](https://stackoverflow.com/questions/67100831/macos-shebang-with-absolute-path-not-working). Compiled wrappers generated by `makeBinaryWrapper` can be inspected with `less <path-to-wrapper>` - by scrolling past the binary data you should be able to see the shell command that generated the executable and there see the environment variables that were injected into the wrapper.
877816
878−### `remove-references-to -t` \<storepath\> [ `-t` \<storepath\> ... ] \<file\> ... {#fun-remove-references-to}
879−
880−Removes the references of the specified files to the specified store files. This is done without changing the size of the file by replacing the hash by `eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee`, and should work on compiled executables. This is meant to be used to remove the dependency of the output on inputs that are known to be unnecessary at runtime. Of course, reckless usage will break the patched programs.
881−To use this, add `removeReferencesTo` to `nativeBuildInputs`.
882−
883−As `remove-references-to` is an actual executable and not a shell function, it can be used with `find`.
884−Example removing all references to the compiler in the output:
885−```nix
886−postInstall = ''
887− find "$out" -type f -exec remove-references-to -t ${stdenv.cc} '{}' +
888−'';
889−```
890−
891817### `substitute` \<infile\> \<outfile\> \<subs\> {#fun-substitute}
892818
893819Performs string substitution on the contents of \<infile\>, writing the result to \<outfile\>. The substitutions in \<subs\> are of the following form:
@@ -1097,7 +1023,7 @@ You can also specify a `runtimeDependencies` variable which lists dependencies t
10971023
10981024In certain situations you may want to run the main command (`autoPatchelf`) of the setup hook on a file or a set of directories instead of unconditionally patching all outputs. This can be done by setting the `dontAutoPatchelf` environment variable to a non-empty value.
10991025
1100−By default `autoPatchelf` will fail as soon as any ELF file requires a dependency which cannot be resolved via the given build inputs. In some situations you might prefer to just leave missing dependencies unpatched and continue to patch the rest. This can be achieved by setting the `autoPatchelfIgnoreMissingDeps` environment variable to a non-empty value. `autoPatchelfIgnoreMissingDeps` can be set to a list like `autoPatchelfIgnoreMissingDeps = [ "libcuda.so.1" "libcudart.so.1" ];` or to simply `[ "*" ]` to ignore all missing dependencies.
1026+By default `autoPatchelf` will fail as soon as any ELF file requires a dependency which cannot be resolved via the given build inputs. In some situations you might prefer to just leave missing dependencies unpatched and continue to patch the rest. This can be achieved by setting the `autoPatchelfIgnoreMissingDeps` environment variable to a non-empty value.
11011027
11021028The `autoPatchelf` command also recognizes a `--no-recurse` command line flag, which prevents it from recursing into subdirectories.
11031029
doc/using/overlays.chapter.md+2−18
@@ -77,7 +77,7 @@ In Nixpkgs, we have multiple implementations of the BLAS/LAPACK numerical linear
7777
7878 The Nixpkgs attribute is `openblas` for ILP64 (integer width = 64 bits) and `openblasCompat` for LP64 (integer width = 32 bits). `openblasCompat` is the default.
7979
80−- [LAPACK reference](http://www.netlib.org/lapack/) (also provides BLAS and CBLAS)
80+- [LAPACK reference](http://www.netlib.org/lapack/) (also provides BLAS)
8181
8282 The Nixpkgs attribute is `lapack-reference`.
8383
@@ -117,23 +117,7 @@ $ LD_LIBRARY_PATH=$(nix-build -A mkl)/lib${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH n
117117
118118Intel MKL requires an `openmp` implementation when running with multiple processors. By default, `mkl` will use Intel's `iomp` implementation if no other is specified, but this is a runtime-only dependency and binary compatible with the LLVM implementation. To use that one instead, Intel recommends users set it with `LD_PRELOAD`. Note that `mkl` is only available on `x86_64-linux` and `x86_64-darwin`. Moreover, Hydra is not building and distributing pre-compiled binaries using it.
119119
120−To override `blas` and `lapack` with its reference implementations (i.e. for development purposes), one can use the following overlay:
121−
122−```nix
123−self: super:
124−
125−{
126− blas = super.blas.override {
127− blasProvider = self.lapack-reference;
128− };
129−
130− lapack = super.lapack.override {
131− lapackProvider = self.lapack-reference;
132− };
133−}
134−```
135−
136−For BLAS/LAPACK switching to work correctly, all packages must depend on `blas` or `lapack`. This ensures that only one BLAS/LAPACK library is used at one time. There are two versions of BLAS/LAPACK currently in the wild, `LP64` (integer size = 32 bits) and `ILP64` (integer size = 64 bits). The attributes `blas` and `lapack` are `LP64` by default. Their `ILP64` version are provided through the attributes `blas-ilp64` and `lapack-ilp64`. Some software needs special flags or patches to work with `ILP64`. You can check if `ILP64` is used in Nixpkgs with `blas.isILP64` and `lapack.isILP64`. Some software does NOT work with `ILP64`, and derivations need to specify an assertion to prevent this. You can prevent `ILP64` from being used with the following:
120+For BLAS/LAPACK switching to work correctly, all packages must depend on `blas` or `lapack`. This ensures that only one BLAS/LAPACK library is used at one time. There are two versions of BLAS/LAPACK currently in the wild, `LP64` (integer size = 32 bits) and `ILP64` (integer size = 64 bits). Some software needs special flags or patches to work with `ILP64`. You can check if `ILP64` is used in Nixpkgs with `blas.isILP64` and `lapack.isILP64`. Some software does NOT work with `ILP64`, and derivations need to specify an assertion to prevent this. You can prevent `ILP64` from being used with the following:
137121
138122```nix
139123{ stdenv, blas, lapack, ... }:
doc/using/overrides.chapter.md+2−6
@@ -39,18 +39,14 @@ The function `overrideAttrs` allows overriding the attribute set passed to a `st
3939Example usage:
4040
4141```nix
42−helloWithDebug = pkgs.hello.overrideAttrs (finalAttrs: previousAttrs: {
42+helloWithDebug = pkgs.hello.overrideAttrs (oldAttrs: rec {
4343 separateDebugInfo = true;
4444});
4545```
4646
4747In the above example, the `separateDebugInfo` attribute is overridden to be true, thus building debug info for `helloWithDebug`, while all other attributes will be retained from the original `hello` package.
4848
49−The argument `previousAttrs` is conventionally used to refer to the attr set originally passed to `stdenv.mkDerivation`.
50−
51−The argument `finalAttrs` refers to the final attributes passed to `mkDerivation`, plus the `finalPackage` attribute which is equal to the result of `mkDerivation` or subsequent `overrideAttrs` calls.
52−
53−If only a one-argument function is written, the argument has the meaning of `previousAttrs`.
49+The argument `oldAttrs` is conventionally used to refer to the attr set originally passed to `stdenv.mkDerivation`.
5450
5551::: {.note}
5652Note that `separateDebugInfo` is processed only by the `stdenv.mkDerivation` function, not the generated, raw Nix derivation. Thus, using `overrideDerivation` will not work in this case, as it overrides only the attributes of the final derivation. It is for this reason that `overrideAttrs` should be preferred in (almost) all cases to `overrideDerivation`, i.e. to allow using `stdenv.mkDerivation` to process input arguments, as well as the fact that it is easier to use (you can use the same attribute names you see in your Nix code, instead of the ones generated (e.g. `buildInputs` vs `nativeBuildInputs`), and it involves less typing).
flake.nix+50−8
@@ -18,16 +18,58 @@
1818 in
1919 {
2020 lib = lib.extend (final: prev: {
21+ nixosSystem = { modules, ... } @ args:
22+ import ./nixos/lib/eval-config.nix (args // {
23+ modules =
24+ let
25+ vmConfig = (import ./nixos/lib/eval-config.nix
26+ (args // {
27+ modules = modules ++ [ ./nixos/modules/virtualisation/qemu-vm.nix ];
28+ })).config;
2129
22− nixos = import ./nixos/lib { lib = final; };
30+ vmWithBootLoaderConfig = (import ./nixos/lib/eval-config.nix
31+ (args // {
32+ modules = modules ++ [
33+ ./nixos/modules/virtualisation/qemu-vm.nix
34+ { virtualisation.useBootLoader = true; }
35+ ({ config, ... }: {
36+ virtualisation.useEFIBoot =
37+ config.boot.loader.systemd-boot.enable ||
38+ config.boot.loader.efi.canTouchEfiVariables;
39+ })
40+ ];
41+ })).config;
2342
24− nixosSystem = args:
25− import ./nixos/lib/eval-config.nix (args // {
26− modules = args.modules ++ [ {
27− system.nixos.versionSuffix =
28− ".${final.substring 0 8 (self.lastModifiedDate or self.lastModified or "19700101")}.${self.shortRev or "dirty"}";
29− system.nixos.revision = final.mkIf (self ? rev) self.rev;
30− } ];
43+ moduleDeclarationFile =
44+ let
45+ # Even though `modules` is a mandatory argument for `nixosSystem`, it doesn't
46+ # mean that the evaluator always keeps track of its position. If there
47+ # are too many levels of indirection, the position gets lost at some point.
48+ intermediatePos = builtins.unsafeGetAttrPos "modules" args;
49+ in
50+ if intermediatePos == null then null else intermediatePos.file;
51+
52+ # Add the invoking file as error message location for modules
53+ # that don't have their own locations; presumably inline modules.
54+ addModuleDeclarationFile =
55+ m: if moduleDeclarationFile == null then m else {
56+ _file = moduleDeclarationFile;
57+ imports = [ m ];
58+ };
59+
60+ in
61+ map addModuleDeclarationFile modules ++ [
62+ {
63+ system.nixos.versionSuffix =
64+ ".${final.substring 0 8 (self.lastModifiedDate or self.lastModified or "19700101")}.${self.shortRev or "dirty"}";
65+ system.nixos.revision = final.mkIf (self ? rev) self.rev;
66+
67+ system.build = {
68+ vm = vmConfig.system.build.vm;
69+ vmWithBootLoader = vmWithBootLoaderConfig.system.build.vm;
70+ };
71+ }
72+ ];
3173 });
3274 });
3375
lib/asserts.nix+12−10
@@ -2,33 +2,35 @@
22
33rec {
44
5− /* Throw if pred is false, else return pred.
5+ /* Print a trace message if pred is false.
66 Intended to be used to augment asserts with helpful error messages.
77
88 Example:
99 assertMsg false "nope"
10− stderr> error: nope
10+ => false
11+ stderr> trace: nope
1112
12− assert assertMsg ("foo" == "bar") "foo is not bar, silly"; ""
13− stderr> error: foo is not bar, silly
13+ assert (assertMsg ("foo" == "bar") "foo is not bar, silly"); ""
14+ stderr> trace: foo is not bar, silly
15+ stderr> assert failed at …
1416
1517 Type:
1618 assertMsg :: Bool -> String -> Bool
1719 */
1820 # TODO(Profpatsch): add tests that check stderr
1921 assertMsg = pred: msg:
20− pred || builtins.throw msg;
22+ if pred
23+ then true
24+ else builtins.trace msg false;
2125
2226 /* Specialized `assertMsg` for checking if val is one of the elements
2327 of a list. Useful for checking enums.
2428
2529 Example:
26− let sslLibrary = "libressl";
30+ let sslLibrary = "libressl"
2731 in assertOneOf "sslLibrary" sslLibrary [ "openssl" "bearssl" ]
28− stderr> error: sslLibrary must be one of [
29− stderr> "openssl"
30− stderr> "bearssl"
31− stderr> ], but is: "libressl"
32+ => false
33+ stderr> trace: sslLibrary must be one of "openssl", "bearssl", but is: "libressl"
3234
3335 Type:
3436 assertOneOf :: String -> ComparableVal -> List ComparableVal -> Bool
lib/attrsets.nix+21−130
@@ -3,9 +3,9 @@
33
44let
55 inherit (builtins) head tail length;
6− inherit (lib.trivial) id;
7− inherit (lib.strings) concatStringsSep concatMapStringsSep escapeNixIdentifier sanitizeDerivationName;
8− inherit (lib.lists) foldr foldl' concatMap concatLists elemAt all partition groupBy take foldl;
6+ inherit (lib.trivial) and;
7+ inherit (lib.strings) concatStringsSep sanitizeDerivationName;
8+ inherit (lib.lists) foldr foldl' concatMap concatLists elemAt;
99in
1010
1111rec {
@@ -73,107 +73,10 @@ rec {
7373 getAttrFromPath ["z" "z"] x
7474 => error: cannot find attribute `z.z'
7575 */
76− getAttrFromPath = attrPath:
76+ getAttrFromPath = attrPath: set:
7777 let errorMsg = "cannot find attribute `" + concatStringsSep "." attrPath + "'";
78− in attrByPath attrPath (abort errorMsg);
79−
80−
81− /* Update or set specific paths of an attribute set.
82−
83− Takes a list of updates to apply and an attribute set to apply them to,
84− and returns the attribute set with the updates applied. Updates are
85− represented as { path = ...; update = ...; } values, where `path` is a
86− list of strings representing the attribute path that should be updated,
87− and `update` is a function that takes the old value at that attribute path
88− as an argument and returns the new
89− value it should be.
90−
91− Properties:
92− - Updates to deeper attribute paths are applied before updates to more
93− shallow attribute paths
94− - Multiple updates to the same attribute path are applied in the order
95− they appear in the update list
96− - If any but the last `path` element leads into a value that is not an
97− attribute set, an error is thrown
98− - If there is an update for an attribute path that doesn't exist,
99− accessing the argument in the update function causes an error, but
100− intermediate attribute sets are implicitly created as needed
78+ in attrByPath attrPath (abort errorMsg) set;
10179
102− Example:
103− updateManyAttrsByPath [
104− {
105− path = [ "a" "b" ];
106− update = old: { d = old.c; };
107− }
108− {
109− path = [ "a" "b" "c" ];
110− update = old: old + 1;
111− }
112− {
113− path = [ "x" "y" ];
114− update = old: "xy";
115− }
116− ] { a.b.c = 0; }
117− => { a = { b = { d = 1; }; }; x = { y = "xy"; }; }
118− */
119− updateManyAttrsByPath = let
120− # When recursing into attributes, instead of updating the `path` of each
121− # update using `tail`, which needs to allocate an entirely new list,
122− # we just pass a prefix length to use and make sure to only look at the
123− # path without the prefix length, so that we can reuse the original list
124− # entries.
125− go = prefixLength: hasValue: value: updates:
126− let
127− # Splits updates into ones on this level (split.right)
128− # And ones on levels further down (split.wrong)
129− split = partition (el: length el.path == prefixLength) updates;
130−
131− # Groups updates on further down levels into the attributes they modify
132− nested = groupBy (el: elemAt el.path prefixLength) split.wrong;
133−
134− # Applies only nested modification to the input value
135− withNestedMods =
136− # Return the value directly if we don't have any nested modifications
137− if split.wrong == [] then
138− if hasValue then value
139− else
140− # Throw an error if there is no value. This `head` call here is
141− # safe, but only in this branch since `go` could only be called
142− # with `hasValue == false` for nested updates, in which case
143− # it's also always called with at least one update
144− let updatePath = (head split.right).path; in
145− throw
146− ( "updateManyAttrsByPath: Path '${showAttrPath updatePath}' does "
147− + "not exist in the given value, but the first update to this "
148− + "path tries to access the existing value.")
149− else
150− # If there are nested modifications, try to apply them to the value
151− if ! hasValue then
152− # But if we don't have a value, just use an empty attribute set
153− # as the value, but simplify the code a bit
154− mapAttrs (name: go (prefixLength + 1) false null) nested
155− else if isAttrs value then
156− # If we do have a value and it's an attribute set, override it
157− # with the nested modifications
158− value //
159− mapAttrs (name: go (prefixLength + 1) (value ? ${name}) value.${name}) nested
160− else
161− # However if it's not an attribute set, we can't apply the nested
162− # modifications, throw an error
163− let updatePath = (head split.wrong).path; in
164− throw
165− ( "updateManyAttrsByPath: Path '${showAttrPath updatePath}' needs to "
166− + "be updated, but path '${showAttrPath (take prefixLength updatePath)}' "
167− + "of the given value is not an attribute set, so we can't "
168− + "update an attribute inside of it.");
169−
170− # We get the final result by applying all the updates on this level
171− # after having applied all the nested updates
172− # We use foldl instead of foldl' so that in case of multiple updates,
173− # intermediate values aren't evaluated if not needed
174− in foldl (acc: el: el.update acc) withNestedMods split.right;
175−
176− in updates: value: go 0 true value updates;
17780
17881 /* Return the specified attributes from a set.
17982
@@ -251,12 +154,12 @@ rec {
251154 foldAttrs (n: a: [n] ++ a) [] [{ a = 2; } { a = 3; }]
252155 => { a = [ 2 3 ]; }
253156 */
254− foldAttrs = op: nul:
157+ foldAttrs = op: nul: list_of_attrs:
255158 foldr (n: a:
256159 foldr (name: o:
257160 o // { ${name} = op n.${name} (a.${name} or nul); }
258161 ) a (attrNames n)
259− ) {};
162+ ) {} list_of_attrs;
260163
261164
262165 /* Recursively collect sets that verify a given predicate named `pred'
@@ -373,7 +276,7 @@ rec {
373276
374277
375278 /* Like `mapAttrsRecursive', but it takes an additional predicate
376− function that tells it whether to recurse into an attribute
279+ function that tells it whether to recursive into an attribute
377280 set. If it returns false, `mapAttrsRecursiveCond' does not
378281 recurse, but does apply the map function. If it returns true, it
379282 does recurse, and does not apply the map function.
@@ -392,14 +295,14 @@ rec {
392295 */
393296 mapAttrsRecursiveCond = cond: f: set:
394297 let
395− recurse = path:
298+ recurse = path: set:
396299 let
397300 g =
398301 name: value:
399302 if isAttrs value && cond value
400303 then recurse (path ++ [name]) value
401304 else f (path ++ [name]) value;
402− in mapAttrs g;
305+ in mapAttrs g set;
403306 in recurse [] set;
404307
405308
@@ -424,7 +327,7 @@ rec {
424327 isDerivation "foobar"
425328 => false
426329 */
427− isDerivation = x: x.type or null == "derivation";
330+ isDerivation = x: isAttrs x && x ? type && x.type == "derivation";
428331
429332 /* Converts a store path to a fake derivation. */
430333 toDerivation = path:
@@ -466,7 +369,7 @@ rec {
466369 value = f name (catAttrs name sets);
467370 }) names);
468371
469− /* Implementation note: Common names appear multiple times in the list of
372+ /* Implementation note: Common names appear multiple times in the list of
470373 names, hopefully this does not affect the system because the maximal
471374 laziness avoid computing twice the same expression and listToAttrs does
472375 not care about duplicated attribute names.
@@ -475,8 +378,7 @@ rec {
475378 zipAttrsWith (name: values: values) [{a = "x";} {a = "y"; b = "z";}]
476379 => { a = ["x" "y"]; b = ["z"] }
477380 */
478− zipAttrsWith =
479− builtins.zipAttrsWith or (f: sets: zipAttrsWithNames (concatMap attrNames sets) f sets);
381+ zipAttrsWith = f: sets: zipAttrsWithNames (concatMap attrNames sets) f sets;
480382 /* Like `zipAttrsWith' with `(name: values: values)' as the function.
481383
482384 Example:
@@ -517,8 +419,8 @@ rec {
517419 let f = attrPath:
518420 zipAttrsWith (n: values:
519421 let here = attrPath ++ [n]; in
520− if length values == 1
521− || pred here (elemAt values 1) (head values) then
422+ if tail values == []
423+ || pred here (head (tail values)) (head values) then
522424 head values
523425 else
524426 f here values
@@ -544,7 +446,10 @@ rec {
544446 }
545447
546448 */
547− recursiveUpdate = recursiveUpdateUntil (path: lhs: rhs: !(isAttrs lhs && isAttrs rhs));
449+ recursiveUpdate = lhs: rhs:
450+ recursiveUpdateUntil (path: lhs: rhs:
451+ !(isAttrs lhs && isAttrs rhs)
452+ ) lhs rhs;
548453
549454 /* Returns true if the pattern is contained in the set. False otherwise.
550455
@@ -553,8 +458,8 @@ rec {
553458 => true
554459 */
555460 matchAttrs = pattern: attrs: assert isAttrs pattern;
556− all id (attrValues (zipAttrsWithNames (attrNames pattern) (n: values:
557− let pat = head values; val = elemAt values 1; in
461+ foldr and true (attrValues (zipAttrsWithNames (attrNames pattern) (n: values:
462+ let pat = head values; val = head (tail values); in
558463 if length values == 1 then false
559464 else if isAttrs pat then isAttrs val && matchAttrs pat val
560465 else pat == val
@@ -574,20 +479,6 @@ rec {
574479 overrideExisting = old: new:
575480 mapAttrs (name: value: new.${name} or value) old;
576481
577− /* Turns a list of strings into a human-readable description of those
578− strings represented as an attribute path. The result of this function is
579− not intended to be machine-readable.
580−
581− Example:
582− showAttrPath [ "foo" "10" "bar" ]
583− => "foo.\"10\".bar"
584− showAttrPath []
585− => "<root attribute path>"
586− */
587− showAttrPath = path:
588− if path == [] then "<root attribute path>"
589− else concatMapStringsSep "." escapeNixIdentifier path;
590−
591482 /* Get a package output.
592483 If no output is found, fallback to `.out` and then to the default.
593484
lib/customisation.nix+2−49
@@ -117,55 +117,8 @@ rec {
117117 callPackageWith = autoArgs: fn: args:
118118 let
119119 f = if lib.isFunction fn then fn else import fn;
120− fargs = lib.functionArgs f;
121−
122− # All arguments that will be passed to the function
123− # This includes automatic ones and ones passed explicitly
124− allArgs = builtins.intersectAttrs fargs autoArgs // args;
125−
126− # A list of argument names that the function requires, but
127− # wouldn't be passed to it
128− missingArgs = lib.attrNames
129− # Filter out arguments that have a default value
130− (lib.filterAttrs (name: value: ! value)
131− # Filter out arguments that would be passed
132− (removeAttrs fargs (lib.attrNames allArgs)));
133−
134− # Get a list of suggested argument names for a given missing one
135− getSuggestions = arg: lib.pipe (autoArgs // args) [
136− lib.attrNames
137− # Only use ones that are at most 2 edits away. While mork would work,
138− # levenshteinAtMost is only fast for 2 or less.
139− (lib.filter (lib.strings.levenshteinAtMost 2 arg))
140− # Put strings with shorter distance first
141− (lib.sort (x: y: lib.strings.levenshtein x arg < lib.strings.levenshtein y arg))
142− # Only take the first couple results
143− (lib.take 3)
144− # Quote all entries
145− (map (x: "\"" + x + "\""))
146− ];
147−
148− prettySuggestions = suggestions:
149− if suggestions == [] then ""
150− else if lib.length suggestions == 1 then ", did you mean ${lib.elemAt suggestions 0}?"
151− else ", did you mean ${lib.concatStringsSep ", " (lib.init suggestions)} or ${lib.last suggestions}?";
152−
153− errorForArg = arg:
154− let
155− loc = builtins.unsafeGetAttrPos arg fargs;
156− # loc' can be removed once lib/minver.nix is >2.3.4, since that includes
157− # https://github.com/NixOS/nix/pull/3468 which makes loc be non-null
158− loc' = if loc != null then loc.file + ":" + toString loc.line
159− else if ! lib.isFunction fn then
160− toString fn + lib.optionalString (lib.sources.pathIsDirectory fn) "/default.nix"
161− else "<unknown location>";
162− in "Function called without required argument \"${arg}\" at "
163− + "${loc'}${prettySuggestions (getSuggestions arg)}";
164−
165− # Only show the error for the first missing argument
166− error = errorForArg (lib.head missingArgs);
167−
168− in if missingArgs == [] then makeOverridable f allArgs else throw error;
120+ auto = builtins.intersectAttrs (lib.functionArgs f) autoArgs;
121+ in makeOverridable f (auto // args);
169122
170123
171124 /* Like callPackage, but for a function that returns an attribute
lib/default.nix+13−22
@@ -11,9 +11,6 @@ let
1111 callLibs = file: import file { lib = self; };
1212 in {
1313
14− # interacting with flakes
15− flakes = callLibs ./flakes.nix;
16−
1714 # often used, or depending on very little
1815 trivial = callLibs ./trivial.nix;
1916 fixedPoints = callLibs ./fixed-points.nix;
@@ -62,7 +59,6 @@ let
6259 # linux kernel configuration
6360 kernel = callLibs ./kernel.nix;
6461
65− inherit (self.flakes) callLocklessFlake;
6662 inherit (builtins) add addErrorContext attrNames concatLists
6763 deepSeq elem elemAt filter genericClosure genList getAttr
6864 hasAttr head isAttrs isBool isInt isList isString length
@@ -70,10 +66,9 @@ let
7066 stringLength sub substring tail trace;
7167 inherit (self.trivial) id const pipe concat or and bitAnd bitOr bitXor
7268 bitNot boolToString mergeAttrs flip mapNullable inNixShell isFloat min max
73− importJSON importTOML warn warnIf warnIfNot throwIf throwIfNot checkListOfEnum
74− info showWarnings nixpkgsVersion version isInOldestRelease
75− mod compare splitByAndCompare
76− functionArgs setFunctionArgs isFunction toFunction
69+ importJSON importTOML warn warnIf throwIfNot
70+ info showWarnings nixpkgsVersion version
71+ mod compare splitByAndCompare functionArgs setFunctionArgs isFunction
7772 toHexString toBaseDigits;
7873 inherit (self.fixedPoints) fix fix' converge extends composeExtensions
7974 composeManyExtensions makeExtensible makeExtensibleWithCustomName;
@@ -83,10 +78,9 @@ let
8378 mapAttrs' mapAttrsToList mapAttrsRecursive mapAttrsRecursiveCond
8479 genAttrs isDerivation toDerivation optionalAttrs
8580 zipAttrsWithNames zipAttrsWith zipAttrs recursiveUpdateUntil
86− recursiveUpdate matchAttrs overrideExisting showAttrPath getOutput getBin
81+ recursiveUpdate matchAttrs overrideExisting getOutput getBin
8782 getLib getDev getMan chooseDevOutputs zipWithNames zip
88− recurseIntoAttrs dontRecurseIntoAttrs cartesianProductOfSets
89− updateManyAttrsByPath;
83+ recurseIntoAttrs dontRecurseIntoAttrs cartesianProductOfSets;
9084 inherit (self.lists) singleton forEach foldr fold foldl foldl' imap0 imap1
9185 concatMap flatten remove findSingle findFirst any all count
9286 optional optionals toList range partition zipListsWith zipLists
@@ -98,8 +92,7 @@ let
9892 concatImapStringsSep makeSearchPath makeSearchPathOutput
9993 makeLibraryPath makeBinPath optionalString
10094 hasInfix hasPrefix hasSuffix stringToCharacters stringAsChars escape
101− escapeShellArg escapeShellArgs isValidPosixName toShellVar toShellVars
102− escapeRegex escapeXML replaceChars lowerChars
95+ escapeShellArg escapeShellArgs escapeRegex escapeXML replaceChars lowerChars
10396 upperChars toLower toUpper addContextFrom splitString
10497 removePrefix removeSuffix versionOlder versionAtLeast
10598 getName getVersion
@@ -113,28 +106,26 @@ let
113106 makeScope makeScopeWithSplicing;
114107 inherit (self.meta) addMetaAttrs dontDistribute setName updateName
115108 appendToName mapDerivationAttrset setPrio lowPrio lowPrioSet hiPrio
116− hiPrioSet getLicenseFromSpdxId getExe;
109+ hiPrioSet getLicenseFromSpdxId;
117110 inherit (self.sources) pathType pathIsDirectory cleanSourceFilter
118111 cleanSource sourceByRegex sourceFilesBySuffices
119112 commitIdFromGitRepo cleanSourceWith pathHasContext
120113 canCleanSource pathIsRegularFile pathIsGitRepo;
121− inherit (self.modules) evalModules setDefaultModuleLocation
122− unifyModuleSyntax applyModuleArgsIfFunction mergeModules
114+ inherit (self.modules) evalModules unifyModuleSyntax
115+ applyIfFunction mergeModules
123116 mergeModules' mergeOptionDecls evalOptionValue mergeDefinitions
124117 pushDownProperties dischargeProperties filterOverrides
125118 sortProperties fixupOptionType mkIf mkAssert mkMerge mkOverride
126119 mkOptionDefault mkDefault mkImageMediaOverride mkForce mkVMOverride
127120 mkFixStrictness mkOrder mkBefore mkAfter mkAliasDefinitions
128121 mkAliasAndWrapDefinitions fixMergeModules mkRemovedOptionModule
129− mkRenamedOptionModule mkRenamedOptionModuleWith
130− mkMergedOptionModule mkChangedOptionModule
122+ mkRenamedOptionModule mkMergedOptionModule mkChangedOptionModule
131123 mkAliasOptionModule mkDerivedConfig doRename;
132124 inherit (self.options) isOption mkEnableOption mkSinkUndeclaredOptions
133− mergeDefaultOption mergeOneOption mergeEqualOption mergeUniqueOption
134− getValues getFiles
135− optionAttrSetToDocList optionAttrSetToDocList'
125+ mergeDefaultOption mergeOneOption mergeEqualOption getValues
126+ getFiles optionAttrSetToDocList optionAttrSetToDocList'
136127 scrubOptionValue literalExpression literalExample literalDocBook
137− showOption showFiles unknownModule mkOption mkPackageOption;
128+ showOption showFiles unknownModule mkOption;
138129 inherit (self.types) isType setType defaultTypeMerge defaultFunctor
139130 isOptionType mkOptionType;
140131 inherit (self.asserts)
lib/flakes.nixdeleted−22
@@ -1,22 +0,0 @@
1−{ lib }:
2−
3−rec {
4−
5− /* imports a flake.nix without acknowledging its lock file, useful for
6− referencing subflakes from a parent flake. The second argument allows
7− specifying the inputs of this flake.
8−
9− Example:
10− callLocklessFlake {
11− path = ./directoryContainingFlake;
12− inputs = { inherit nixpkgs; };
13− }
14− */
15− callLocklessFlake = { path, inputs ? { } }:
16− let
17− self = { outPath = path; } //
18− ((import (path + "/flake.nix")).outputs (inputs // { self = self; }));
19− in
20− self;
21−
22−}
lib/generators.nix+2−47
@@ -10,7 +10,7 @@
1010 * are mostly generators themselves, called with
1111 * their respective default values; they can be reused.
1212 *
13− * Tests can be found in ./tests/misc.nix
13+ * Tests can be found in ./tests.nix
1414 * Documentation in the manual, #sec-generators
1515 */
1616{ lib }:
@@ -108,7 +108,7 @@ rec {
108108 * The mk* configuration attributes can generically change
109109 * the way sections and key-value strings are generated.
110110 *
111− * For more examples see the test cases in ./tests/misc.nix.
111+ * For more examples see the test cases in ./tests.nix.
112112 */
113113 toINI = {
114114 # apply transformations (e.g. escapes) to section names
@@ -130,51 +130,6 @@ rec {
130130 # map input to ini sections
131131 mapAttrsToStringsSep "\n" mkSection attrsOfAttrs;
132132
133− /* Generate an INI-style config file from an attrset
134− * specifying the global section (no header), and an
135− * attrset of sections to an attrset of key-value pairs.
136− *
137− * generators.toINIWithGlobalSection {} {
138− * globalSection = {
139− * someGlobalKey = "hi";
140− * };
141− * sections = {
142− * foo = { hi = "${pkgs.hello}"; ciao = "bar"; };
143− * baz = { "also, integers" = 42; };
144− * }
145− *
146− *> someGlobalKey=hi
147− *>
148− *> [baz]
149− *> also, integers=42
150− *>
151− *> [foo]
152− *> ciao=bar
153− *> hi=/nix/store/y93qql1p5ggfnaqjjqhxcw0vqw95rlz0-hello-2.10
154− *
155− * The mk* configuration attributes can generically change
156− * the way sections and key-value strings are generated.
157− *
158− * For more examples see the test cases in ./tests/misc.nix.
159− *
160− * If you don’t need a global section, you can also use
161− * `generators.toINI` directly, which only takes
162− * the part in `sections`.
163− */
164− toINIWithGlobalSection = {
165− # apply transformations (e.g. escapes) to section names
166− mkSectionName ? (name: libStr.escape [ "[" "]" ] name),
167− # format a setting line from key and value
168− mkKeyValue ? mkKeyValueDefault {} "=",
169− # allow lists as values for duplicate keys
170− listsAsDuplicateKeys ? false
171− }: { globalSection, sections }:
172− ( if globalSection == {}
173− then ""
174− else (toKeyValue { inherit mkKeyValue listsAsDuplicateKeys; } globalSection)
175− + "\n")
176− + (toINI { inherit mkSectionName mkKeyValue listsAsDuplicateKeys; } sections);
177−
178133 /* Generate a git-config file from an attrset.
179134 *
180135 * It has two major differences from the regular INI format:
lib/licenses.nix−30
@@ -67,11 +67,6 @@ in mkLicense lset) ({
6767 free = false;
6868 };
6969
70− aom = {
71− fullName = "Alliance for Open Media Patent License 1.0";
72− url = "https://aomedia.org/license/patent-license/";
73− };
74−
7570 apsl20 = {
7671 spdxId = "APSL-2.0";
7772 fullName = "Apple Public Source License 2.0";
@@ -389,11 +384,6 @@ in mkLicense lset) ({
389384 free = false;
390385 };
391386
392− generaluser = {
393− fullName = "GeneralUser GS License v2.0";
394− url = "http://www.schristiancollins.com/generaluser.php"; # license included in sources
395− };
396−
397387 gpl1Only = {
398388 spdxId = "GPL-1.0-only";
399389 fullName = "GNU General Public License v1.0 only";
@@ -470,11 +460,6 @@ in mkLicense lset) ({
470460 spdxId = "imagemagick";
471461 };
472462
473− imlib2 = {
474− spdxId = "Imlib2";
475− fullName = "Imlib2 License";
476− };
477−
478463 inria-compcert = {
479464 fullName = "INRIA Non-Commercial License Agreement for the CompCert verified compiler";
480465 url = "https://compcert.org/doc/LICENSE.txt";
@@ -601,21 +586,6 @@ in mkLicense lset) ({
601586 spdxId = "MIT";
602587 fullName = "MIT License";
603588 };
604− # https://spdx.org/licenses/MIT-feh.html
605− mit-feh = {
606− spdxId = "MIT-feh";
607− fullName = "feh License";
608− };
609−
610− mitAdvertising = {
611− spdxId = "MIT-advertising";
612− fullName = "Enlightenment License (e16)";
613− };
614−
615− mit0 = {
616− spdxId = "MIT-0";
617− fullName = "MIT No Attribution";
618− };
619589
620590 mpl10 = {
621591 spdxId = "MPL-1.0";
lib/lists.nix+8−9
@@ -4,7 +4,6 @@
44let
55 inherit (lib.strings) toInt;
66 inherit (lib.trivial) compare min;
7− inherit (lib.attrsets) mapAttrs;
87in
98rec {
109
@@ -341,15 +340,15 @@ rec {
341340 groupBy' builtins.add 0 (x: boolToString (x > 2)) [ 5 1 2 3 4 ]
342341 => { true = 12; false = 3; }
343342 */
344− groupBy' = op: nul: pred: lst: mapAttrs (name: foldl op nul) (groupBy pred lst);
343+ groupBy' = op: nul: pred: lst:
344+ foldl' (r: e:
345+ let
346+ key = pred e;
347+ in
348+ r // { ${key} = op (r.${key} or nul) e; }
349+ ) {} lst;
345350
346− groupBy = builtins.groupBy or (
347− pred: foldl' (r: e:
348− let
349− key = pred e;
350− in
351− r // { ${key} = (r.${key} or []) ++ [e]; }
352− ) {});
351+ groupBy = groupBy' (sum: e: sum ++ [e]) [];
353352
354353 /* Merges two lists of the same size together. If the sizes aren't the same
355354 the merging stops at the shortest. How both lists are merged is defined
lib/meta.nix+1−15
@@ -78,7 +78,7 @@ rec {
7878
7979 2. (modern) a pattern for the platform `parsed` field.
8080
81− We can inject these into a pattern for the whole of a structured platform,
81+ We can inject these into a patten for the whole of a structured platform,
8282 and then match that.
8383 */
8484 platformMatch = platform: elem: let
@@ -126,18 +126,4 @@ rec {
126126 lib.warn "getLicenseFromSpdxId: No license matches the given SPDX ID: ${licstr}"
127127 { shortName = licstr; }
128128 );
129−
130− /* Get the path to the main program of a derivation with either
131− meta.mainProgram or pname or name
132−
133− Type: getExe :: derivation -> string
134−
135− Example:
136− getExe pkgs.hello
137− => "/nix/store/g124820p9hlv4lj8qplzxw1c44dxaw1k-hello-2.12/bin/hello"
138− getExe pkgs.mustache-go
139− => "/nix/store/am9ml4f4ywvivxnkiaqwr0hyxka1xjsf-mustache-go-1.3.0/bin/mustache"
140− */
141− getExe = x:
142− "${lib.getBin x}/bin/${x.meta.mainProgram or (lib.getName x)}";
143129}
lib/modules.nix+59−200
@@ -9,7 +9,7 @@ let
99 catAttrs
1010 concatLists
1111 concatMap
12− concatStringsSep
12+ count
1313 elem
1414 filter
1515 findFirst
@@ -37,7 +37,6 @@ let
3737 toList
3838 types
3939 warnIf
40− zipAttrsWith
4140 ;
4241 inherit (lib.options)
4342 isOption
@@ -46,22 +45,7 @@ let
4645 showFiles
4746 showOption
4847 unknownModule
49− literalExpression
5048 ;
51−
52− showDeclPrefix = loc: decl: prefix:
53− " - option(s) with prefix `${showOption (loc ++ [prefix])}' in module `${decl._file}'";
54− showRawDecls = loc: decls:
55− concatStringsSep "\n"
56− (sort (a: b: a < b)
57− (concatMap
58− (decl: map
59− (showDeclPrefix loc decl)
60− (attrNames decl.options)
61− )
62− decls
63− ));
64−
6549in
6650
6751rec {
@@ -113,10 +97,6 @@ rec {
11397 args ? {}
11498 , # This would be remove in the future, Prefer _module.check option instead.
11599 check ? true
116− # Internal variable to avoid `_key` collisions regardless
117− # of `extendModules`. Used in `submoduleWith`.
118− # Test case: lib/tests/modules, "168767"
119− , extensionOffset ? 0
120100 }:
121101 let
122102 withWarnings = x:
@@ -145,7 +125,7 @@ rec {
145125 # this module is used, to avoid conflicts and allow chaining of
146126 # extendModules.
147127 internalModule = rec {
148− _file = "lib/modules.nix";
128+ _file = ./modules.nix;
149129
150130 key = _file;
151131
@@ -157,95 +137,9 @@ rec {
157137 # support for that, in turn it's lazy in its values. This means e.g.
158138 # a `_module.args.pkgs = import (fetchTarball { ... }) {}` won't
159139 # start a download when `pkgs` wasn't evaluated.
160− type = types.lazyAttrsOf types.raw;
161− # Only render documentation once at the root of the option tree,
162− # not for all individual submodules.
163− # Allow merging option decls to make this internal regardless.
164− ${if prefix == []
165− then null # unset => visible
166− else "internal"} = true;
167− # TODO: Change the type of this option to a submodule with a
168− # freeformType, so that individual arguments can be documented
169− # separately
170− description = ''
171− Additional arguments passed to each module in addition to ones
172− like <literal>lib</literal>, <literal>config</literal>,
173− and <literal>pkgs</literal>, <literal>modulesPath</literal>.
174− </para>
175− <para>
176− This option is also available to all submodules. Submodules do not
177− inherit args from their parent module, nor do they provide args to
178− their parent module or sibling submodules. The sole exception to
179− this is the argument <literal>name</literal> which is provided by
180− parent modules to a submodule and contains the attribute name
181− the submodule is bound to, or a unique generated name if it is
182− not bound to an attribute.
183− </para>
184− <para>
185− Some arguments are already passed by default, of which the
186− following <emphasis>cannot</emphasis> be changed with this option:
187− <itemizedlist>
188− <listitem>
189− <para>
190− <varname>lib</varname>: The nixpkgs library.
191− </para>
192− </listitem>
193− <listitem>
194− <para>
195− <varname>config</varname>: The results of all options after merging the values from all modules together.
196− </para>
197− </listitem>
198− <listitem>
199− <para>
200− <varname>options</varname>: The options declared in all modules.
201− </para>
202− </listitem>
203− <listitem>
204− <para>
205− <varname>specialArgs</varname>: The <literal>specialArgs</literal> argument passed to <literal>evalModules</literal>.
206− </para>
207− </listitem>
208− <listitem>
209− <para>
210− All attributes of <varname>specialArgs</varname>
211− </para>
212− <para>
213− Whereas option values can generally depend on other option values
214− thanks to laziness, this does not apply to <literal>imports</literal>, which
215− must be computed statically before anything else.
216− </para>
217− <para>
218− For this reason, callers of the module system can provide <literal>specialArgs</literal>
219− which are available during import resolution.
220− </para>
221− <para>
222− For NixOS, <literal>specialArgs</literal> includes
223− <varname>modulesPath</varname>, which allows you to import
224− extra modules from the nixpkgs package tree without having to
225− somehow make the module aware of the location of the
226− <literal>nixpkgs</literal> or NixOS directories.
227− <programlisting>
228− { modulesPath, ... }: {
229− imports = [
230− (modulesPath + "/profiles/minimal.nix")
231− ];
232− }
233− </programlisting>
234− </para>
235− </listitem>
236− </itemizedlist>
237− </para>
238− <para>
239− For NixOS, the default value for this option includes at least this argument:
240− <itemizedlist>
241− <listitem>
242− <para>
243− <varname>pkgs</varname>: The nixpkgs package set according to
244− the <option>nixpkgs.pkgs</option> option.
245− </para>
246− </listitem>
247− </itemizedlist>
248− '';
140+ type = types.lazyAttrsOf types.unspecified;
141+ internal = true;
142+ description = "Arguments passed to each module.";
249143 };
250144
251145 _module.check = mkOption {
@@ -256,7 +150,8 @@ rec {
256150 };
257151
258152 _module.freeformType = mkOption {
259− type = types.nullOr types.optionType;
153+ # Disallow merging for now, but could be implemented nicely with a `types.optionType`
154+ type = types.nullOr (types.uniq types.attrs);
260155 internal = true;
261156 default = null;
262157 description = ''
@@ -345,17 +240,15 @@ rec {
345240 modules ? [],
346241 specialArgs ? {},
347242 prefix ? [],
348− extensionOffset ? length modules,
349243 }:
350244 evalModules (evalModulesArgs // {
351245 modules = regularModules ++ modules;
352246 specialArgs = evalModulesArgs.specialArgs or {} // specialArgs;
353247 prefix = extendArgs.prefix or evalModulesArgs.prefix;
354− inherit extensionOffset;
355248 });
356249
357250 type = lib.types.submoduleWith {
358− inherit modules specialArgs extensionOffset;
251+ inherit modules specialArgs;
359252 };
360253
361254 result = withWarnings {
@@ -375,11 +268,11 @@ rec {
375268 # Like unifyModuleSyntax, but also imports paths and calls functions if necessary
376269 loadModule = args: fallbackFile: fallbackKey: m:
377270 if isFunction m || isAttrs m then
378− unifyModuleSyntax fallbackFile fallbackKey (applyModuleArgsIfFunction fallbackKey m args)
271+ unifyModuleSyntax fallbackFile fallbackKey (applyIfFunction fallbackKey m args)
379272 else if isList m then
380273 let defs = [{ file = fallbackFile; value = m; }]; in
381274 throw "Module imports can't be nested lists. Perhaps you meant to remove one level of lists? Definitions: ${showDefs defs}"
382− else unifyModuleSyntax (toString m) (toString m) (applyModuleArgsIfFunction (toString m) (import m) args);
275+ else unifyModuleSyntax (toString m) (toString m) (applyIfFunction (toString m) (import m) args);
383276
384277 /*
385278 Collects all modules recursively into the form
@@ -440,10 +333,6 @@ rec {
440333 in modulesPath: initialModules: args:
441334 filterModules modulesPath (collectStructuredModules unknownModule "" initialModules args);
442335
443− /* Wrap a module with a default location for reporting errors. */
444− setDefaultModuleLocation = file: m:
445− { _file = file; imports = [ m ]; };
446−
447336 /* Massage a module into canonical form, that is, a set consisting
448337 of ‘options’, ‘config’ and ‘imports’ attributes. */
449338 unifyModuleSyntax = file: key: m:
@@ -476,7 +365,7 @@ rec {
476365 config = addFreeformType (addMeta (removeAttrs m ["_file" "key" "disabledModules" "require" "imports" "freeformType"]));
477366 };
478367
479− applyModuleArgsIfFunction = key: f: args@{ config, options, lib, ... }: if isFunction f then
368+ applyIfFunction = key: f: args@{ config, options, lib, ... }: if isFunction f then
480369 let
481370 # Module arguments are resolved in a strict manner when attribute set
482371 # deconstruction is used. As the arguments are now defined with the
@@ -553,11 +442,10 @@ rec {
553442 }
554443 */
555444 byName = attr: f: modules:
556− zipAttrsWith (n: concatLists)
557− (map (module: let subtree = module.${attr}; in
558− if !(builtins.isAttrs subtree) then
445+ foldl' (acc: module:
446+ if !(builtins.isAttrs module.${attr}) then
559447 throw ''
560− You're trying to declare a value of type `${builtins.typeOf subtree}'
448+ You're trying to declare a value of type `${builtins.typeOf module.${attr}}'
561449 rather than an attribute-set for the option
562450 `${builtins.concatStringsSep "." prefix}'!
563451
@@ -566,8 +454,11 @@ rec {
566454 this option by e.g. referring to `man 5 configuration.nix'!
567455 ''
568456 else
569− mapAttrs (n: f module) subtree
570− ) modules);
457+ acc // (mapAttrs (n: v:
458+ (acc.${n} or []) ++ f module v
459+ ) module.${attr}
460+ )
461+ ) {} modules;
571462 # an attrset 'name' => list of submodules that declare ‘name’.
572463 declsByName = byName "options" (module: option:
573464 [{ inherit (module) _file; options = option; }]
@@ -581,61 +472,26 @@ rec {
581472 [{ inherit (module) file; inherit value; }]
582473 ) configs;
583474
584− # Convert an option tree decl to a submodule option decl
585− optionTreeToOption = decl:
586− if isOption decl.options
587− then decl
588− else decl // {
589− options = mkOption {
590− type = types.submoduleWith {
591− modules = [ { options = decl.options; } ];
592− # `null` is not intended for use by modules. It is an internal
593− # value that means "whatever the user has declared elsewhere".
594− # This might become obsolete with https://github.com/NixOS/nixpkgs/issues/162398
595− shorthandOnlyDefinesConfig = null;
596− };
597− };
598− };
599−
600475 resultsByName = mapAttrs (name: decls:
601476 # We're descending into attribute ‘name’.
602477 let
603478 loc = prefix ++ [name];
604479 defns = defnsByName.${name} or [];
605480 defns' = defnsByName'.${name} or [];
606− optionDecls = filter (m: isOption m.options) decls;
481+ nrOptions = count (m: isOption m.options) decls;
607482 in
608− if length optionDecls == length decls then
483+ if nrOptions == length decls then
609484 let opt = fixupOptionType loc (mergeOptionDecls loc decls);
610485 in {
611486 matchedOptions = evalOptionValue loc opt defns';
612487 unmatchedDefns = [];
613488 }
614− else if optionDecls != [] then
615− if all (x: x.options.type.name == "submodule") optionDecls
616− # Raw options can only be merged into submodules. Merging into
617− # attrsets might be nice, but ambiguous. Suppose we have
618− # attrset as a `attrsOf submodule`. User declares option
619− # attrset.foo.bar, this could mean:
620− # a. option `bar` is only available in `attrset.foo`
621− # b. option `foo.bar` is available in all `attrset.*`
622− # c. reject and require "<name>" as a reminder that it behaves like (b).
623− # d. magically combine (a) and (c).
624− # All of the above are merely syntax sugar though.
625− then
626− let opt = fixupOptionType loc (mergeOptionDecls loc (map optionTreeToOption decls));
627− in {
628− matchedOptions = evalOptionValue loc opt defns';
629− unmatchedDefns = [];
630− }
631− else
632− let
633− firstNonOption = findFirst (m: !isOption m.options) "" decls;
634− nonOptions = filter (m: !isOption m.options) decls;
635− in
636− throw "The option `${showOption loc}' in module `${(lib.head optionDecls)._file}' would be a parent of the following options, but its type `${(lib.head optionDecls).options.type.description or "<no description>"}' does not support nested options.\n${
637− showRawDecls loc nonOptions
638− }"
489+ else if nrOptions != 0 then
490+ let
491+ firstOption = findFirst (m: isOption m.options) "" decls;
492+ firstNonOption = findFirst (m: !isOption m.options) "" decls;
493+ in
494+ throw "The option `${showOption loc}' in `${firstOption._file}' is a prefix of options in `${firstNonOption._file}'."
639495 else
640496 mergeModules' loc decls defns) declsByName;
641497
@@ -679,9 +535,11 @@ rec {
679535 correspond to the definition of 'loc' in 'opt.file'. */
680536 mergeOptionDecls =
681537 let
538+ packSubmodule = file: m:
539+ { _file = file; imports = [ m ]; };
682540 coerceOption = file: opt:
683− if isFunction opt then setDefaultModuleLocation file opt
684− else setDefaultModuleLocation file { options = opt; };
541+ if isFunction opt then packSubmodule file opt
542+ else packSubmodule file { options = opt; };
685543 in loc: opts:
686544 foldl' (res: opt:
687545 let t = res.type;
@@ -702,9 +560,17 @@ rec {
702560 throw "The option `${showOption loc}' in `${opt._file}' is already declared in ${showFiles res.declarations}."
703561 else
704562 let
563+ /* Add the modules of the current option to the list of modules
564+ already collected. The options attribute except either a list of
565+ submodules or a submodule. For each submodule, we add the file of the
566+ current option declaration as the file use for the submodule. If the
567+ submodule defines any filename, then we ignore the enclosing option file. */
568+ options' = toList opt.options.options;
569+
705570 getSubModules = opt.options.type.getSubModules or null;
706571 submodules =
707− if getSubModules != null then map (setDefaultModuleLocation opt._file) getSubModules ++ res.options
572+ if getSubModules != null then map (packSubmodule opt._file) getSubModules ++ res.options
573+ else if opt.options ? options then map (coerceOption opt._file) options' ++ res.options
708574 else res.options;
709575 in opt.options // res //
710576 { declarations = res.declarations ++ [opt._file];
@@ -887,13 +753,26 @@ rec {
887753 compare = a: b: (a.priority or 1000) < (b.priority or 1000);
888754 in sort compare defs';
889755
890− # This calls substSubModules, whose entire purpose is only to ensure that
891− # option declarations in submodules have accurate position information.
892− # TODO: Merge this into mergeOptionDecls
756+ /* Hack for backward compatibility: convert options of type
757+ optionSet to options of type submodule. FIXME: remove
758+ eventually. */
893759 fixupOptionType = loc: opt:
894− if opt.type.getSubModules or null == null
895− then opt // { type = opt.type or types.unspecified; }
896− else opt // { type = opt.type.substSubModules opt.options; options = []; };
760+ let
761+ options = opt.options or
762+ (throw "Option `${showOption loc}' has type optionSet but has no option attribute, in ${showFiles opt.declarations}.");
763+ f = tp:
764+ let optionSetIn = type: (tp.name == type) && (tp.functor.wrapped.name == "optionSet");
765+ in
766+ if tp.name == "option set" || tp.name == "submodule" then
767+ throw "The option ${showOption loc} uses submodules without a wrapping type, in ${showFiles opt.declarations}."
768+ else if optionSetIn "attrsOf" then types.attrsOf (types.submodule options)
769+ else if optionSetIn "listOf" then types.listOf (types.submodule options)
770+ else if optionSetIn "nullOr" then types.nullOr (types.submodule options)
771+ else tp;
772+ in
773+ if opt.type.getSubModules or null == null
774+ then opt // { type = f (opt.type or types.unspecified); }
775+ else opt // { type = opt.type.substSubModules opt.options; options = []; };
897776
898777
899778 /* Properties. */
@@ -1025,26 +904,6 @@ rec {
1025904 use = builtins.trace "Obsolete option `${showOption from}' is used. It was renamed to `${showOption to}'.";
1026905 };
1027906
1028− mkRenamedOptionModuleWith = {
1029− /* Old option path as list of strings. */
1030− from,
1031− /* New option path as list of strings. */
1032− to,
1033−
1034− /*
1035− Release number of the first release that contains the rename, ignoring backports.
1036− Set it to the upcoming release, matching the nixpkgs/.version file.
1037− */
1038− sinceRelease,
1039−
1040− }: doRename {
1041− inherit from to;
1042− visible = false;
1043− warn = lib.isInOldestRelease sinceRelease;
1044− use = lib.warnIf (lib.isInOldestRelease sinceRelease)
1045− "Obsolete option `${showOption from}' is used. It was renamed to `${showOption to}'.";
1046− };
1047−
1048907 /* Return a module that causes a warning to be shown if any of the "from"
1049908 option is defined; the defined values can be used in the "mergeFn" to set
1050909 the "to" value.
lib/options.nix+8−52
@@ -26,7 +26,6 @@ let
2626 take
2727 ;
2828 inherit (lib.attrsets)
29− attrByPath
3029 optionalAttrs
3130 ;
3231 inherit (lib.strings)
@@ -79,6 +78,8 @@ rec {
7978 visible ? null,
8079 # Whether the option can be set only once
8180 readOnly ? null,
81+ # Deprecated, used by types.optionSet.
82+ options ? null
8283 } @ attrs:
8384 attrs // { _type = "option"; };
8485
@@ -98,49 +99,6 @@ rec {
9899 type = lib.types.bool;
99100 };
100101
101− /* Creates an Option attribute set for an option that specifies the
102− package a module should use for some purpose.
103−
104− Type: mkPackageOption :: pkgs -> string -> { default :: [string], example :: null | string | [string] } -> option
105−
106− The package is specified as a list of strings representing its attribute path in nixpkgs.
107−
108− Because of this, you need to pass nixpkgs itself as the first argument.
109−
110− The second argument is the name of the option, used in the description "The <name> package to use.".
111−
112− You can also pass an example value, either a literal string or a package's attribute path.
113−
114− You can omit the default path if the name of the option is also attribute path in nixpkgs.
115−
116− Example:
117− mkPackageOption pkgs "hello" { }
118− => { _type = "option"; default = «derivation /nix/store/3r2vg51hlxj3cx5vscp0vkv60bqxkaq0-hello-2.10.drv»; defaultText = { ... }; description = "The hello package to use."; type = { ... }; }
119−
120− Example:
121− mkPackageOption pkgs "GHC" {
122− default = [ "ghc" ];
123− example = "pkgs.haskell.package.ghc922.ghc.withPackages (hkgs: [ hkgs.primes ])";
124− }
125− => { _type = "option"; default = «derivation /nix/store/jxx55cxsjrf8kyh3fp2ya17q99w7541r-ghc-8.10.7.drv»; defaultText = { ... }; description = "The GHC package to use."; example = { ... }; type = { ... }; }
126− */
127− mkPackageOption =
128− # Package set (a specific version of nixpkgs)
129− pkgs:
130− # Name for the package, shown in option description
131− name:
132− { default ? [ name ], example ? null }:
133− let default' = if !isList default then [ default ] else default;
134− in mkOption {
135− type = lib.types.package;
136− description = "The ${name} package to use.";
137− default = attrByPath default'
138− (throw "${concatStringsSep "." default'} cannot be found in pkgs") pkgs;
139− defaultText = literalExpression ("pkgs." + concatStringsSep "." default');
140− ${if example != null then "example" else null} = literalExpression
141− (if isList example then "pkgs." + concatStringsSep "." example else example);
142− };
143−
144102 /* This option accepts anything, but it does not produce any result.
145103
146104 This is useful for sharing a module across different module sets
@@ -170,13 +128,11 @@ rec {
170128 else if all isInt list && all (x: x == head list) list then head list
171129 else throw "Cannot merge definitions of `${showOption loc}'. Definition values:${showDefs defs}";
172130
173− mergeOneOption = mergeUniqueOption { message = ""; };
174−
175− mergeUniqueOption = { message }: loc: defs:
176− if length defs == 1
177− then (head defs).value
178− else assert length defs > 1;
179− throw "The option `${showOption loc}' is defined multiple times.\n${message}\nDefinition values:${showDefs defs}";
131+ mergeOneOption = loc: defs:
132+ if defs == [] then abort "This case should never happen."
133+ else if length defs != 1 then
134+ throw "The unique option `${showOption loc}' is defined multiple times. Definition values:${showDefs defs}"
135+ else (head defs).value;
180136
181137 /* "Merge" option definitions by checking that they all have the same value. */
182138 mergeEqualOption = loc: defs:
@@ -229,7 +185,7 @@ rec {
229185 then true
230186 else opt.visible or true;
231187 readOnly = opt.readOnly or false;
232− type = opt.type.description or "unspecified";
188+ type = opt.type.description or null;
233189 }
234190 // optionalAttrs (opt ? example) { example = scrubOptionValue opt.example; }
235191 // optionalAttrs (opt ? default) { default = scrubOptionValue opt.default; }
lib/sources.nix+48−67
@@ -20,26 +20,17 @@ let
2020 readFile
2121 ;
2222
23− /*
24− Returns the type of a path: regular (for file), symlink, or directory.
25− */
26− pathType = path: getAttr (baseNameOf path) (readDir (dirOf path));
23+ # Returns the type of a path: regular (for file), symlink, or directory
24+ pathType = p: getAttr (baseNameOf p) (readDir (dirOf p));
2725
28− /*
29− Returns true if the path exists and is a directory, false otherwise.
30− */
31− pathIsDirectory = path: if pathExists path then (pathType path) == "directory" else false;
26+ # Returns true if the path exists and is a directory, false otherwise
27+ pathIsDirectory = p: if pathExists p then (pathType p) == "directory" else false;
3228
33− /*
34− Returns true if the path exists and is a regular file, false otherwise.
35− */
36− pathIsRegularFile = path: if pathExists path then (pathType path) == "regular" else false;
29+ # Returns true if the path exists and is a regular file, false otherwise
30+ pathIsRegularFile = p: if pathExists p then (pathType p) == "regular" else false;
3731
38− /*
39− A basic filter for `cleanSourceWith` that removes
40− directories of version control system, backup files (*~)
41− and some generated files.
42− */
32+ # Bring in a path as a source, filtering out all Subversion and CVS
33+ # directories, as well as backup files (*~).
4334 cleanSourceFilter = name: type: let baseName = baseNameOf (toString name); in ! (
4435 # Filter out version control software files/directories
4536 (baseName == ".git" || type == "directory" && (baseName == ".svn" || baseName == "CVS" || baseName == ".hg")) ||
@@ -57,48 +48,43 @@ let
5748 (type == "unknown")
5849 );
5950
60− /*
61− Filters a source tree removing version control files and directories using cleanSourceFilter.
62−
63− Example:
64− cleanSource ./.
65− */
51+ # Filters a source tree removing version control files and directories using cleanSourceWith
52+ #
53+ # Example:
54+ # cleanSource ./.
6655 cleanSource = src: cleanSourceWith { filter = cleanSourceFilter; inherit src; };
6756
68− /*
69− Like `builtins.filterSource`, except it will compose with itself,
70− allowing you to chain multiple calls together without any
71− intermediate copies being put in the nix store.
72−
73− Example:
74− lib.cleanSourceWith {
75− filter = f;
76− src = lib.cleanSourceWith {
77− filter = g;
78− src = ./.;
79− };
80− }
81− # Succeeds!
82−
83− builtins.filterSource f (builtins.filterSource g ./.)
84− # Fails!
85−
86− */
87− cleanSourceWith =
88− {
89− # A path or cleanSourceWith result to filter and/or rename.
90− src,
91− # Optional with default value: constant true (include everything)
92− # The function will be combined with the && operator such
93− # that src.filter is called lazily.
94− # For implementing a filter, see
95− # https://nixos.org/nix/manual/#builtin-filterSource
96− # Type: A function (path -> type -> bool)
97− filter ? _path: _type: true,
98− # Optional name to use as part of the store path.
99− # This defaults to `src.name` or otherwise `"source"`.
100− name ? null
101− }:
57+ # Like `builtins.filterSource`, except it will compose with itself,
58+ # allowing you to chain multiple calls together without any
59+ # intermediate copies being put in the nix store.
60+ #
61+ # lib.cleanSourceWith {
62+ # filter = f;
63+ # src = lib.cleanSourceWith {
64+ # filter = g;
65+ # src = ./.;
66+ # };
67+ # }
68+ # # Succeeds!
69+ #
70+ # builtins.filterSource f (builtins.filterSource g ./.)
71+ # # Fails!
72+ #
73+ # Parameters:
74+ #
75+ # src: A path or cleanSourceWith result to filter and/or rename.
76+ #
77+ # filter: A function (path -> type -> bool)
78+ # Optional with default value: constant true (include everything)
79+ # The function will be combined with the && operator such
80+ # that src.filter is called lazily.
81+ # For implementing a filter, see
82+ # https://nixos.org/nix/manual/#builtin-filterSource
83+ #
84+ # name: Optional name to use as part of the store path.
85+ # This defaults to `src.name` or otherwise `"source"`.
86+ #
87+ cleanSourceWith = { filter ? _path: _type: true, src, name ? null }:
10288 let
10389 orig = toSourceAttributes src;
10490 in fromSourceAttributes {
@@ -130,11 +116,9 @@ let
130116 satisfiesSubpathInvariant = src ? satisfiesSubpathInvariant && src.satisfiesSubpathInvariant;
131117 };
132118
133− /*
134− Filter sources by a list of regular expressions.
135−
136− Example: src = sourceByRegex ./my-subproject [".*\.py$" "^database.sql$"]
137− */
119+ # Filter sources by a list of regular expressions.
120+ #
121+ # E.g. `src = sourceByRegex ./my-subproject [".*\.py$" "^database.sql$"]`
138122 sourceByRegex = src: regexes:
139123 let
140124 isFiltered = src ? _isLibCleanSourceWith;
@@ -169,11 +153,8 @@ let
169153
170154 pathIsGitRepo = path: (tryEval (commitIdFromGitRepo path)).success;
171155
172− /*
173− Get the commit id of a git repo.
174−
175− Example: commitIdFromGitRepo <nixpkgs/.git>
176− */
156+ # Get the commit id of a git repo
157+ # Example: commitIdFromGitRepo <nixpkgs/.git>
177158 commitIdFromGitRepo =
178159 let readCommitFromFile = file: path:
179160 let fileName = toString path + "/" + file;
lib/strings.nix+5−196
@@ -17,7 +17,6 @@ rec {
1717 head
1818 isInt
1919 isList
20− isAttrs
2120 isString
2221 match
2322 parseDrvName
@@ -254,7 +253,10 @@ rec {
254253 => false
255254 */
256255 hasInfix = infix: content:
257− builtins.match ".*${escapeRegex infix}.*" "${content}" != null;
256+ let
257+ drop = x: substring 1 (stringLength x) x;
258+ in hasPrefix infix content
259+ || content != "" && hasInfix infix (drop content);
258260
259261 /* Convert a string to a list of characters (i.e. singleton strings).
260262 This allows you to, e.g., map a function over each character. However,
@@ -325,65 +327,6 @@ rec {
325327 */
326328 escapeShellArgs = concatMapStringsSep " " escapeShellArg;
327329
328− /* Test whether the given name is a valid POSIX shell variable name.
329−
330− Type: string -> bool
331−
332− Example:
333− isValidPosixName "foo_bar000"
334− => true
335− isValidPosixName "0-bad.jpg"
336− => false
337− */
338− isValidPosixName = name: match "[a-zA-Z_][a-zA-Z0-9_]*" name != null;
339−
340− /* Translate a Nix value into a shell variable declaration, with proper escaping.
341−
342− Supported value types are strings (mapped to regular variables), lists of strings
343− (mapped to Bash-style arrays) and attribute sets of strings (mapped to Bash-style
344− associative arrays). Note that "strings" include string-coercible values like paths.
345−
346− Strings are translated into POSIX sh-compatible code; lists and attribute sets
347− assume a shell that understands Bash syntax (e.g. Bash or ZSH).
348−
349− Type: string -> (string | listOf string | attrsOf string) -> string
350−
351− Example:
352− ''
353− ${toShellVar "foo" "some string"}
354− [[ "$foo" == "some string" ]]
355− ''
356− */
357− toShellVar = name: value:
358− lib.throwIfNot (isValidPosixName name) "toShellVar: ${name} is not a valid shell variable name" (
359− if isAttrs value then
360− "declare -A ${name}=(${
361− concatStringsSep " " (lib.mapAttrsToList (n: v:
362− "[${escapeShellArg n}]=${escapeShellArg v}"
363− ) value)
364− })"
365− else if isList value then
366− "declare -a ${name}=(${escapeShellArgs value})"
367− else
368− "${name}=${escapeShellArg value}"
369− );
370−
371− /* Translate an attribute set into corresponding shell variable declarations
372− using `toShellVar`.
373−
374− Type: attrsOf (string | listOf string | attrsOf string) -> string
375−
376− Example:
377− let
378− foo = "value";
379− bar = foo;
380− in ''
381− ${toShellVars { inherit foo bar; }}
382− [[ "$foo" == "$bar" ]]
383− ''
384− */
385− toShellVars = vars: concatStringsSep "\n" (lib.mapAttrsToList toShellVar vars);
386−
387330 /* Turn a string into a Nix expression representing that string
388331
389332 Type: string -> string
@@ -813,14 +756,7 @@ rec {
813756 sanitizeDerivationName pkgs.hello
814757 => "-nix-store-2g75chlbpxlrqn15zlby2dfh8hr9qwbk-hello-2.10"
815758 */
816− sanitizeDerivationName =
817− let okRegex = match "[[:alnum:]+_?=-][[:alnum:]+._?=-]*";
818− in
819− string:
820− # First detect the common case of already valid strings, to speed those up
821− if stringLength string <= 207 && okRegex string != null
822− then unsafeDiscardStringContext string
823− else lib.pipe string [
759+ sanitizeDerivationName = string: lib.pipe string [
824760 # Get rid of string context. This is safe under the assumption that the
825761 # resulting string is only used as a derivation name
826762 unsafeDiscardStringContext
@@ -838,131 +774,4 @@ rec {
838774 (x: if stringLength x == 0 then "unknown" else x)
839775 ];
840776
841− /* Computes the Levenshtein distance between two strings.
842− Complexity O(n*m) where n and m are the lengths of the strings.
843− Algorithm adjusted from https://stackoverflow.com/a/9750974/6605742
844−
845− Type: levenshtein :: string -> string -> int
846−
847− Example:
848− levenshtein "foo" "foo"
849− => 0
850− levenshtein "book" "hook"
851− => 1
852− levenshtein "hello" "Heyo"
853− => 3
854− */
855− levenshtein = a: b: let
856− # Two dimensional array with dimensions (stringLength a + 1, stringLength b + 1)
857− arr = lib.genList (i:
858− lib.genList (j:
859− dist i j
860− ) (stringLength b + 1)
861− ) (stringLength a + 1);
862− d = x: y: lib.elemAt (lib.elemAt arr x) y;
863− dist = i: j:
864− let c = if substring (i - 1) 1 a == substring (j - 1) 1 b
865− then 0 else 1;
866− in
867− if j == 0 then i
868− else if i == 0 then j
869− else lib.min
870− ( lib.min (d (i - 1) j + 1) (d i (j - 1) + 1))
871− ( d (i - 1) (j - 1) + c );
872− in d (stringLength a) (stringLength b);
873−
874− /* Returns the length of the prefix common to both strings.
875− */
876− commonPrefixLength = a: b:
877− let
878− m = lib.min (stringLength a) (stringLength b);
879− go = i: if i >= m then m else if substring i 1 a == substring i 1 b then go (i + 1) else i;
880− in go 0;
881−
882− /* Returns the length of the suffix common to both strings.
883− */
884− commonSuffixLength = a: b:
885− let
886− m = lib.min (stringLength a) (stringLength b);
887− go = i: if i >= m then m else if substring (stringLength a - i - 1) 1 a == substring (stringLength b - i - 1) 1 b then go (i + 1) else i;
888− in go 0;
889−
890− /* Returns whether the levenshtein distance between two strings is at most some value
891− Complexity is O(min(n,m)) for k <= 2 and O(n*m) otherwise
892−
893− Type: levenshteinAtMost :: int -> string -> string -> bool
894−
895− Example:
896− levenshteinAtMost 0 "foo" "foo"
897− => true
898− levenshteinAtMost 1 "foo" "boa"
899− => false
900− levenshteinAtMost 2 "foo" "boa"
901− => true
902− levenshteinAtMost 2 "This is a sentence" "this is a sentense."
903− => false
904− levenshteinAtMost 3 "This is a sentence" "this is a sentense."
905− => true
906−
907− */
908− levenshteinAtMost = let
909− infixDifferAtMost1 = x: y: stringLength x <= 1 && stringLength y <= 1;
910−
911− # This function takes two strings stripped by their common pre and suffix,
912− # and returns whether they differ by at most two by Levenshtein distance.
913− # Because of this stripping, if they do indeed differ by at most two edits,
914− # we know that those edits were (if at all) done at the start or the end,
915− # while the middle has to have stayed the same. This fact is used in the
916− # implementation.
917− infixDifferAtMost2 = x: y:
918− let
919− xlen = stringLength x;
920− ylen = stringLength y;
921− # This function is only called with |x| >= |y| and |x| - |y| <= 2, so
922− # diff is one of 0, 1 or 2
923− diff = xlen - ylen;
924−
925− # Infix of x and y, stripped by the left and right most character
926− xinfix = substring 1 (xlen - 2) x;
927− yinfix = substring 1 (ylen - 2) y;
928−
929− # x and y but a character deleted at the left or right
930− xdelr = substring 0 (xlen - 1) x;
931− xdell = substring 1 (xlen - 1) x;
932− ydelr = substring 0 (ylen - 1) y;
933− ydell = substring 1 (ylen - 1) y;
934− in
935− # A length difference of 2 can only be gotten with 2 delete edits,
936− # which have to have happened at the start and end of x
937− # Example: "abcdef" -> "bcde"
938− if diff == 2 then xinfix == y
939− # A length difference of 1 can only be gotten with a deletion on the
940− # right and a replacement on the left or vice versa.
941− # Example: "abcdef" -> "bcdez" or "zbcde"
942− else if diff == 1 then xinfix == ydelr || xinfix == ydell
943− # No length difference can either happen through replacements on both
944− # sides, or a deletion on the left and an insertion on the right or
945− # vice versa
946− # Example: "abcdef" -> "zbcdez" or "bcdefz" or "zabcde"
947− else xinfix == yinfix || xdelr == ydell || xdell == ydelr;
948−
949− in k: if k <= 0 then a: b: a == b else
950− let f = a: b:
951− let
952− alen = stringLength a;
953− blen = stringLength b;
954− prelen = commonPrefixLength a b;
955− suflen = commonSuffixLength a b;
956− presuflen = prelen + suflen;
957− ainfix = substring prelen (alen - presuflen) a;
958− binfix = substring prelen (blen - presuflen) b;
959− in
960− # Make a be the bigger string
961− if alen < blen then f b a
962− # If a has over k more characters than b, even with k deletes on a, b can't be reached
963− else if alen - blen > k then false
964− else if k == 1 then infixDifferAtMost1 ainfix binfix
965− else if k == 2 then infixDifferAtMost2 ainfix binfix
966− else levenshtein ainfix binfix <= k;
967− in f;
968777}
lib/systems/default.nix+1−2
@@ -105,8 +105,7 @@ rec {
105105 else if final.isAarch64 then "arm64"
106106 else if final.isx86_32 then "i386"
107107 else if final.isx86_64 then "x86_64"
108− else if final.isMips32 then "mips"
109− else if final.isMips64 then "mips" # linux kernel does not distinguish mips32/mips64
108+ else if final.isMips then "mips"
110109 else if final.isPower then "powerpc"
111110 else if final.isRiscV then "riscv"
112111 else if final.isS390 then "s390"
lib/systems/doubles.nix+2−8
@@ -26,7 +26,7 @@ let
2626
2727 # Linux
2828 "aarch64-linux" "armv5tel-linux" "armv6l-linux" "armv7a-linux"
29− "armv7l-linux" "i686-linux" "m68k-linux" "mipsel-linux" "mips64el-linux"
29+ "armv7l-linux" "i686-linux" "m68k-linux" "mipsel-linux"
3030 "powerpc64-linux" "powerpc64le-linux" "riscv32-linux"
3131 "riscv64-linux" "s390-linux" "s390x-linux" "x86_64-linux"
3232
@@ -74,8 +74,6 @@ in {
7474 mips = filterDoubles predicates.isMips;
7575 mmix = filterDoubles predicates.isMmix;
7676 riscv = filterDoubles predicates.isRiscV;
77− riscv32 = filterDoubles predicates.isRiscV32;
78− riscv64 = filterDoubles predicates.isRiscV64;
7977 vc4 = filterDoubles predicates.isVc4;
8078 or1k = filterDoubles predicates.isOr1k;
8179 m68k = filterDoubles predicates.isM68k;
@@ -89,11 +87,7 @@ in {
8987 darwin = filterDoubles predicates.isDarwin;
9088 freebsd = filterDoubles predicates.isFreeBSD;
9189 # Should be better, but MinGW is unclear.
92− gnu = filterDoubles (matchAttrs { kernel = parse.kernels.linux; abi = parse.abis.gnu; })
93− ++ filterDoubles (matchAttrs { kernel = parse.kernels.linux; abi = parse.abis.gnueabi; })
94− ++ filterDoubles (matchAttrs { kernel = parse.kernels.linux; abi = parse.abis.gnueabihf; })
95− ++ filterDoubles (matchAttrs { kernel = parse.kernels.linux; abi = parse.abis.gnuabin32; })
96− ++ filterDoubles (matchAttrs { kernel = parse.kernels.linux; abi = parse.abis.gnuabi64; });
90+ gnu = filterDoubles (matchAttrs { kernel = parse.kernels.linux; abi = parse.abis.gnu; }) ++ filterDoubles (matchAttrs { kernel = parse.kernels.linux; abi = parse.abis.gnueabi; }) ++ filterDoubles (matchAttrs { kernel = parse.kernels.linux; abi = parse.abis.gnueabihf; });
9791 illumos = filterDoubles predicates.isSunOS;
9892 linux = filterDoubles predicates.isLinux;
9993 netbsd = filterDoubles predicates.isNetBSD;
lib/systems/examples.nix−20
@@ -93,26 +93,6 @@ rec {
9393 config = "mipsel-unknown-linux-gnu";
9494 } // platforms.fuloong2f_n32;
9595
96− # MIPS ABI table transcribed from here: https://wiki.debian.org/Multiarch/Tuples
97−
98− # can execute on 32bit chip
99− mips-linux-gnu = { config = "mips-linux-gnu"; } // platforms.gcc_mips32r2_o32;
100− mipsel-linux-gnu = { config = "mipsel-linux-gnu"; } // platforms.gcc_mips32r2_o32;
101− mipsisa32r6-linux-gnu = { config = "mipsisa32r6-linux-gnu"; } // platforms.gcc_mips32r6_o32;
102− mipsisa32r6el-linux-gnu = { config = "mipsisa32r6el-linux-gnu"; } // platforms.gcc_mips32r6_o32;
103−
104− # require 64bit chip (for more registers, 64-bit floating point, 64-bit "long long") but use 32bit pointers
105− mips64-linux-gnuabin32 = { config = "mips64-linux-gnuabin32"; } // platforms.gcc_mips64r2_n32;
106− mips64el-linux-gnuabin32 = { config = "mips64el-linux-gnuabin32"; } // platforms.gcc_mips64r2_n32;
107− mipsisa64r6-linux-gnuabin32 = { config = "mipsisa64r6-linux-gnuabin32"; } // platforms.gcc_mips64r6_n32;
108− mipsisa64r6el-linux-gnuabin32 = { config = "mipsisa64r6el-linux-gnuabin32"; } // platforms.gcc_mips64r6_n32;
109−
110− # 64bit pointers
111− mips64-linux-gnuabi64 = { config = "mips64-linux-gnuabi64"; } // platforms.gcc_mips64r2_64;
112− mips64el-linux-gnuabi64 = { config = "mips64el-linux-gnuabi64"; } // platforms.gcc_mips64r2_64;
113− mipsisa64r6-linux-gnuabi64 = { config = "mipsisa64r6-linux-gnuabi64"; } // platforms.gcc_mips64r6_64;
114− mipsisa64r6el-linux-gnuabi64 = { config = "mipsisa64r6el-linux-gnuabi64"; } // platforms.gcc_mips64r6_64;
115−
11696 muslpi = raspberryPi // {
11797 config = "armv6l-unknown-linux-musleabihf";
11898 };
lib/systems/inspect.nix+1−8
@@ -13,19 +13,12 @@ rec {
1313 isx86_64 = { cpu = { family = "x86"; bits = 64; }; };
1414 isPowerPC = { cpu = cpuTypes.powerpc; };
1515 isPower = { cpu = { family = "power"; }; };
16− isPower64 = { cpu = { family = "power"; bits = 64; }; };
1716 isx86 = { cpu = { family = "x86"; }; };
1817 isAarch32 = { cpu = { family = "arm"; bits = 32; }; };
1918 isAarch64 = { cpu = { family = "arm"; bits = 64; }; };
2019 isMips = { cpu = { family = "mips"; }; };
21− isMips32 = { cpu = { family = "mips"; bits = 32; }; };
22− isMips64 = { cpu = { family = "mips"; bits = 64; }; };
23− isMips64n32 = { cpu = { family = "mips"; bits = 64; }; abi = { abi = "n32"; }; };
24− isMips64n64 = { cpu = { family = "mips"; bits = 64; }; abi = { abi = "64"; }; };
2520 isMmix = { cpu = { family = "mmix"; }; };
2621 isRiscV = { cpu = { family = "riscv"; }; };
27− isRiscV32 = { cpu = { family = "riscv"; bits = 32; }; };
28− isRiscV64 = { cpu = { family = "riscv"; bits = 64; }; };
2922 isSparc = { cpu = { family = "sparc"; }; };
3023 isWasm = { cpu = { family = "wasm"; }; };
3124 isMsp430 = { cpu = { family = "msp430"; }; };
@@ -64,7 +57,7 @@ rec {
6457
6558 isAndroid = [ { abi = abis.android; } { abi = abis.androideabi; } ];
6659 isGnu = with abis; map (a: { abi = a; }) [ gnuabi64 gnu gnueabi gnueabihf ];
67− isMusl = with abis; map (a: { abi = a; }) [ musl musleabi musleabihf muslabin32 muslabi64 ];
60+ isMusl = with abis; map (a: { abi = a; }) [ musl musleabi musleabihf ];
6861 isUClibc = with abis; map (a: { abi = a; }) [ uclibc uclibceabi uclibceabihf ];
6962
7063 isEfi = map (family: { cpu.family = family; })
lib/systems/parse.nix+2−9
@@ -359,20 +359,13 @@ rec {
359359 ];
360360 };
361361 gnuabi64 = { abi = "64"; };
362− muslabi64 = { abi = "64"; };
363−
364− # NOTE: abi=n32 requires a 64-bit MIPS chip! That is not a typo.
365− # It is basically the 64-bit abi with 32-bit pointers. Details:
366− # https://www.linux-mips.org/pub/linux/mips/doc/ABI/MIPS-N32-ABI-Handbook.pdf
367− gnuabin32 = { abi = "n32"; };
368− muslabin32 = { abi = "n32"; };
369362
370363 musleabi = { float = "soft"; };
371364 musleabihf = { float = "hard"; };
372365 musl = {};
373366
374− uclibceabi = { float = "soft"; };
375− uclibceabihf = { float = "hard"; };
367+ uclibceabihf = { float = "soft"; };
368+ uclibceabi = { float = "hard"; };
376369 uclibc = {};
377370
378371 unknown = {};
lib/systems/platforms.nix+1−48
@@ -1,10 +1,3 @@
1−# Note: lib/systems/default.nix takes care of producing valid,
2−# fully-formed "platform" values (e.g. hostPlatform, buildPlatform,
3−# targetPlatform, etc) containing at least the minimal set of attrs
4−# required (see types.parsedPlatform in lib/systems/parse.nix). This
5−# file takes an already-valid platform and further elaborates it with
6−# optional fields; currently these are: linux-kernel, gcc, and rustc.
7−
81{ lib }:
92rec {
103 pc = {
@@ -489,43 +482,6 @@ rec {
489482 };
490483 };
491484
492− # can execute on 32bit chip
493− gcc_mips32r2_o32 = { gcc = { arch = "mips32r2"; abi = "o32"; }; };
494− gcc_mips32r6_o32 = { gcc = { arch = "mips32r6"; abi = "o32"; }; };
495− gcc_mips64r2_n32 = { gcc = { arch = "mips64r2"; abi = "n32"; }; };
496− gcc_mips64r6_n32 = { gcc = { arch = "mips64r6"; abi = "n32"; }; };
497− gcc_mips64r2_64 = { gcc = { arch = "mips64r2"; abi = "64"; }; };
498− gcc_mips64r6_64 = { gcc = { arch = "mips64r6"; abi = "64"; }; };
499−
500− # based on:
501− # https://www.mail-archive.com/qemu-discuss@nongnu.org/msg05179.html
502− # https://gmplib.org/~tege/qemu.html#mips64-debian
503− mips64el-qemu-linux-gnuabi64 = {
504− linux-kernel = {
505− name = "mips64el";
506− baseConfig = "64r2el_defconfig";
507− target = "vmlinuz";
508− autoModules = false;
509− DTB = true;
510− # for qemu 9p passthrough filesystem
511− extraConfig = ''
512− MIPS_MALTA y
513− PAGE_SIZE_4KB y
514− CPU_LITTLE_ENDIAN y
515− CPU_MIPS64_R2 y
516− 64BIT y
517− CPU_MIPS64_R2 y
518−
519− NET_9P y
520− NET_9P_VIRTIO y
521− 9P_FS y
522− 9P_FS_POSIX_ACL y
523− PCI y
524− VIRTIO_PCI y
525− '';
526− };
527− };
528−
529485 ##
530486 ## Other
531487 ##
@@ -543,9 +499,6 @@ rec {
543499 };
544500 };
545501
546− # This function takes a minimally-valid "platform" and returns an
547− # attrset containing zero or more additional attrs which should be
548− # included in the platform in order to further elaborate it.
549502 select = platform:
550503 # x86
551504 /**/ if platform.isx86 then pc
@@ -568,5 +521,5 @@ rec {
568521
569522 else if platform.parsed.cpu == lib.systems.parse.cpuTypes.powerpc64le then powernv
570523
571− else { };
524+ else pc;
572525}
lib/tests/flakes/subflakeTest/flake.nixdeleted−8
@@ -1,8 +0,0 @@
1−{
2− outputs = { self, subflake, callLocklessFlake }: rec {
3− x = (callLocklessFlake {
4− path = subflake;
5− inputs = {};
6− }).subflakeOutput;
7− };
8−}
lib/tests/flakes/subflakeTest/subflake/flake.nixdeleted−5
@@ -1,5 +0,0 @@
1−{
2− outputs = { self }: {
3− subflakeOutput = 1;
4− };
5−}
lib/tests/misc.nix+1−429
@@ -22,15 +22,6 @@ in
2222
2323runTests {
2424
25−# FLAKES
26−
27− testCallLocklessFlake = {
28− expr = callLocklessFlake {
29− path = ./flakes/subflakeTest;
30− inputs = { subflake = ./flakes/subflakeTest/subflake; inherit callLocklessFlake; };
31− };
32− expected = { x = 1; outPath = ./flakes/subflakeTest; };
33− };
3425
3526# TRIVIAL
3627
@@ -260,56 +251,6 @@ runTests {
260251 expected = "&quot;test&quot; &apos;test&apos; &lt; &amp; &gt;";
261252 };
262253
263− testToShellVars = {
264− expr = ''
265− ${toShellVars {
266− STRing01 = "just a 'string'";
267− _array_ = [ "with" "more strings" ];
268− assoc."with some" = ''
269− strings
270− possibly newlines
271− '';
272− }}
273− '';
274− expected = ''
275− STRing01='just a '\'''string'\''''
276− declare -a _array_=('with' 'more strings')
277− declare -A assoc=(['with some']='strings
278− possibly newlines
279− ')
280− '';
281− };
282−
283− testHasInfixFalse = {
284− expr = hasInfix "c" "abde";
285− expected = false;
286− };
287−
288− testHasInfixTrue = {
289− expr = hasInfix "c" "abcde";
290− expected = true;
291− };
292−
293− testHasInfixDerivation = {
294− expr = hasInfix "hello" (import ../.. { system = "x86_64-linux"; }).hello;
295− expected = true;
296− };
297−
298− testHasInfixPath = {
299− expr = hasInfix "tests" ./.;
300− expected = true;
301− };
302−
303− testHasInfixPathStoreDir = {
304− expr = hasInfix builtins.storeDir ./.;
305− expected = true;
306− };
307−
308− testHasInfixToString = {
309− expr = hasInfix "a" { __toString = _: "a"; };
310− expected = true;
311− };
312−
313254# LISTS
314255
315256 testFilter = {
@@ -530,66 +471,6 @@ runTests {
530471 '';
531472 };
532473
533− testToINIWithGlobalSectionEmpty = {
534− expr = generators.toINIWithGlobalSection {} {
535− globalSection = {
536− };
537− sections = {
538− };
539− };
540− expected = ''
541− '';
542− };
543−
544− testToINIWithGlobalSectionGlobalEmptyIsTheSameAsToINI =
545− let
546− sections = {
547− "section 1" = {
548− attribute1 = 5;
549− x = "Me-se JarJar Binx";
550− };
551− "foo" = {
552− "he\\h=he" = "this is okay";
553− };
554− };
555− in {
556− expr =
557− generators.toINIWithGlobalSection {} {
558− globalSection = {};
559− sections = sections;
560− };
561− expected = generators.toINI {} sections;
562− };
563−
564− testToINIWithGlobalSectionFull = {
565− expr = generators.toINIWithGlobalSection {} {
566− globalSection = {
567− foo = "bar";
568− test = false;
569− };
570− sections = {
571− "section 1" = {
572− attribute1 = 5;
573− x = "Me-se JarJar Binx";
574− };
575− "foo" = {
576− "he\\h=he" = "this is okay";
577− };
578− };
579− };
580− expected = ''
581− foo=bar
582− test=false
583−
584− [foo]
585− he\h\=he=this is okay
586−
587− [section 1]
588− attribute1=5
589− x=Me-se JarJar Binx
590− '';
591− };
592−
593474 /* right now only invocation check */
594475 testToJSONSimple =
595476 let val = {
@@ -768,11 +649,6 @@ runTests {
768649 expected = "foo";
769650 };
770651
771− testSanitizeDerivationNameUnicode = testSanitizeDerivationName {
772− name = "fö";
773− expected = "f-";
774− };
775−
776652 testSanitizeDerivationNameAscii = testSanitizeDerivationName {
777653 name = " !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~";
778654 expected = "-+--.-0123456789-=-?-ABCDEFGHIJKLMNOPQRSTUVWXYZ-_-abcdefghijklmnopqrstuvwxyz-";
@@ -815,7 +691,7 @@ runTests {
815691
816692 locs = filter (o: ! o.internal) (optionAttrSetToDocList options);
817693 in map (o: o.loc) locs;
818− expected = [ [ "_module" "args" ] [ "foo" ] [ "foo" "<name>" "bar" ] [ "foo" "bar" ] ];
694+ expected = [ [ "foo" ] [ "foo" "<name>" "bar" ] [ "foo" "bar" ] ];
819695 };
820696
821697 testCartesianProductOfEmptySet = {
@@ -885,308 +761,4 @@ runTests {
885761 { a = 3; b = 30; c = 300; }
886762 ];
887763 };
888−
889− # The example from the showAttrPath documentation
890− testShowAttrPathExample = {
891− expr = showAttrPath [ "foo" "10" "bar" ];
892− expected = "foo.\"10\".bar";
893− };
894−
895− testShowAttrPathEmpty = {
896− expr = showAttrPath [];
897− expected = "<root attribute path>";
898− };
899−
900− testShowAttrPathVarious = {
901− expr = showAttrPath [
902− "."
903− "foo"
904− "2"
905− "a2-b"
906− "_bc'de"
907− ];
908− expected = ''".".foo."2".a2-b._bc'de'';
909− };
910−
911− testGroupBy = {
912− expr = groupBy (n: toString (mod n 5)) (range 0 16);
913− expected = {
914− "0" = [ 0 5 10 15 ];
915− "1" = [ 1 6 11 16 ];
916− "2" = [ 2 7 12 ];
917− "3" = [ 3 8 13 ];
918− "4" = [ 4 9 14 ];
919− };
920− };
921−
922− testGroupBy' = {
923− expr = groupBy' builtins.add 0 (x: boolToString (x > 2)) [ 5 1 2 3 4 ];
924− expected = { false = 3; true = 12; };
925− };
926−
927− # The example from the updateManyAttrsByPath documentation
928− testUpdateManyAttrsByPathExample = {
929− expr = updateManyAttrsByPath [
930− {
931− path = [ "a" "b" ];
932− update = old: { d = old.c; };
933− }
934− {
935− path = [ "a" "b" "c" ];
936− update = old: old + 1;
937− }
938− {
939− path = [ "x" "y" ];
940− update = old: "xy";
941− }
942− ] { a.b.c = 0; };
943− expected = { a = { b = { d = 1; }; }; x = { y = "xy"; }; };
944− };
945−
946− # If there are no updates, the value is passed through
947− testUpdateManyAttrsByPathNone = {
948− expr = updateManyAttrsByPath [] "something";
949− expected = "something";
950− };
951−
952− # A single update to the root path is just like applying the function directly
953− testUpdateManyAttrsByPathSingleIncrement = {
954− expr = updateManyAttrsByPath [
955− {
956− path = [ ];
957− update = old: old + 1;
958− }
959− ] 0;
960− expected = 1;
961− };
962−
963− # Multiple updates can be applied are done in order
964− testUpdateManyAttrsByPathMultipleIncrements = {
965− expr = updateManyAttrsByPath [
966− {
967− path = [ ];
968− update = old: old + "a";
969− }
970− {
971− path = [ ];
972− update = old: old + "b";
973− }
974− {
975− path = [ ];
976− update = old: old + "c";
977− }
978− ] "";
979− expected = "abc";
980− };
981−
982− # If an update doesn't use the value, all previous updates are not evaluated
983− testUpdateManyAttrsByPathLazy = {
984− expr = updateManyAttrsByPath [
985− {
986− path = [ ];
987− update = old: old + throw "nope";
988− }
989− {
990− path = [ ];
991− update = old: "untainted";
992− }
993− ] (throw "start");
994− expected = "untainted";
995− };
996−
997− # Deeply nested attributes can be updated without affecting others
998− testUpdateManyAttrsByPathDeep = {
999− expr = updateManyAttrsByPath [
1000− {
1001− path = [ "a" "b" "c" ];
1002− update = old: old + 1;
1003− }
1004− ] {
1005− a.b.c = 0;
1006−
1007− a.b.z = 0;
1008− a.y.z = 0;
1009− x.y.z = 0;
1010− };
1011− expected = {
1012− a.b.c = 1;
1013−
1014− a.b.z = 0;
1015− a.y.z = 0;
1016− x.y.z = 0;
1017− };
1018− };
1019−
1020− # Nested attributes are updated first
1021− testUpdateManyAttrsByPathNestedBeforehand = {
1022− expr = updateManyAttrsByPath [
1023− {
1024− path = [ "a" ];
1025− update = old: old // { x = old.b; };
1026− }
1027− {
1028− path = [ "a" "b" ];
1029− update = old: old + 1;
1030− }
1031− ] {
1032− a.b = 0;
1033− };
1034− expected = {
1035− a.b = 1;
1036− a.x = 1;
1037− };
1038− };
1039−
1040− ## Levenshtein distance functions and co.
1041− testCommonPrefixLengthEmpty = {
1042− expr = strings.commonPrefixLength "" "hello";
1043− expected = 0;
1044− };
1045−
1046− testCommonPrefixLengthSame = {
1047− expr = strings.commonPrefixLength "hello" "hello";
1048− expected = 5;
1049− };
1050−
1051− testCommonPrefixLengthDiffering = {
1052− expr = strings.commonPrefixLength "hello" "hey";
1053− expected = 2;
1054− };
1055−
1056− testCommonSuffixLengthEmpty = {
1057− expr = strings.commonSuffixLength "" "hello";
1058− expected = 0;
1059− };
1060−
1061− testCommonSuffixLengthSame = {
1062− expr = strings.commonSuffixLength "hello" "hello";
1063− expected = 5;
1064− };
1065−
1066− testCommonSuffixLengthDiffering = {
1067− expr = strings.commonSuffixLength "test" "rest";
1068− expected = 3;
1069− };
1070−
1071− testLevenshteinEmpty = {
1072− expr = strings.levenshtein "" "";
1073− expected = 0;
1074− };
1075−
1076− testLevenshteinOnlyAdd = {
1077− expr = strings.levenshtein "" "hello there";
1078− expected = 11;
1079− };
1080−
1081− testLevenshteinOnlyRemove = {
1082− expr = strings.levenshtein "hello there" "";
1083− expected = 11;
1084− };
1085−
1086− testLevenshteinOnlyTransform = {
1087− expr = strings.levenshtein "abcdef" "ghijkl";
1088− expected = 6;
1089− };
1090−
1091− testLevenshteinMixed = {
1092− expr = strings.levenshtein "kitchen" "sitting";
1093− expected = 5;
1094− };
1095−
1096− testLevenshteinAtMostZeroFalse = {
1097− expr = strings.levenshteinAtMost 0 "foo" "boo";
1098− expected = false;
1099− };
1100−
1101− testLevenshteinAtMostZeroTrue = {
1102− expr = strings.levenshteinAtMost 0 "foo" "foo";
1103− expected = true;
1104− };
1105−
1106− testLevenshteinAtMostOneFalse = {
1107− expr = strings.levenshteinAtMost 1 "car" "ct";
1108− expected = false;
1109− };
1110−
1111− testLevenshteinAtMostOneTrue = {
1112− expr = strings.levenshteinAtMost 1 "car" "cr";
1113− expected = true;
1114− };
1115−
1116− # We test levenshteinAtMost 2 particularly well because it uses a complicated
1117− # implementation
1118− testLevenshteinAtMostTwoIsEmpty = {
1119− expr = strings.levenshteinAtMost 2 "" "";
1120− expected = true;
1121− };
1122−
1123− testLevenshteinAtMostTwoIsZero = {
1124− expr = strings.levenshteinAtMost 2 "abcdef" "abcdef";
1125− expected = true;
1126− };
1127−
1128− testLevenshteinAtMostTwoIsOne = {
1129− expr = strings.levenshteinAtMost 2 "abcdef" "abddef";
1130− expected = true;
1131− };
1132−
1133− testLevenshteinAtMostTwoDiff0False = {
1134− expr = strings.levenshteinAtMost 2 "abcdef" "aczyef";
1135− expected = false;
1136− };
1137−
1138− testLevenshteinAtMostTwoDiff0Outer = {
1139− expr = strings.levenshteinAtMost 2 "abcdef" "zbcdez";
1140− expected = true;
1141− };
1142−
1143− testLevenshteinAtMostTwoDiff0DelLeft = {
1144− expr = strings.levenshteinAtMost 2 "abcdef" "bcdefz";
1145− expected = true;
1146− };
1147−
1148− testLevenshteinAtMostTwoDiff0DelRight = {
1149− expr = strings.levenshteinAtMost 2 "abcdef" "zabcde";
1150− expected = true;
1151− };
1152−
1153− testLevenshteinAtMostTwoDiff1False = {
1154− expr = strings.levenshteinAtMost 2 "abcdef" "bddez";
1155− expected = false;
1156− };
1157−
1158− testLevenshteinAtMostTwoDiff1DelLeft = {
1159− expr = strings.levenshteinAtMost 2 "abcdef" "bcdez";
1160− expected = true;
1161− };
1162−
1163− testLevenshteinAtMostTwoDiff1DelRight = {
1164− expr = strings.levenshteinAtMost 2 "abcdef" "zbcde";
1165− expected = true;
1166− };
1167−
1168− testLevenshteinAtMostTwoDiff2False = {
1169− expr = strings.levenshteinAtMost 2 "hello" "hxo";
1170− expected = false;
1171− };
1172−
1173− testLevenshteinAtMostTwoDiff2True = {
1174− expr = strings.levenshteinAtMost 2 "hello" "heo";
1175− expected = true;
1176− };
1177−
1178− testLevenshteinAtMostTwoDiff3 = {
1179− expr = strings.levenshteinAtMost 2 "hello" "ho";
1180− expected = false;
1181− };
1182−
1183− testLevenshteinAtMostThreeFalse = {
1184− expr = strings.levenshteinAtMost 3 "hello" "Holla!";
1185− expected = false;
1186− };
1187−
1188− testLevenshteinAtMostThreeTrue = {
1189− expr = strings.levenshteinAtMost 3 "hello" "Holla";
1190− expected = true;
1191− };
1192764}
lib/tests/modules.sh+1−48
@@ -62,13 +62,6 @@ checkConfigError() {
6262checkConfigOutput '^false$' config.enable ./declare-enable.nix
6363checkConfigError 'The option .* does not exist. Definition values:\n\s*- In .*: true' config.enable ./define-enable.nix
6464
65−checkConfigOutput '^1$' config.bare-submodule.nested ./declare-bare-submodule.nix ./declare-bare-submodule-nested-option.nix
66−checkConfigOutput '^2$' config.bare-submodule.deep ./declare-bare-submodule.nix ./declare-bare-submodule-deep-option.nix
67−checkConfigOutput '^42$' config.bare-submodule.nested ./declare-bare-submodule.nix ./declare-bare-submodule-nested-option.nix ./declare-bare-submodule-deep-option.nix ./define-bare-submodule-values.nix
68−checkConfigOutput '^420$' config.bare-submodule.deep ./declare-bare-submodule.nix ./declare-bare-submodule-nested-option.nix ./declare-bare-submodule-deep-option.nix ./define-bare-submodule-values.nix
69−checkConfigOutput '^2$' config.bare-submodule.deep ./declare-bare-submodule.nix ./declare-bare-submodule-deep-option.nix ./define-shorthandOnlyDefinesConfig-true.nix
70−checkConfigError 'The option .bare-submodule.deep. in .*/declare-bare-submodule-deep-option.nix. is already declared in .*/declare-bare-submodule-deep-option-duplicate.nix' config.bare-submodule.deep ./declare-bare-submodule.nix ./declare-bare-submodule-deep-option.nix ./declare-bare-submodule-deep-option-duplicate.nix
71−
7265# Check integer types.
7366# unsigned
7467checkConfigOutput '^42$' config.value ./declare-int-unsigned-value.nix ./define-value-int-positive.nix
@@ -247,11 +240,6 @@ checkConfigOutput '^"24"$' config.foo ./freeform-attrsOf.nix ./freeform-str-dep-
247240checkConfigError 'infinite recursion encountered' config.foo ./freeform-attrsOf.nix ./freeform-unstr-dep-str.nix
248241checkConfigError 'The option .* is used but not defined' config.foo ./freeform-lazyAttrsOf.nix ./freeform-unstr-dep-str.nix
249242checkConfigOutput '^"24"$' config.foo ./freeform-lazyAttrsOf.nix ./freeform-unstr-dep-str.nix ./define-value-string.nix
250−# submodules in freeformTypes should have their locations annotated
251−checkConfigOutput '/freeform-submodules.nix"$' config.fooDeclarations.0 ./freeform-submodules.nix
252−# freeformTypes can get merged using `types.type`, including submodules
253−checkConfigOutput '^10$' config.free.xxx.foo ./freeform-submodules.nix
254−checkConfigOutput '^10$' config.free.yyy.bar ./freeform-submodules.nix
255243
256244## types.anything
257245# Check that attribute sets are merged recursively
@@ -293,44 +281,9 @@ checkConfigOutput '^"a c"$' config.result ./functionTo/merging-attrs.nix
293281
294282# moduleType
295283checkConfigOutput '^"a b"$' config.resultFoo ./declare-variants.nix ./define-variant.nix
296−checkConfigOutput '^"a b y z"$' config.resultFooBar ./declare-variants.nix ./define-variant.nix
284+checkConfigOutput '^"a y z"$' config.resultFooBar ./declare-variants.nix ./define-variant.nix
297285checkConfigOutput '^"a b c"$' config.resultFooFoo ./declare-variants.nix ./define-variant.nix
298286
299−## emptyValue's
300−checkConfigOutput "[ ]" config.list.a ./emptyValues.nix
301−checkConfigOutput "{ }" config.attrs.a ./emptyValues.nix
302−checkConfigOutput "null" config.null.a ./emptyValues.nix
303−checkConfigOutput "{ }" config.submodule.a ./emptyValues.nix
304−# These types don't have empty values
305−checkConfigError 'The option .int.a. is used but not defined' config.int.a ./emptyValues.nix
306−checkConfigError 'The option .nonEmptyList.a. is used but not defined' config.nonEmptyList.a ./emptyValues.nix
307−
308−## types.raw
309−checkConfigOutput "{ foo = <CODE>; }" config.unprocessedNesting ./raw.nix
310−checkConfigOutput "10" config.processedToplevel ./raw.nix
311−checkConfigError "The option .multiple. is defined multiple times" config.multiple ./raw.nix
312−checkConfigOutput "bar" config.priorities ./raw.nix
313−
314−## Option collision
315−checkConfigError \
316− 'The option .set. in module .*/declare-set.nix. would be a parent of the following options, but its type .attribute set of signed integers. does not support nested options.\n\s*- option[(]s[)] with prefix .set.enable. in module .*/declare-enable-nested.nix.' \
317− config.set \
318− ./declare-set.nix ./declare-enable-nested.nix
319−
320−# Test that types.optionType merges types correctly
321−checkConfigOutput '^10$' config.theOption.int ./optionTypeMerging.nix
322−checkConfigOutput '^"hello"$' config.theOption.str ./optionTypeMerging.nix
323−
324−# Test that types.optionType correctly annotates option locations
325−checkConfigError 'The option .theOption.nested. in .other.nix. is already declared in .optionTypeFile.nix.' config.theOption.nested ./optionTypeFile.nix
326−
327−# Test that types.optionType leaves types untouched as long as they don't need to be merged
328−checkConfigOutput 'ok' config.freeformItems.foo.bar ./adhoc-freeformType-survives-type-merge.nix
329−
330−# Anonymous submodules don't get nixed by import resolution/deduplication
331−# because of an `extendModules` bug, issue 168767.
332−checkConfigOutput '^1$' config.sub.specialisation.value ./extendModules-168767-imports.nix
333−
334287cat <<EOF
335288====== module tests ======
336289$pass Pass
lib/tests/modules/adhoc-freeformType-survives-type-merge.nixdeleted−14
@@ -1,14 +0,0 @@
1−{ lib, ... }: {
2− options.dummy = lib.mkOption { type = lib.types.anything; default = {}; };
3− freeformType =
4− let
5− a = lib.types.attrsOf (lib.types.submodule { options.bar = lib.mkOption { }; });
6− in
7− # modifying types like this breaks type merging.
8− # This test makes sure that type merging is not performed when only a single declaration exists.
9− # Don't modify types in practice!
10− a // {
11− merge = loc: defs: { freeformItems = a.merge loc defs; };
12− };
13− config.foo.bar = "ok";
14−}
lib/tests/modules/declare-bare-submodule-deep-option-duplicate.nixdeleted−10
@@ -1,10 +0,0 @@
1−{ lib, ... }:
2−let
3− inherit (lib) mkOption types;
4−in
5−{
6− options.bare-submodule.deep = mkOption {
7− type = types.int;
8− default = 2;
9− };
10−}
lib/tests/modules/declare-bare-submodule-deep-option.nixdeleted−10
@@ -1,10 +0,0 @@
1−{ lib, ... }:
2−let
3− inherit (lib) mkOption types;
4−in
5−{
6− options.bare-submodule.deep = mkOption {
7− type = types.int;
8− default = 2;
9− };
10−}
lib/tests/modules/declare-bare-submodule-nested-option.nixdeleted−19
@@ -1,19 +0,0 @@
1−{ config, lib, ... }:
2−let
3− inherit (lib) mkOption types;
4−in
5−{
6− options.bare-submodule = mkOption {
7− type = types.submoduleWith {
8− shorthandOnlyDefinesConfig = config.shorthandOnlyDefinesConfig;
9− modules = [
10− {
11− options.nested = mkOption {
12− type = types.int;
13− default = 1;
14− };
15− }
16− ];
17− };
18− };
19−}
lib/tests/modules/declare-bare-submodule.nixdeleted−18
@@ -1,18 +0,0 @@
1−{ config, lib, ... }:
2−let
3− inherit (lib) mkOption types;
4−in
5−{
6− options.bare-submodule = mkOption {
7− type = types.submoduleWith {
8− modules = [ ];
9− shorthandOnlyDefinesConfig = config.shorthandOnlyDefinesConfig;
10− };
11− default = {};
12− };
13−
14− # config-dependent options: won't recommend, but useful for making this test parameterized
15− options.shorthandOnlyDefinesConfig = mkOption {
16− default = false;
17− };
18−}
lib/tests/modules/declare-set.nixdeleted−12
@@ -1,12 +0,0 @@
1−{ lib, ... }:
2−
3−{
4− options.set = lib.mkOption {
5− default = { };
6− example = { a = 1; };
7− type = lib.types.attrsOf lib.types.int;
8− description = ''
9− Some descriptive text
10− '';
11− };
12−}
lib/tests/modules/define-bare-submodule-values.nixdeleted−4
@@ -1,4 +0,0 @@
1−{
2− bare-submodule.nested = 42;
3− bare-submodule.deep = 420;
4−}
lib/tests/modules/define-shorthandOnlyDefinesConfig-true.nixdeleted−1
@@ -1 +0,0 @@
1−{ shorthandOnlyDefinesConfig = true; }
lib/tests/modules/emptyValues.nixdeleted−36
@@ -1,36 +0,0 @@
1−{ lib, ... }:
2−let
3− inherit (lib) types;
4−in {
5−
6− options = {
7− int = lib.mkOption {
8− type = types.lazyAttrsOf types.int;
9− };
10− list = lib.mkOption {
11− type = types.lazyAttrsOf (types.listOf types.int);
12− };
13− nonEmptyList = lib.mkOption {
14− type = types.lazyAttrsOf (types.nonEmptyListOf types.int);
15− };
16− attrs = lib.mkOption {
17− type = types.lazyAttrsOf (types.attrsOf types.int);
18− };
19− null = lib.mkOption {
20− type = types.lazyAttrsOf (types.nullOr types.int);
21− };
22− submodule = lib.mkOption {
23− type = types.lazyAttrsOf (types.submodule {});
24− };
25− };
26−
27− config = {
28− int.a = lib.mkIf false null;
29− list.a = lib.mkIf false null;
30− nonEmptyList.a = lib.mkIf false null;
31− attrs.a = lib.mkIf false null;
32− null.a = lib.mkIf false null;
33− submodule.a = lib.mkIf false null;
34− };
35−
36−}
lib/tests/modules/extendModules-168767-imports.nixdeleted−41
@@ -1,41 +0,0 @@
1−{ lib
2−, extendModules
3−, ...
4−}:
5−with lib;
6−{
7− imports = [
8−
9− {
10− options.sub = mkOption {
11− default = { };
12− type = types.submodule (
13− { config
14− , extendModules
15− , ...
16− }:
17− {
18− options.value = mkOption {
19− type = types.int;
20− };
21−
22− options.specialisation = mkOption {
23− default = { };
24− inherit
25− (extendModules {
26− modules = [{
27− specialisation = mkOverride 0 { };
28− }];
29− })
30− type;
31− };
32− }
33− );
34− };
35− }
36−
37− { config.sub.value = 1; }
38−
39−
40− ];
41−}
lib/tests/modules/freeform-submodules.nixdeleted−22
@@ -1,22 +0,0 @@
1−{ lib, options, ... }: with lib.types; {
2−
3− options.fooDeclarations = lib.mkOption {
4− default = (options.free.type.getSubOptions [])._freeformOptions.foo.declarations;
5− };
6−
7− options.free = lib.mkOption {
8− type = submodule {
9− config._module.freeformType = lib.mkMerge [
10− (attrsOf (submodule {
11− options.foo = lib.mkOption {};
12− }))
13− (attrsOf (submodule {
14− options.bar = lib.mkOption {};
15− }))
16− ];
17− };
18− };
19−
20− config.free.xxx.foo = 10;
21− config.free.yyy.bar = 10;
22−}
lib/tests/modules/optionTypeFile.nixdeleted−28
@@ -1,28 +0,0 @@
1−{ config, lib, ... }: {
2−
3− _file = "optionTypeFile.nix";
4−
5− options.theType = lib.mkOption {
6− type = lib.types.optionType;
7− };
8−
9− options.theOption = lib.mkOption {
10− type = config.theType;
11− default = {};
12− };
13−
14− config.theType = lib.mkMerge [
15− (lib.types.submodule {
16− options.nested = lib.mkOption {
17− type = lib.types.int;
18− };
19− })
20− (lib.types.submodule {
21− _file = "other.nix";
22− options.nested = lib.mkOption {
23− type = lib.types.str;
24− };
25− })
26− ];
27−
28−}
lib/tests/modules/optionTypeMerging.nixdeleted−27
@@ -1,27 +0,0 @@
1−{ config, lib, ... }: {
2−
3− options.theType = lib.mkOption {
4− type = lib.types.optionType;
5− };
6−
7− options.theOption = lib.mkOption {
8− type = config.theType;
9− };
10−
11− config.theType = lib.mkMerge [
12− (lib.types.submodule {
13− options.int = lib.mkOption {
14− type = lib.types.int;
15− default = 10;
16− };
17− })
18− (lib.types.submodule {
19− options.str = lib.mkOption {
20− type = lib.types.str;
21− };
22− })
23− ];
24−
25− config.theOption.str = "hello";
26−
27−}
lib/tests/modules/raw.nixdeleted−30
@@ -1,30 +0,0 @@
1−{ lib, ... }: {
2−
3− options = {
4− processedToplevel = lib.mkOption {
5− type = lib.types.raw;
6− };
7− unprocessedNesting = lib.mkOption {
8− type = lib.types.raw;
9− };
10− multiple = lib.mkOption {
11− type = lib.types.raw;
12− };
13− priorities = lib.mkOption {
14− type = lib.types.raw;
15− };
16− };
17−
18− config = {
19− processedToplevel = lib.mkIf true 10;
20− unprocessedNesting.foo = throw "foo";
21− multiple = lib.mkMerge [
22− "foo"
23− "foo"
24− ];
25− priorities = lib.mkMerge [
26− "foo"
27− (lib.mkForce "bar")
28− ];
29− };
30−}
lib/tests/systems.nix+2−5
@@ -17,11 +17,8 @@ with lib.systems.doubles; lib.runTests {
1717
1818 testarm = mseteq arm [ "armv5tel-linux" "armv6l-linux" "armv6l-netbsd" "armv6l-none" "armv7a-linux" "armv7a-netbsd" "armv7l-linux" "armv7l-netbsd" "arm-none" "armv7a-darwin" ];
1919 testi686 = mseteq i686 [ "i686-linux" "i686-freebsd" "i686-genode" "i686-netbsd" "i686-openbsd" "i686-cygwin" "i686-windows" "i686-none" "i686-darwin" ];
20− testmips = mseteq mips [ "mips64el-linux" "mipsel-linux" "mipsel-netbsd" ];
20+ testmips = mseteq mips [ "mipsel-linux" "mipsel-netbsd" ];
2121 testmmix = mseteq mmix [ "mmix-mmixware" ];
22− testriscv = mseteq riscv [ "riscv32-linux" "riscv64-linux" "riscv32-netbsd" "riscv64-netbsd" "riscv32-none" "riscv64-none" ];
23− testriscv32 = mseteq riscv32 [ "riscv32-linux" "riscv32-netbsd" "riscv32-none" ];
24− testriscv64 = mseteq riscv64 [ "riscv64-linux" "riscv64-netbsd" "riscv64-none" ];
2522 testx86_64 = mseteq x86_64 [ "x86_64-linux" "x86_64-darwin" "x86_64-freebsd" "x86_64-genode" "x86_64-redox" "x86_64-openbsd" "x86_64-netbsd" "x86_64-cygwin" "x86_64-solaris" "x86_64-windows" "x86_64-none" ];
2623
2724 testcygwin = mseteq cygwin [ "i686-cygwin" "x86_64-cygwin" ];
@@ -31,7 +28,7 @@ with lib.systems.doubles; lib.runTests {
3128 testredox = mseteq redox [ "x86_64-redox" ];
3229 testgnu = mseteq gnu (linux /* ++ kfreebsd ++ ... */);
3330 testillumos = mseteq illumos [ "x86_64-solaris" ];
34− testlinux = mseteq linux [ "aarch64-linux" "armv5tel-linux" "armv6l-linux" "armv7a-linux" "armv7l-linux" "i686-linux" "mips64el-linux" "mipsel-linux" "riscv32-linux" "riscv64-linux" "x86_64-linux" "powerpc64-linux" "powerpc64le-linux" "m68k-linux" "s390-linux" "s390x-linux" ];
31+ testlinux = mseteq linux [ "aarch64-linux" "armv5tel-linux" "armv6l-linux" "armv7a-linux" "armv7l-linux" "i686-linux" "mipsel-linux" "riscv32-linux" "riscv64-linux" "x86_64-linux" "powerpc64-linux" "powerpc64le-linux" "m68k-linux" "s390-linux" "s390x-linux" ];
3532 testnetbsd = mseteq netbsd [ "aarch64-netbsd" "armv6l-netbsd" "armv7a-netbsd" "armv7l-netbsd" "i686-netbsd" "m68k-netbsd" "mipsel-netbsd" "powerpc-netbsd" "riscv32-netbsd" "riscv64-netbsd" "x86_64-netbsd" ];
3633 testopenbsd = mseteq openbsd [ "i686-openbsd" "x86_64-openbsd" ];
3734 testwindows = mseteq windows [ "i686-cygwin" "x86_64-cygwin" "i686-windows" "x86_64-windows" ];
lib/trivial.nix+6−80
@@ -61,11 +61,11 @@ rec {
6161 pipe = val: functions:
6262 let reverseApply = x: f: f x;
6363 in builtins.foldl' reverseApply val functions;
64−
65− # note please don’t add a function like `compose = flip pipe`.
66− # This would confuse users, because the order of the functions
67− # in the list is not clear. With pipe, it’s obvious that it
68− # goes first-to-last. With `compose`, not so much.
64+ /* note please don’t add a function like `compose = flip pipe`.
65+ This would confuse users, because the order of the functions
66+ in the list is not clear. With pipe, it’s obvious that it
67+ goes first-to-last. With `compose`, not so much.
68+ */
6969
7070 ## Named versions corresponding to some builtin operators.
7171
@@ -166,30 +166,6 @@ rec {
166166 /* Returns the current nixpkgs release number as string. */
167167 release = lib.strings.fileContents ../.version;
168168
169− /* The latest release that is supported, at the time of release branch-off,
170− if applicable.
171−
172− Ideally, out-of-tree modules should be able to evaluate cleanly with all
173− supported Nixpkgs versions (master, release and old release until EOL).
174− So if possible, deprecation warnings should take effect only when all
175− out-of-tree expressions/libs/modules can upgrade to the new way without
176− losing support for supported Nixpkgs versions.
177−
178− This release number allows deprecation warnings to be implemented such that
179− they take effect as soon as the oldest release reaches end of life. */
180− oldestSupportedRelease =
181− # Update on master only. Do not backport.
182− 2111;
183−
184− /* Whether a feature is supported in all supported releases (at the time of
185− release branch-off, if applicable). See `oldestSupportedRelease`. */
186− isInOldestRelease =
187− /* Release number of feature introduction as an integer, e.g. 2111 for 21.11.
188− Set it to the upcoming release, matching the nixpkgs/.version file.
189− */
190− release:
191− release <= lib.trivial.oldestSupportedRelease;
192−
193169 /* Returns the current nixpkgs release code name.
194170
195171 On each release the first letter is bumped and a new animal is chosen
@@ -347,14 +323,7 @@ rec {
347323
348324 Type: bool -> string -> a -> a
349325 */
350− warnIf = cond: msg: if cond then warn msg else x: x;
351−
352− /*
353− Like warnIf, but negated (warn if the first argument is `false`).
354−
355− Type: bool -> string -> a -> a
356− */
357− warnIfNot = cond: msg: if cond then x: x else warn msg;
326+ warnIf = cond: msg: if cond then warn msg else id;
358327
359328 /*
360329 Like the `assert b; e` expression, but with a custom error message and
@@ -378,30 +347,6 @@ rec {
378347 */
379348 throwIfNot = cond: msg: if cond then x: x else throw msg;
380349
381− /*
382− Like throwIfNot, but negated (throw if the first argument is `true`).
383−
384− Type: bool -> string -> a -> a
385− */
386− throwIf = cond: msg: if cond then throw msg else x: x;
387−
388− /* Check if the elements in a list are valid values from a enum, returning the identity function, or throwing an error message otherwise.
389−
390− Example:
391− let colorVariants = ["bright" "dark" "black"]
392− in checkListOfEnum "color variants" [ "standard" "light" "dark" ] colorVariants;
393− =>
394− error: color variants: bright, black unexpected; valid ones: standard, light, dark
395−
396− Type: String -> List ComparableVal -> List ComparableVal -> a -> a
397− */
398− checkListOfEnum = msg: valid: given:
399− let
400− unexpected = lib.subtractLists valid given;
401− in
402− lib.throwIfNot (unexpected == [])
403− "${msg}: ${builtins.concatStringsSep ", " (builtins.map builtins.toString unexpected)} unexpected; valid ones: ${builtins.concatStringsSep ", " (builtins.map builtins.toString valid)}";
404−
405350 info = msg: builtins.trace "INFO: ${msg}";
406351
407352 showWarnings = warnings: res: lib.foldr (w: x: warn w x) res warnings;
@@ -441,25 +386,6 @@ rec {
441386 isFunction = f: builtins.isFunction f ||
442387 (f ? __functor && isFunction (f.__functor f));
443388
444− /*
445− Turns any non-callable values into constant functions.
446− Returns callable values as is.
447−
448− Example:
449−
450− nix-repl> lib.toFunction 1 2
451− 1
452−
453− nix-repl> lib.toFunction (x: x + 1) 2
454− 3
455− */
456− toFunction =
457− # Any value
458− v:
459− if isFunction v
460− then v
461− else k: v;
462−
463389 /* Convert the given positive integer to a string of its hexadecimal
464390 representation. For example:
465391
lib/types.nix+22−100
@@ -32,6 +32,7 @@ let
3232 last
3333 length
3434 tail
35+ unique
3536 ;
3637 inherit (lib.attrsets)
3738 attrNames
@@ -47,7 +48,6 @@ let
4748 mergeDefaultOption
4849 mergeEqualOption
4950 mergeOneOption
50− mergeUniqueOption
5151 showFiles
5252 showOption
5353 ;
@@ -61,11 +61,7 @@ let
6161 boolToString
6262 ;
6363
64− inherit (lib.modules)
65− mergeDefinitions
66− fixupOptionType
67− mergeOptionDecls
68− ;
64+ inherit (lib.modules) mergeDefinitions;
6965 outer_types =
7066rec {
7167 isType = type: x: (x._type or "") == type;
@@ -166,13 +162,6 @@ rec {
166162 # nixos/doc/manual/development/option-types.xml!
167163 types = rec {
168164
169− raw = mkOptionType rec {
170− name = "raw";
171− description = "raw value";
172− check = value: true;
173− merge = mergeOneOption;
174− };
175−
176165 anything = mkOptionType {
177166 name = "anything";
178167 description = "anything";
@@ -311,19 +300,6 @@ rec {
311300 inherit (str) merge;
312301 };
313302
314− # Allow a newline character at the end and trim it in the merge function.
315− singleLineStr =
316− let
317− inherit (strMatching "[^\n\r]*\n?") check merge;
318− in
319− mkOptionType {
320− name = "singleLineStr";
321− description = "(optionally newline-terminated) single-line string";
322− inherit check;
323− merge = loc: defs:
324− lib.removeSuffix "\n" (merge loc defs);
325− };
326−
327303 strMatching = pattern: mkOptionType {
328304 name = "strMatching ${escapeNixString pattern}";
329305 description = "string matching the pattern ${pattern}";
@@ -368,21 +344,13 @@ rec {
368344 emptyValue = { value = {}; };
369345 };
370346
371− # A package is a top-level store path (/nix/store/hash-name). This includes:
372− # - derivations
373− # - more generally, attribute sets with an `outPath` or `__toString` attribute
374− # pointing to a store path, e.g. flake inputs
375− # - strings with context, e.g. "${pkgs.foo}" or (toString pkgs.foo)
376− # - hardcoded store path literals (/nix/store/hash-foo) or strings without context
377− # ("/nix/store/hash-foo"). These get a context added to them using builtins.storePath.
347+ # derivation is a reserved keyword.
378348 package = mkOptionType {
379349 name = "package";
380350 check = x: isDerivation x || isStorePath x;
381351 merge = loc: defs:
382352 let res = mergeOneOption loc defs;
383− in if builtins.isPath res || (builtins.isString res && ! builtins.hasContext res)
384− then toDerivation res
385− else res;
353+ in if isDerivation res then res else toDerivation res;
386354 };
387355
388356 shellPackage = package // {
@@ -409,7 +377,7 @@ rec {
409377 ).optionalValue
410378 ) def.value
411379 ) defs)));
412− emptyValue = { value = []; };
380+ emptyValue = { value = {}; };
413381 getSubOptions = prefix: elemType.getSubOptions (prefix ++ ["*"]);
414382 getSubModules = elemType.getSubModules;
415383 substSubModules = m: listOf (elemType.substSubModules m);
@@ -421,7 +389,7 @@ rec {
421389 let list = addCheck (types.listOf elemType) (l: l != []);
422390 in list // {
423391 description = "non-empty " + list.description;
424− emptyValue = { }; # no .value attr, meaning unset
392+ # Note: emptyValue is left as is, because another module may define an element.
425393 };
426394
427395 attrsOf = elemType: mkOptionType rec {
@@ -489,18 +457,6 @@ rec {
489457 nestedTypes.elemType = elemType;
490458 };
491459
492− unique = { message }: type: mkOptionType rec {
493− name = "unique";
494− inherit (type) description check;
495− merge = mergeUniqueOption { inherit message; };
496− emptyValue = type.emptyValue;
497− getSubOptions = type.getSubOptions;
498− getSubModules = type.getSubModules;
499− substSubModules = m: uniq (type.substSubModules m);
500− functor = (defaultFunctor name) // { wrapped = type; };
501− nestedTypes.elemType = type;
502− };
503−
504460 # Null or value of ...
505461 nullOr = elemType: mkOptionType rec {
506462 name = "nullOr";
@@ -522,7 +478,7 @@ rec {
522478
523479 functionTo = elemType: mkOptionType {
524480 name = "functionTo";
525− description = "function that evaluates to a(n) ${elemType.description}";
481+ description = "function that evaluates to a(n) ${elemType.name}";
526482 check = isFunction;
527483 merge = loc: defs:
528484 fnArgs: (mergeDefinitions (loc ++ [ "[function body]" ]) elemType (map (fn: { inherit (fn) file; value = fn.value fnArgs; }) defs)).mergedValue;
@@ -537,58 +493,22 @@ rec {
537493 modules = toList modules;
538494 };
539495
540− # The type of a type!
541− optionType = mkOptionType {
542− name = "optionType";
543− description = "optionType";
544− check = value: value._type or null == "option-type";
545− merge = loc: defs:
546− if length defs == 1
547− then (head defs).value
548− else let
549− # Prepares the type definitions for mergeOptionDecls, which
550− # annotates submodules types with file locations
551− optionModules = map ({ value, file }:
552− {
553− _file = file;
554− # There's no way to merge types directly from the module system,
555− # but we can cheat a bit by just declaring an option with the type
556− options = lib.mkOption {
557− type = value;
558− };
559− }
560− ) defs;
561− # Merges all the types into a single one, including submodule merging.
562− # This also propagates file information to all submodules
563− mergedOption = fixupOptionType loc (mergeOptionDecls loc optionModules);
564− in mergedOption.type;
565− };
566−
567496 submoduleWith =
568497 { modules
569498 , specialArgs ? {}
570499 , shorthandOnlyDefinesConfig ? false
571−
572− # Internal variable to avoid `_key` collisions regardless
573− # of `extendModules`. Wired through by `evalModules`.
574− # Test case: lib/tests/modules, "168767"
575− , extensionOffset ? 0
576500 }@attrs:
577501 let
578502 inherit (lib.modules) evalModules;
579503
580− shorthandToModule = if shorthandOnlyDefinesConfig == false
581− then value: value
582− else value: { config = value; };
504+ coerce = unify: value: if isFunction value
505+ then setFunctionArgs (args: unify (value args)) (functionArgs value)
506+ else unify (if shorthandOnlyDefinesConfig then { config = value; } else value);
583507
584508 allModules = defs: imap1 (n: { value, file }:
585− if isFunction value
586− then setFunctionArgs
587− (args: lib.modules.unifyModuleSyntax file "${toString file}-${toString (n + extensionOffset)}" (value args))
588− (functionArgs value)
589− else if isAttrs value
590− then
591− lib.modules.unifyModuleSyntax file "${toString file}-${toString (n + extensionOffset)}" (shorthandToModule value)
509+ if isAttrs value || isFunction value then
510+ # Annotate the value with the location of its definition for better error messages
511+ coerce (lib.modules.unifyModuleSyntax file "${toString file}-${toString n}") value
592512 else value
593513 ) defs;
594514
@@ -625,7 +545,6 @@ rec {
625545 (base.extendModules {
626546 modules = [ { _module.args.name = last loc; } ] ++ allModules defs;
627547 prefix = loc;
628− extensionOffset = extensionOffset + length defs;
629548 }).config;
630549 emptyValue = { value = {}; };
631550 getSubOptions = prefix: (base.extendModules
@@ -657,11 +576,7 @@ rec {
657576 then lhs.specialArgs // rhs.specialArgs
658577 else throw "A submoduleWith option is declared multiple times with the same specialArgs \"${toString (attrNames intersecting)}\"";
659578 shorthandOnlyDefinesConfig =
660− if lhs.shorthandOnlyDefinesConfig == null
661− then rhs.shorthandOnlyDefinesConfig
662− else if rhs.shorthandOnlyDefinesConfig == null
663− then lhs.shorthandOnlyDefinesConfig
664− else if lhs.shorthandOnlyDefinesConfig == rhs.shorthandOnlyDefinesConfig
579+ if lhs.shorthandOnlyDefinesConfig == rhs.shorthandOnlyDefinesConfig
665580 then lhs.shorthandOnlyDefinesConfig
666581 else throw "A submoduleWith option is declared multiple times with conflicting shorthandOnlyDefinesConfig values";
667582 };
@@ -671,7 +586,6 @@ rec {
671586 # A value from a set of allowed ones.
672587 enum = values:
673588 let
674− inherit (lib.lists) unique;
675589 show = v:
676590 if builtins.isString v then ''"${v}"''
677591 else if builtins.isInt v then builtins.toString v
@@ -755,6 +669,14 @@ rec {
755669 nestedTypes.finalType = finalType;
756670 };
757671
672+ # Obsolete alternative to configOf. It takes its option
673+ # declarations from the ‘options’ attribute of containing option
674+ # declaration.
675+ optionSet = mkOptionType {
676+ name = "optionSet";
677+ description = "option set";
678+ deprecationMessage = "Use `types.submodule' instead";
679+ };
758680 # Augment the given type with an additional type check function.
759681 addCheck = elemType: check: elemType // { check = x: elemType.check x && check x; };
760682
maintainers/maintainer-list.nix+111−1000
@@ -145,12 +145,6 @@
145145 githubId = 16829510;
146146 name = "Aaron Janse";
147147 };
148− aaronjheng = {
149− email = "wentworth@outlook.com";
150− github = "aaronjheng";
151− githubId = 806876;
152− name = "Aaron Jheng";
153− };
154148 aaronschif = {
155149 email = "aaronschif@gmail.com";
156150 github = "aaronschif";
@@ -380,12 +374,6 @@
380374 githubId = 209175;
381375 name = "Alesya Huzik";
382376 };
383− aidalgol = {
384− email = "aidalgol+nixpkgs@fastmail.net";
385− github = "aidalgol";
386− githubId = 2313201;
387− name = "Aidan Gauland";
388− };
389377 aij = {
390378 email = "aij+git@mrph.org";
391379 github = "aij";
@@ -525,11 +513,9 @@
525513 githubId = 38869148;
526514 name = "Alex Eyre";
527515 };
528− algram = {
529− email = "aliasgram@gmail.com";
530− github = "Algram";
531− githubId = 5053729;
532− name = "Alias Gram";
516+ algorith = {
517+ email = "dries_van_daele@telenet.be";
518+ name = "Dries Van Daele";
533519 };
534520 alibabzo = {
535521 email = "alistair.bill@gmail.com";
@@ -613,12 +599,6 @@
613599 githubId = 15623522;
614600 name = "Amar Paul";
615601 };
616− amarshall = {
617− email = "andrew@johnandrewmarshall.com";
618− github = "amarshall";
619− githubId = 153175;
620− name = "Andrew Marshall";
621− };
622602 ambroisie = {
623603 email = "bruno.nixpkgs@belanyi.fr";
624604 github = "ambroisie";
@@ -681,18 +661,6 @@
681661 githubId = 858965;
682662 name = "Andrew Morsillo";
683663 };
684− an-empty-string = {
685− name = "Tris Emmy Wilson";
686− email = "tris@tris.fyi";
687− github = "an-empty-string";
688− githubId = 681716;
689− };
690− AnatolyPopov = {
691− email = "aipopov@live.ru";
692− github = "AnatolyPopov";
693− githubId = 2312534;
694− name = "Anatolii Popov";
695− };
696664 andehen = {
697665 email = "git@andehen.net";
698666 github = "andehen";
@@ -795,6 +763,13 @@
795763 githubId = 11699655;
796764 name = "Stanislas Lange";
797765 };
766+ angustrau = {
767+ name = "Angus Trau";
768+ email = "nix@angus.ws";
769+ matrix = "@angustrau:matrix.org";
770+ github = "angustrau";
771+ githubId = 13267947;
772+ };
798773 anhdle14 = {
799774 name = "Le Anh Duc";
800775 email = "anhdle14@icloud.com";
@@ -841,13 +816,6 @@
841816 githubId = 5327697;
842817 name = "Anatolii Prylutskyi";
843818 };
844− anselmschueler = {
845− email = "mail@anselmschueler.com";
846− github = "schuelermine";
847− githubId = 48802534;
848− name = "Anselm Schüler";
849− matrix = "@schuelermine:matrix.org";
850− };
851819 antoinerg = {
852820 email = "roygobeil.antoine@gmail.com";
853821 github = "antoinerg";
@@ -960,12 +928,6 @@
960928 githubId = 1296771;
961929 name = "Anders Riutta";
962930 };
963− arjan-s = {
964− email = "github@anymore.nl";
965− github = "arjan-s";
966− githubId = 10400299;
967− name = "Arjan Schrijver";
968− };
969931 arkivm = {
970932 email = "vikram186@gmail.com";
971933 github = "arkivm";
@@ -1068,8 +1030,8 @@
10681030 name = "Kirill Boltaev";
10691031 };
10701032 ashley = {
1071− email = "ashley@kira64.xyz";
1072− github = "kira64xyz";
1033+ email = "personavinny@protonmail.com";
1034+ github = "paranoidcat";
10731035 githubId = 84152630;
10741036 name = "Ashley Chiara";
10751037 };
@@ -1119,12 +1081,6 @@
11191081 githubId = 55833;
11201082 name = "Troels Henriksen";
11211083 };
1122− atila = {
1123− name = "Átila Saraiva";
1124− email = "atilasaraiva@gmail.com";
1125− github = "AtilaSaraiva";
1126− githubId = 29521461;
1127− };
11281084 atkinschang = {
11291085 email = "atkinschang+nixpkgs@gmail.com";
11301086 github = "AtkinsChang";
@@ -1227,14 +1183,14 @@
12271183 name = "Artturi N";
12281184 };
12291185 azahi = {
1230− name = "Azat Bahawi";
1231− email = "azat@bahawi.net";
1232− matrix = "@azahi:azahi.cc";
1186+ email = "azahi@teknik.io";
1187+ matrix = "@azahi:matrix.org";
12331188 github = "azahi";
12341189 githubId = 22211000;
1190+ name = "Azat Bahawi";
12351191 keys = [{
1236− longkeyid = "rsa4096/0xC8C6BDDB3847F72B";
1237− fingerprint = "2688 0377 C31D 9E81 9BDF 83A8 C8C6 BDDB 3847 F72B";
1192+ longkeyid = "rsa2048/0xB40FCB6608BBE3B6";
1193+ fingerprint = "E9F3 483F 31C7 29B4 4CA2 7C38 B40F CB66 08BB E3B6";
12381194 }];
12391195 };
12401196 ayazhafiz = {
@@ -1243,12 +1199,6 @@
12431199 githubId = 262763;
12441200 name = "Ayaz Hafiz";
12451201 };
1246− azuwis = {
1247− email = "azuwis@gmail.com";
1248− github = "azuwis";
1249− githubId = 9315;
1250− name = "Zhong Jianxin";
1251− };
12521202 b4dm4n = {
12531203 email = "fabianm88@gmail.com";
12541204 github = "B4dM4n";
@@ -1332,24 +1282,12 @@
13321282 githubId = 127523;
13331283 name = "Herman Fries";
13341284 };
1335− BarinovMaxim = {
1336− name = "Barinov Maxim";
1337− email = "barinov274@gmail.com";
1338− github = "barinov274";
1339− githubId = 54442153;
1340− };
13411285 barrucadu = {
13421286 email = "mike@barrucadu.co.uk";
13431287 github = "barrucadu";
13441288 githubId = 75235;
13451289 name = "Michael Walker";
13461290 };
1347− bartsch = {
1348− email = "consume.noise@gmail.com";
1349− github = "bartsch";
1350− githubId = 3390885;
1351− name = "Daniel Martin";
1352− };
13531291 bartuka = {
13541292 email = "wand@hey.com";
13551293 github = "wandersoncferreira";
@@ -1409,12 +1347,6 @@
14091347 githubId = 164148;
14101348 name = "Ben Darwin";
14111349 };
1412− bdd = {
1413− email = "bdd@mindcast.org";
1414− github = "bdd";
1415− githubId = 11135;
1416− name = "Berk D. Demir";
1417− };
14181350 bdesham = {
14191351 email = "benjamin@esham.io";
14201352 github = "bdesham";
@@ -1737,12 +1669,6 @@
17371669 githubId = 355401;
17381670 name = "Brian Hicks";
17391671 };
1740− brianmcgee = {
1741− name = "Brian McGee";
1742− email = "brian@41north.dev";
1743− github = "brianmcgee";
1744− githubId = 1173648;
1745− };
17461672 Br1ght0ne = {
17471673 email = "brightone@protonmail.com";
17481674 github = "Br1ght0ne";
@@ -1831,12 +1757,6 @@
18311757 githubId = 7214361;
18321758 name = "Roman Gerasimenko";
18331759 };
1834− builditluc = {
1835− email = "builditluc@icloud.com";
1836− github = "builditluc";
1837− githubId = 37375448;
1838− name = "Buildit";
1839− };
18401760 bburdette = {
18411761 email = "bburdette@protonmail.com";
18421762 github = "bburdette";
@@ -1956,12 +1876,6 @@
19561876 githubId = 82591;
19571877 name = "Carl Sverre";
19581878 };
1959− carpinchomug = {
1960− email = "aki.suda@protonmail.com";
1961− github = "carpinchomug";
1962− githubId = 101536256;
1963− name = "Akiyoshi Suda";
1964− };
19651879 cartr = {
19661880 email = "carter.sande@duodecima.technology";
19671881 github = "cartr";
@@ -2004,10 +1918,12 @@
20041918 github = "cburstedde";
20051919 githubId = 109908;
20061920 name = "Carsten Burstedde";
2007− keys = [{
2008− longkeyid = "rsa2048/0x0704CD9E550A6BCD";
2009− fingerprint = "1127 A432 6524 BF02 737B 544E 0704 CD9E 550A 6BCD";
2010− }];
1921+ keys = [
1922+ {
1923+ longkeyid = "rsa2048/0x0704CD9E550A6BCD";
1924+ fingerprint = "1127 A432 6524 BF02 737B 544E 0704 CD9E 550A 6BCD";
1925+ }
1926+ ];
20111927 };
20121928 cdepillabout = {
20131929 email = "cdep.illabout@gmail.com";
@@ -2034,12 +1950,6 @@
20341950 githubId = 543423;
20351951 name = "Alex Wied";
20361952 };
2037− cfhammill = {
2038− email = "cfhammill@gmail.com";
2039− github = "cfhammill";
2040− githubId = 7467038;
2041− name = "Chris Hammill";
2042− };
20431953 cfouche = {
20441954 email = "chaddai.fouche@gmail.com";
20451955 github = "Chaddai";
@@ -2086,12 +1996,6 @@
20861996 githubId = 8228888;
20871997 name = "Charlie Hanley";
20881998 };
2089− charlesbaynham = {
2090− email = "charlesbaynham@gmail.com";
2091− github = "charlesbaynham";
2092− githubId = 4397637;
2093− name = "Charles Baynham";
2094− };
20951999 CharlesHD = {
20962000 email = "charleshdespointes@gmail.com";
20972001 github = "CharlesHD";
@@ -2132,6 +2036,12 @@
21322036 githubId = 18648043;
21332037 name = "Daniel Cartwright";
21342038 };
2039+ chiiruno = {
2040+ email = "okinan@protonmail.com";
2041+ github = "chiiruno";
2042+ githubId = 30435868;
2043+ name = "Okina Matara";
2044+ };
21352045 Chili-Man = {
21362046 email = "dr.elhombrechile@gmail.com";
21372047 name = "Diego Rodriguez";
@@ -2248,12 +2158,6 @@
22482158 githubId = 42220376;
22492159 name = "Charlotte Van Petegem";
22502160 };
2251− cigrainger = {
2252− name = "Christopher Grainger";
2253− email = "chris@amplified.ai";
2254− github = "cigrainger";
2255− githubId = 3984794;
2256− };
22572161 ciil = {
22582162 email = "simon@lackerbauer.com";
22592163 github = "ciil";
@@ -2297,13 +2201,12 @@
22972201 ckie = {
22982202 email = "nixpkgs-0efe364@ckie.dev";
22992203 github = "ckiee";
2300− githubId = 25263210;
2204+ githubId = 2526321;
23012205 keys = [{
23022206 longkeyid = "rsa4096/0x13E79449C0525215";
23032207 fingerprint = "539F 0655 4D35 38A5 429A E253 13E7 9449 C052 5215";
23042208 }];
23052209 name = "ckie";
2306− matrix = "@ckie:ckie.dev";
23072210 };
23082211 clkamp = {
23092212 email = "c@lkamp.de";
@@ -2382,12 +2285,6 @@
23822285 githubId = 34317;
23832286 name = "Corey O'Connor";
23842287 };
2385− CodeLongAndProsper90 = {
2386− github = "CodeLongAndProsper90";
2387− githubId = 50145141;
2388− email = "jupiter@m.rdis.dev";
2389− name = "Scott Little";
2390− };
23912288 codsl = {
23922289 email = "codsl@riseup.net";
23932290 github = "codsl";
@@ -2400,13 +2297,6 @@
24002297 githubId = 5561189;
24012298 name = "Cody Opel";
24022299 };
2403− Cogitri = {
2404− email = "oss@cogitri.dev";
2405− github = "Cogitri";
2406− githubId = 8766773;
2407− matrix = "@cogitri:cogitri.dev";
2408− name = "Rasmus Thomsen";
2409− };
24102300 cohei = {
24112301 email = "a.d.xvii.kal.mai@gmail.com";
24122302 github = "cohei";
@@ -2479,13 +2369,6 @@
24792369 githubId = 11145016;
24802370 name = "J.C.";
24812371 };
2482− congee = {
2483− email = "changshengwu@pm.me";
2484− matrix = "@congeec:matrix.org";
2485− github = "congee";
2486− name = "Changsheng Wu";
2487− githubId = 2083950;
2488− };
24892372 contrun = {
24902373 email = "uuuuuu@protonmail.com";
24912374 github = "contrun";
@@ -2498,23 +2381,6 @@
24982381 githubId = 5510514;
24992382 name = "Conrad Mearns";
25002383 };
2501− corbanr = {
2502− email = "corban@raunco.co";
2503− github = "CorbanR";
2504− githubId = 1918683;
2505− matrix = "@corbansolo:matrix.org";
2506− name = "Corban Raun";
2507− keys = [
2508− {
2509− longkeyid = "rsa4096/0xA697A56F1F151189";
2510− fingerprint = "6607 0B24 8CE5 64ED 22CE 0950 A697 A56F 1F15 1189";
2511− }
2512− {
2513− longkeyid = "ed25519/0x230F4AC153F90F29";
2514− fingerprint = "D8CB 816A B678 A4E6 1EC7 5325 230F 4AC1 53F9 0F29";
2515− }
2516− ];
2517− };
25182384 couchemar = {
25192385 email = "couchemar@yandex.ru";
25202386 github = "couchemar";
@@ -2874,12 +2740,6 @@
28742740 githubId = 49904992;
28752741 name = "Dawid Sowa";
28762742 };
2877− dbeckwith = {
2878− email = "djbsnx@gmail.com";
2879− github = "dbeckwith";
2880− githubId = 1279939;
2881− name = "Daniel Beckwith";
2882− };
28832743 dbirks = {
28842744 email = "david@birks.dev";
28852745 github = "dbirks";
@@ -2994,24 +2854,12 @@
29942854 githubId = 706758;
29952855 name = "Christian Gerbrandt";
29962856 };
2997− derekcollison = {
2998− email = "derek@nats.io";
2999− github = "derekcollison";
3000− githubId = 90097;
3001− name = "Derek Collison";
3002− };
30032857 DerGuteMoritz = {
30042858 email = "moritz@twoticketsplease.de";
30052859 github = "DerGuteMoritz";
30062860 githubId = 19733;
30072861 name = "Moritz Heidkamp";
30082862 };
3009− DerickEddington = {
3010− email = "derick.eddington@pm.me";
3011− github = "DerickEddington";
3012− githubId = 4731128;
3013− name = "Derick Eddington";
3014− };
30152863 dermetfan = {
30162864 email = "serverkorken@gmail.com";
30172865 github = "dermetfan";
@@ -3096,12 +2944,6 @@
30962944 githubId = 8404455;
30972945 name = "Diego Lelis";
30982946 };
3099− DieracDelta = {
3100− email = "justin@restivo.me";
3101− github = "DieracDelta";
3102− githubId = 13730968;
3103− name = "Justin Restivo";
3104− };
31052947 diffumist = {
31062948 email = "git@diffumist.me";
31072949 github = "diffumist";
@@ -3520,12 +3362,6 @@
35203362 githubId = 18535642;
35213363 name = "Emily";
35223364 };
3523− emilytrau = {
3524− name = "Emily Trau";
3525− email = "nix@angus.ws";
3526− github = "emilytrau";
3527− githubId = 13267947;
3528− };
35293365 enderger = {
35303366 email = "endergeryt@gmail.com";
35313367 github = "enderger";
@@ -3599,12 +3435,6 @@
35993435 githubId = 4742;
36003436 name = "Aaron Bull Schaefer";
36013437 };
3602− elatov = {
3603− email = "elatov@gmail.com";
3604− github = "elatov";
3605− githubId = 7494394;
3606− name = "Karim Elatov";
3607− };
36083438 eleanor = {
36093439 email = "dejan@proteansec.com";
36103440 github = "proteansec";
@@ -3691,7 +3521,7 @@
36913521 name = "Leo Maroni";
36923522 };
36933523 emmanuelrosa = {
3694− email = "emmanuelrosa@protonmail.com";
3524+ email = "emmanuel_rosa@aol.com";
36953525 matrix = "@emmanuelrosa:matrix.org";
36963526 github = "emmanuelrosa";
36973527 githubId = 13485450;
@@ -3881,19 +3711,6 @@
38813711 githubId = 222467;
38823712 name = "Dmitry Ivanov";
38833713 };
3884− ethindp = {
3885− name = "Ethin Probst";
3886− email = "harlydavidsen@gmail.com";
3887− matrix = "@ethindp:the-gdn.net";
3888− github = "ethindp";
3889− githubId = 8030501;
3890− };
3891− Etjean = {
3892− email = "et.jean@outlook.fr";
3893− github = "Etjean";
3894− githubId = 32169529;
3895− name = "Etienne Jean";
3896− };
38973714 etu = {
38983715 email = "elis@hirwing.se";
38993716 matrix = "@etu:semi.social";
@@ -4076,12 +3893,6 @@
40763893 githubId = 1276854;
40773894 name = "Florian Peter";
40783895 };
4079− fbeffa = {
4080− email = "beffa@fbengineering.ch";
4081− github = "fedeinthemix";
4082− githubId = 7670450;
4083− name = "Federico Beffa";
4084− };
40853896 fbrs = {
40863897 email = "yuuki@protonmail.com";
40873898 github = "cideM";
@@ -4124,18 +3935,11 @@
41243935 matrix = "@felschr:matrix.org";
41253936 github = "felschr";
41263937 githubId = 3314323;
4127− name = "Felix Schröter";
4128− keys = [
4129− {
4130− # historical
4131− longkeyid = "ed25519/0x910ACB9F6BD26F58";
4132− fingerprint = "6AB3 7A28 5420 9A41 82D9 0068 910A CB9F 6BD2 6F58";
4133− }
4134− {
4135− longkeyid = "ed25519/0x671E39E6744C807D";
4136− fingerprint = "7E08 6842 0934 AA1D 6821 1F2A 671E 39E6 744C 807D";
4137− }
4138− ];
3938+ name = "Felix Tenley";
3939+ keys = [{
3940+ longkeyid = "ed25519/0x910ACB9F6BD26F58";
3941+ fingerprint = "6AB3 7A28 5420 9A41 82D9 0068 910A CB9F 6BD2 6F58";
3942+ }];
41393943 };
41403944 ffinkdevs = {
41413945 email = "fink@h0st.space";
@@ -4181,12 +3985,6 @@
41813985 github = "fitzgibbon";
41823986 githubId = 617048;
41833987 };
4184− fkautz = {
4185− name = "Frederick F. Kautz IV";
4186− email = "fkautz@alumni.cmu.edu";
4187− github = "fkautz";
4188− githubId = 135706;
4189− };
41903988 Flakebi = {
41913989 email = "flakebi@t-online.de";
41923990 github = "Flakebi";
@@ -4311,18 +4109,19 @@
43114109 githubId = 119691;
43124110 name = "Michael Gough";
43134111 };
4314− freax13 = {
4315− email = "erbse.13@gmx.de";
4316− github = "freax13";
4317− githubId = 14952658;
4318− name = "Tom Dohrmann";
4319− };
4112+
43204113 fredeb = {
43214114 email = "im@fredeb.dev";
43224115 github = "fredeeb";
43234116 githubId = 7551358;
43244117 name = "Frede Emil";
43254118 };
4119+ freepotion = {
4120+ email = "42352817+freepotion@users.noreply.github.com";
4121+ github = "freepotion";
4122+ githubId = 42352817;
4123+ name = "Free Potion";
4124+ };
43264125 freezeboy = {
43274126 email = "freezeboy@users.noreply.github.com";
43284127 github = "freezeboy";
@@ -4445,16 +4244,6 @@
44454244 githubId = 1313787;
44464245 name = "Gabriel Gonzalez";
44474246 };
4448− gador = {
4449− email = "florian.brandes@posteo.de";
4450− github = "gador";
4451− githubId = 1883533;
4452− name = "Florian Brandes";
4453− keys = [{
4454− longkeyid = "rsa4096/0xBBB3E40E53797FD9";
4455− fingerprint = "0200 3EF8 8D2B CF2D 8F00 FFDC BBB3 E40E 5379 7FD9";
4456− }];
4457− };
44584247 gal_bolle = {
44594248 email = "florent.becker@ens-lyon.org";
44604249 github = "FlorentBecker";
@@ -4560,12 +4349,6 @@
45604349 githubId = 3217744;
45614350 name = "Peter Ferenczy";
45624351 };
4563− ghostbuster91 = {
4564− name = "Kasper Kondzielski";
4565− email = "kghost0@gmail.com";
4566− github = "ghostbuster91";
4567− githubId = 5662622;
4568− };
45694352 ghuntley = {
45704353 email = "ghuntley@ghuntley.com";
45714354 github = "ghuntley";
@@ -4584,12 +4367,6 @@
45844367 githubId = 27668;
45854368 name = "Tobias Pflug";
45864369 };
4587− gin66 = {
4588− email = "jochen@kiemes.de";
4589− github = "gin66";
4590− githubId = 5549373;
4591− name = "Jochen Kiemes";
4592− };
45934370 giogadi = {
45944371 email = "lgtorres42@gmail.com";
45954372 github = "giogadi";
@@ -4666,16 +4443,6 @@
46664443 githubId = 1621335;
46674444 name = "Andrew Trachenko";
46684445 };
4669− gordias = {
4670− name = "Gordias";
4671− email = "gordias@disroot.org";
4672− github = "gordiasdot";
4673− githubId = 94724133;
4674− keys = [{
4675− longkeyid = "ed25519/0x5D47284830FAA4FA";
4676− fingerprint = "C006 B8A0 0618 F3B6 E0E4 2ECD 5D47 2848 30FA A4FA";
4677− }];
4678− };
46794446 govanify = {
46804447 name = "Gauvain 'GovanifY' Roussel-Tarbouriech";
46814448 email = "gauvain@govanify.com";
@@ -4720,12 +4487,6 @@
47204487 githubId = 4656860;
47214488 name = "Gaute Ravndal";
47224489 };
4723− graysonhead = {
4724− email = "grayson@graysonhead.net";
4725− github = "graysonhead";
4726− githubId = 6179496;
4727− name = "Grayson Head";
4728− };
47294490 grburst = {
47304491 email = "GRBurst@protonmail.com";
47314492 github = "GRBurst";
@@ -4754,12 +4515,6 @@
47544515 githubId = 201997;
47554516 name = "Eric Seidel";
47564517 };
4757− grindhold = {
4758− name = "grindhold";
4759− email = "grindhold+nix@skarphed.org";
4760− github = "grindhold";
4761− githubId = 2592640;
4762− };
47634518 gspia = {
47644519 email = "iahogsp@gmail.com";
47654520 github = "gspia";
@@ -4778,18 +4533,6 @@
47784533 githubId = 343415;
47794534 name = "Greg Roodt";
47804535 };
4781− grnnja = {
4782− email = "grnnja@gmail.com";
4783− github = "grnnja";
4784− githubId = 31556469;
4785− name = "Prem Netsuwan";
4786− };
4787− gruve-p = {
4788− email = "groestlcoin@gmail.com";
4789− github = "gruve-p";
4790− githubId = 11212268;
4791− name = "gruve-p";
4792− };
47934536 gschwartz = {
47944537 email = "gsch@pennmedicine.upenn.edu";
47954538 github = "GregorySchwartz";
@@ -5499,12 +5242,6 @@
54995242 githubId = 41924494;
55005243 name = "Ivar";
55015244 };
5502− iwanb = {
5503− email = "tracnar@gmail.com";
5504− github = "iwanb";
5505− githubId = 4035835;
5506− name = "Iwan";
5507− };
55085245 ixmatus = {
55095246 email = "parnell@digitalmentat.com";
55105247 github = "ixmatus";
@@ -5649,12 +5386,6 @@
56495386 githubId = 488556;
56505387 name = "Javier Aguirre";
56515388 };
5652− jayesh-bhoot = {
5653− name = "Jayesh Bhoot";
5654− email = "jayesh@bhoot.sh";
5655− github = "jayesh-bhoot";
5656− githubId = 1915507;
5657− };
56585389 jb55 = {
56595390 email = "jb55@jb55.com";
56605391 github = "jb55";
@@ -5680,12 +5411,6 @@
56805411 githubId = 221929;
56815412 name = "Jean-Baptiste Giraudeau";
56825413 };
5683− jc = {
5684− name = "Josh Cooper";
5685− email = "josh@cooper.is";
5686− github = "joshua-cooper";
5687− githubId = 35612334;
5688− };
56895414 jceb = {
56905415 name = "jceb";
56915416 email = "jceb@e-jc.de";
@@ -5760,12 +5485,6 @@
57605485 github = "jduan";
57615486 githubId = 452450;
57625487 };
5763− jdupak = {
5764− name = "Jakub Dupak";
5765− email = "dev@jakubdupak.com";
5766− github = "jdupak";
5767− githubId = 22683640;
5768− };
57695488 jecaro = {
57705489 email = "jeancharles.quillet@gmail.com";
57715490 github = "jecaro";
@@ -5820,16 +5539,6 @@
58205539 githubId = 143075;
58215540 name = "James Felix Black";
58225541 };
5823− jfchevrette = {
5824− email = "jfchevrette@gmail.com";
5825− github = "jfchevrette";
5826− githubId = 3001;
5827− name = "Jean-Francois Chevrette";
5828− keys = [{
5829− longkeyid = "rsa4096/0x67A0585801290DC6";
5830− fingerprint = "B612 96A9 498E EECD D5E9 C0F0 67A0 5858 0129 0DC6";
5831− }];
5832− };
58335542 jflanglois = {
58345543 email = "yourstruly@julienlanglois.me";
58355544 github = "jflanglois";
@@ -5962,36 +5671,12 @@
59625671 githubId = 8900;
59635672 name = "Johan Magnus Jonsson";
59645673 };
5965− jmc-figueira = {
5966− email = "business+nixos@jmc-figueira.dev";
5967− github = "jmc-figueira";
5968− githubId = 6634716;
5969− name = "João Figueira";
5970− keys = [
5971− # GitHub signing key
5972− {
5973− longkeyid = "rsa4096/0xDC7AE56AE98E02D7";
5974− fingerprint = "EC08 7AA3 DEAD A972 F015 6371 DC7A E56A E98E 02D7";
5975− }
5976− # Email encryption
5977− {
5978− longkeyid = "ed25519/0x197F9A632D139E30";
5979− fingerprint = "816D 23F5 E672 EC58 7674 4A73 197F 9A63 2D13 9E30";
5980− }
5981− ];
5982− };
59835674 jmettes = {
59845675 email = "jonathan@jmettes.com";
59855676 github = "jmettes";
59865677 githubId = 587870;
59875678 name = "Jonathan Mettes";
59885679 };
5989− jmgilman = {
5990− email = "joshuagilman@gmail.com";
5991− github = "jmgilman";
5992− githubId = 2308444;
5993− name = "Joshua Gilman";
5994− };
59955680 jo1gi = {
59965681 email = "joakimholm@protonmail.com";
59975682 github = "jo1gi";
@@ -6218,12 +5903,6 @@
62185903 githubId = 4611077;
62195904 name = "Raymond Gauthier";
62205905 };
6221− jrpotter = {
6222− email = "jrpotter2112@gmail.com";
6223− github = "jrpotter";
6224− githubId = 3267697;
6225− name = "Joshua Potter";
6226− };
62275906 jschievink = {
62285907 email = "jonasschievink@gmail.com";
62295908 matrix = "@jschievink:matrix.org";
@@ -6243,13 +5922,6 @@
62435922 githubId = 107689;
62445923 name = "Josh Holland";
62455924 };
6246− jsierles = {
6247− email = "joshua@hey.com";
6248− matrix = "@jsierles:matrix.org";
6249− name = "Joshua Sierles";
6250− github = "jsierles";
6251− githubId = 82;
6252− };
62535925 jtcoolen = {
62545926 email = "jtcoolen@pm.me";
62555927 name = "Julien Coolen";
@@ -6279,24 +5951,12 @@
62795951 githubId = 810075;
62805952 name = "Juan Rodal";
62815953 };
6282− juboba = {
6283− email = "juboba@gmail.com";
6284− github = "juboba";
6285− githubId = 1189739;
6286− name = "Julio Borja Barra";
6287− };
62885954 juliendehos = {
62895955 email = "dehos@lisic.univ-littoral.fr";
62905956 github = "juliendehos";
62915957 githubId = 11947756;
62925958 name = "Julien Dehos";
62935959 };
6294− julienmalka = {
6295− email = "julien.malka@me.com";
6296− github = "JulienMalka";
6297− githubId = 1792886;
6298− name = "Julien Malka";
6299− };
63005960 julm = {
63015961 email = "julm+nixpkgs@sourcephile.fr";
63025962 github = "ju1m";
@@ -6333,16 +5993,6 @@
63335993 githubId = 2396926;
63345994 name = "Justin Woo";
63355995 };
6336− jvanbruegge = {
6337− email = "supermanitu@gmail.com";
6338− github = "jvanbruegge";
6339− githubId = 1529052;
6340− name = "Jan van Brügge";
6341− keys = [{
6342− longkeyid = "rsa4096/0x366572BE7D6C78A2";
6343− fingerprint = "3513 5CE5 77AD 711F 3825 9A99 3665 72BE 7D6C 78A2";
6344− }];
6345− };
63465996 jwatt = {
63475997 email = "jwatt@broken.watch";
63485998 github = "jjwatt";
@@ -6503,12 +6153,6 @@
65036153 githubId = 37185887;
65046154 name = "Calvin Kim";
65056155 };
6506− keldu = {
6507− email = "mail@keldu.de";
6508− github = "keldu";
6509− githubId = 15373888;
6510− name = "Claudius Holeksa";
6511− };
65126156 kennyballou = {
65136157 email = "kb@devnulllabs.io";
65146158 github = "kennyballou";
@@ -6544,12 +6188,6 @@
65446188 githubId = 209729;
65456189 name = "Kevin Griffin";
65466190 };
6547− kevink = {
6548− email = "kevin@kevink.dev";
6549− github = "Unkn0wnCat";
6550− githubId = 8211181;
6551− name = "Kevin Kandlbinder";
6552− };
65536191 kfollesdal = {
65546192 email = "kfollesdal@gmail.com";
65556193 github = "kfollesdal";
@@ -6665,7 +6303,7 @@
66656303 keys = [{
66666304 longkeyid = "rsa4096/0x7248991EFA8EFBEE";
66676305 fingerprint = "01F5 0A29 D4AA 9117 5A11 BDB1 7248 991E FA8E FBEE";
6668− }];
6306+ }];
66696307 };
66706308 kiwi = {
66716309 email = "envy1988@gmail.com";
@@ -6706,7 +6344,7 @@
67066344 githubId = 18447310;
67076345 };
67086346 kloenk = {
6709− email = "me@kloenk.dev";
6347+ email = "me@kloenk.de";
67106348 matrix = "@kloenk:petabyte.dev";
67116349 name = "Finn Behrens";
67126350 github = "kloenk";
@@ -6730,7 +6368,7 @@
67306368 };
67316369
67326370 kmein = {
6733− email = "kmein@posteo.de";
6371+ email = "kieran.meinhardt@gmail.com";
67346372 name = "Kierán Meinhardt";
67356373 github = "kmein";
67366374 githubId = 10352507;
@@ -6813,12 +6451,6 @@
68136451 githubId = 787421;
68146452 name = "Kevin Quick";
68156453 };
6816− kradalby = {
6817− name = "Kristoffer Dalby";
6818− email = "kristoffer@dalby.cc";
6819− github = "kradalby";
6820− githubId = 98431;
6821− };
68226454 kraem = {
68236455 email = "me@kraem.xyz";
68246456 github = "kraem";
@@ -6885,6 +6517,12 @@
68856517 githubId = 99639;
68866518 name = "Pawel Kruszewski";
68876519 };
6520+ ktosiek = {
6521+ email = "tomasz.kontusz@gmail.com";
6522+ github = "ktosiek";
6523+ githubId = 278013;
6524+ name = "Tomasz Kontusz";
6525+ };
68886526 kubukoz = {
68896527 email = "kubukoz@gmail.com";
68906528 github = "kubukoz";
@@ -6928,7 +6566,7 @@
69286566 };
69296567 kylesferrazza = {
69306568 name = "Kyle Sferrazza";
6931− email = "nixpkgs@kylesferrazza.com";
6569+ email = "kyle.sferrazza@gmail.com";
69326570
69336571 github = "kylesferrazza";
69346572 githubId = 6677292;
@@ -6972,12 +6610,6 @@
69726610 githubId = 55911173;
69736611 name = "Gwendolyn Quasebarth";
69746612 };
6975− lammermann = {
6976− email = "k.o.b.e.r@web.de";
6977− github = "lammermann";
6978− githubId = 695526;
6979− name = "Benjamin Kober";
6980− };
69816613 larsr = {
69826614 email = "Lars.Rasmusson@gmail.com";
69836615 github = "larsr";
@@ -7118,17 +6750,6 @@
71186750 fingerprint = "CC50 F82C 985D 2679 0703 AF15 19B0 82B3 DEFE 5451";
71196751 }];
71206752 };
7121− leixb = {
7122− email = "abone9999+nixpkgs@gmail.com";
7123− matrix = "@leix_b:matrix.org";
7124− github = "LeixB";
7125− githubId = 17183803;
7126− name = "Aleix Boné";
7127− keys = [{
7128− longkeyid = "rsa4096/0xFC035BB2BB28E15D";
7129− fingerprint = "63D3 F436 EDE8 7E1F 1292 24AF FC03 5BB2 BB28 E15D";
7130− }];
7131− };
71326753 lejonet = {
71336754 email = "daniel@kuehn.se";
71346755 github = "lejonet";
@@ -7218,13 +6839,6 @@
72186839 githubId = 1769386;
72196840 name = "Liam Diprose";
72206841 };
7221− libjared = {
7222− email = "jared@perrycode.com";
7223− github = "libjared";
7224− githubId = 3746656;
7225− matrix = "@libjared:matrix.org";
7226− name = "Jared Perry";
7227− };
72286842 liff = {
72296843 email = "liff@iki.fi";
72306844 github = "liff";
@@ -7255,19 +6869,18 @@
72556869 githubId = 714;
72566870 name = "Lily Ballard";
72576871 };
7258− lilyinstarlight = {
7259− email = "lily@lily.flowers";
7260− matrix = "@lily:lily.flowers";
7261− github = "lilyinstarlight";
7262− githubId = 298109;
7263− name = "Lily Foster";
7264− };
72656872 limeytexan = {
72666873 email = "limeytexan@gmail.com";
72676874 github = "limeytexan";
72686875 githubId = 36448130;
72696876 name = "Michael Brantley";
72706877 };
6878+ linarcx = {
6879+ email = "linarcx@gmail.com";
6880+ github = "linarcx";
6881+ githubId = 10884422;
6882+ name = "Kaveh Ahangar";
6883+ };
72716884 linc01n = {
72726885 email = "git@lincoln.hk";
72736886 github = "linc01n";
@@ -7324,18 +6937,6 @@
73246937 githubId = 22085373;
73256938 name = "Luis Hebendanz";
73266939 };
7327− lunarequest = {
7328− email = "nullarequest@vivlaid.net";
7329− github = "Lunarequest";
7330− githubId = 30698906;
7331− name = "Luna D Dragon";
7332− };
7333− LunNova = {
7334− email = "nixpkgs-maintainer@lunnova.dev";
7335− github = "LunNova";
7336− githubId = 782440;
7337− name = "Luna Nova";
7338− };
73396940 lionello = {
73406941 email = "lio@lunesu.com";
73416942 github = "lionello";
@@ -7372,29 +6973,6 @@
73726973 githubId = 1267527;
73736974 name = "Daniel Firth";
73746975 };
7375− lockejan = {
7376− email = "git@smittie.de";
7377− matrix = "@jan:smittie.de";
7378− github = "lockejan";
7379− githubId = 25434434;
7380− name = "Jan Schmitt";
7381− keys = [{
7382− longkeyid = "dsa2048/0xA2BC3C6F14351991";
7383− fingerprint = "1763 9903 2D7C 5B82 5D5A 0EAD A2BC 3C6F 1435 1991";
7384− }];
7385− };
7386− lodi = {
7387− email = "anthony.lodi@gmail.com";
7388− github = "lodi";
7389− githubId = 918448;
7390− name = "Anthony Lodi";
7391− };
7392− loicreynier = {
7393− email = "loic@loicreynier.fr";
7394− github = "loicreynier";
7395− githubId = 88983487;
7396− name = "Loïc Reynier";
7397− };
73986976 lopsided98 = {
73996977 email = "benwolsieffer@gmail.com";
74006978 github = "lopsided98";
@@ -7548,12 +7126,6 @@
75487126 githubId = 13791;
75497127 name = "Luke Gorrie";
75507128 };
7551− luker = {
7552− email = "luker@fenrirproject.org";
7553− github = "LucaFulchir";
7554− githubId = 2486026;
7555− name = "Luca Fulchir";
7556− };
75577129 lumi = {
75587130 email = "lumi@pew.im";
75597131 github = "lumi-me-not";
@@ -7605,12 +7177,6 @@
76057177 email = "wheatdoge@gmail.com";
76067178 name = "Tim Liou";
76077179 };
7608− m00wl = {
7609− name = "Moritz Lumme";
7610− email = "moritz.lumme@gmail.com";
7611− github = "m00wl";
7612− githubId = 46034439;
7613− };
76147180 m1cr0man = {
76157181 email = "lucas+nix@m1cr0man.com";
76167182 github = "m1cr0man";
@@ -7830,6 +7396,16 @@
78307396 githubId = 29855073;
78317397 name = "Michael Colicchia";
78327398 };
7399+ matdsoupe = {
7400+ github = "matdsoupe";
7401+ githubId = 44469426;
7402+ name = "Matheus de Souza Pessanha";
7403+ email = "matheus_pessanha2001@outlook.com";
7404+ keys = [{
7405+ longkeyid = "rsa4096/0x2671964AB1E06A08";
7406+ fingerprint = "2F32 CFEF E11A D73B A740 FA47 2671 964A B1E0 6A08";
7407+ }];
7408+ };
78337409 matejc = {
78347410 email = "cotman.matej@gmail.com";
78357411 github = "matejc";
@@ -7885,16 +7461,6 @@
78857461 githubId = 279868;
78867462 name = "Matti Kariluoma";
78877463 };
7888− matthewpi = {
7889− email = "me+nix@matthewp.io";
7890− github = "matthewpi";
7891− githubId = 26559841;
7892− name = "Matthew Penner";
7893− keys = [{
7894− longkeyid = "ed25519/0x31311906AD4CF6D6";
7895− fingerprint = "5118 F1CC B7B0 6C17 4DD1 5267 3131 1906 AD4C F6D6";
7896− }];
7897− };
78987464 maurer = {
78997465 email = "matthew.r.maurer+nix@gmail.com";
79007466 github = "maurer";
@@ -7941,12 +7507,6 @@
79417507 githubId = 1187050;
79427508 name = "Maximilian Huber";
79437509 };
7944− maximsmol = {
7945− email = "maximsmol@gmail.com";
7946− github = "maximsmol";
7947− githubId = 1472826;
7948− name = "Max Smolin";
7949− };
79507510 maxxk = {
79517511 email = "maxim.krivchikov@gmail.com";
79527512 github = "maxxk";
@@ -8127,6 +7687,12 @@
81277687 github = "kira-bruneau";
81287688 githubId = 382041;
81297689 };
7690+ meutraa = {
7691+ email = "paul+nixpkgs@lost.host";
7692+ name = "Paul Meredith";
7693+ github = "meutraa";
7694+ githubId = 68550871;
7695+ };
81307696 mephistophiles = {
81317697 email = "mussitantesmortem@gmail.com";
81327698 name = "Maxim Zhukov";
@@ -8169,24 +7735,12 @@
81697735 githubId = 668926;
81707736 name = "Maximilian Güntner";
81717737 };
8172− mh = {
8173− email = "68288772+markus-heinrich@users.noreply.github.com";
8174− github = "markus-heinrich";
8175− githubId = 68288772;
8176− name = "Markus Heinrich";
8177− };
81787738 mhaselsteiner = {
81797739 email = "magdalena.haselsteiner@gmx.at";
81807740 github = "mhaselsteiner";
81817741 githubId = 20536514;
81827742 name = "Magdalena Haselsteiner";
81837743 };
8184− mh182 = {
8185− email = "mh182@chello.at";
8186− github = "mh182";
8187− githubId = 9980864;
8188− name = "Max Hofer";
8189− };
81907744 mic92 = {
81917745 email = "joerg@thalheim.io";
81927746 matrix = "@mic92:nixos.dev";
@@ -8252,12 +7806,6 @@
82527806 fingerprint = "FEF0 AE2D 5449 3482 5F06 40AA 186A 1EDA C5C6 3F83";
82537807 }];
82547808 };
8255− mihnea-s = {
8256− email = "mihn.stn@gmail.com";
8257− github = "mihnea-s";
8258− githubId = 43088426;
8259− name = "Mihnea Stoian";
8260− };
82617809 mikefaille = {
82627810 email = "michael@faille.io";
82637811 github = "mikefaille";
@@ -8360,17 +7908,6 @@
83607908 githubId = 1776903;
83617909 name = "Andrew Abbott";
83627910 };
8363− misterio77 = {
8364− email = "eu@misterio.me";
8365− github = "misterio77";
8366− githubId = 5727578;
8367− matrix = "@misterio:matrix.org";
8368− name = "Gabriel Fontes";
8369− keys = [{
8370− longkeyid = "rsa3072/0x245CAB70B4C225E9";
8371− fingerprint = "7088 C742 1873 E0DB 97FF 17C2 245C AB70 B4C2 25E9";
8372− }];
8373− };
83747911 mitchmindtree = {
83757912 email = "mail@mitchellnordine.com";
83767913 github = "mitchmindtree";
@@ -8383,6 +7920,13 @@
83837920 githubId = 1001112;
83847921 name = "Marcin Janczyk";
83857922 };
7923+ mjlbach = {
7924+ email = "m.j.lbach@gmail.com";
7925+ matrix = "@atrius:matrix.org";
7926+ github = "mjlbach";
7927+ githubId = 13316262;
7928+ name = "Michael Lingelbach";
7929+ };
83867930 mjp = {
83877931 email = "mike@mythik.co.uk";
83887932 github = "MikePlayle";
@@ -8617,17 +8161,6 @@
86178161 githubId = 3073833;
86188162 name = "Massimo Redaelli";
86198163 };
8620− mrhedgehog = {
8621− name = "Mr Hedgehog";
8622− email = "hedgehog@mrhedgehog.xyz";
8623− matrix = "@mrhedgehog:jupiterbroadcasting.com";
8624− github = "ModdedGamers";
8625− githubId = 35778371;
8626− keys = [{
8627− longkeyid = "rsa4096/0x7D5107866B1C6752";
8628− fingerprint = "38A0 29B0 4A7E 4C13 A4BB 86C8 7D51 0786 6B1C 6752";
8629− }];
8630− };
86318164 mrkkrp = {
86328165 email = "markkarpov92@gmail.com";
86338166 github = "mrkkrp";
@@ -8668,7 +8201,7 @@
86688201 };
86698202 msfjarvis = {
86708203 github = "msfjarvis";
8671− githubId = 13348378;
8204+ githubId = 3348378;
86728205 name = "Harsh Shandilya";
86738206 email = "nixos@msfjarvis.dev";
86748207 keys = [{
@@ -8772,17 +8305,6 @@
87728305 githubId = 25388474;
87738306 name = "Matej Urbas";
87748307 };
8775− mvisonneau = {
8776− name = "Maxime VISONNEAU";
8777− email = "maxime@visonneau.fr";
8778− matrix = "@maxime:visonneau.fr";
8779− github = "mvisonneau";
8780− githubId = 1761583;
8781− keys = [{
8782− longkeyid = "rsa4096/0x150D6F0AE9198D24";
8783− fingerprint = "EC63 0CEA E8BC 5EE5 5C58 F2E3 150D 6F0A E919 8D24";
8784− }];
8785− };
87868308 mvnetbiz = {
87878309 email = "mvnetbiz@gmail.com";
87888310 matrix = "@mvtva:matrix.org";
@@ -8808,12 +8330,6 @@
88088330 githubId = 9636071;
88098331 name = "Myrl Hex";
88108332 };
8811− n0emis = {
8812− email = "nixpkgs@n0emis.network";
8813− github = "n0emis";
8814− githubId = 22817873;
8815− name = "Ember Keske";
8816− };
88178333 nadrieril = {
88188334 email = "nadrieril@gmail.com";
88198335 github = "nadrieril";
@@ -8881,12 +8397,6 @@
88818397 fingerprint = "4BFF 0614 03A2 47F0 AA0B 4BC4 916D 8B67 2418 92AE";
88828398 }];
88838399 };
8884− nbr = {
8885− email = "nbr@users.noreply.github.com";
8886− github = "nbr";
8887− githubId = 3819225;
8888− name = "Nick Braga";
8889− };
88908400 nbren12 = {
88918401 email = "nbren12@gmail.com";
88928402 github = "nbren12";
@@ -8922,18 +8432,6 @@
89228432 githubId = 3747396;
89238433 name = "Nathan Isom";
89248434 };
8925− neilmayhew = {
8926− email = "nix@neil.mayhew.name";
8927− github = "neilmayhew";
8928− githubId = 166791;
8929− name = "Neil Mayhew";
8930− };
8931− nelsonjeppesen = {
8932− email = "nix@jeppesen.io";
8933− github = "NelsonJeppesen";
8934− githubId = 50854675;
8935− name = "Nelson Jeppesen";
8936− };
89378435 neonfuz = {
89388436 email = "neonfuz@gmail.com";
89398437 github = "neonfuz";
@@ -8982,16 +8480,10 @@
89828480 name = "Xinhao Luo";
89838481 };
89848482 newam = {
8985− email = "alex@thinglab.org";
8483+ email = "alexmgit@protonmail.com";
89868484 github = "newAM";
89878485 githubId = 7845120;
8988− name = "Alex Martens";
8989− };
8990− nialov = {
8991− email = "nikolasovaskainen@gmail.com";
8992− github = "nialov";
8993− githubId = 47318483;
8994− name = "Nikolas Ovaskainen";
8486+ name = "Alex M.";
89958487 };
89968488 nikitavoloboev = {
89978489 email = "nikita.voloboev@gmail.com";
@@ -9056,12 +8548,6 @@
90568548 githubId = 8214542;
90578549 name = "Nicolò Balzarotti";
90588550 };
9059− nidabdella = {
9060− name = "Mohamed Nidabdella";
9061− email = "nidabdella.mohamed@gmail.com";
9062− github = "nidabdella";
9063− githubId = 8083813;
9064− };
90658551 NieDzejkob = {
90668552 email = "kuba@kadziolka.net";
90678553 github = "NieDzejkob";
@@ -9237,9 +8723,9 @@
92378723 githubId = 2946283;
92388724 name = "Brian Cohen";
92398725 };
9240− novoxd = {
8726+ novoxudonoser = {
92418727 email = "radnovox@gmail.com";
9242− github = "novoxd";
8728+ github = "novoxudonoser";
92438729 githubId = 6052922;
92448730 name = "Kirill Struokov";
92458731 };
@@ -9367,12 +8853,6 @@
93678853 githubId = 158758;
93688854 name = "Oliver Dunkl";
93698855 };
9370− ofek = {
9371− email = "oss@ofek.dev";
9372− github = "ofek";
9373− githubId = 9677399;
9374− name = "Ofek Lev";
9375− };
93768856 offline = {
93778857 email = "jaka@x-truder.net";
93788858 github = "offlinehacker";
@@ -9407,12 +8887,6 @@
94078887 githubId = 72201;
94088888 name = "Ole Jørgen Brønner";
94098889 };
9410− ollieB = {
9411− email = "1237862+oliverbunting@users.noreply.github.com";
9412− github = "oliverbunting";
9413− githubId = 1237862;
9414− name = "Ollie Bunting";
9415− };
94168890 olynch = {
94178891 email = "owen@olynch.me";
94188892 github = "olynch";
@@ -9467,12 +8941,6 @@
94678941 githubId = 23431373;
94688942 name = "Christoph Neidahl";
94698943 };
9470− opeik = {
9471− email = "sandro@stikic.com";
9472− github = "opeik";
9473− githubId = 11566773;
9474− name = "Sandro Stikić";
9475− };
94768944 orbekk = {
94778945 email = "kjetil.orbekk@gmail.com";
94788946 github = "orbekk";
@@ -9557,12 +9025,6 @@
95579025 githubId = 15930073;
95589026 name = "Moritz Scheuren";
95599027 };
9560− ozkutuk = {
9561− email = "ozkutuk@protonmail.com";
9562− github = "ozkutuk";
9563− githubId = 5948762;
9564− name = "Berk Özkütük";
9565− };
95669028 pablovsky = {
95679029 email = "dealberapablo07@gmail.com";
95689030 github = "pablo1107";
@@ -9631,13 +9093,6 @@
96319093 githubId = 71795;
96329094 name = "Mica Semrick";
96339095 };
9634− papojari = {
9635− email = "papojari-git.ovoid@aleeas.com";
9636− matrix = "@papojari:artemislena.eu";
9637− github = "papojari";
9638− githubId = 81317317;
9639− name = "papojari";
9640− };
96419096 paraseba = {
96429097 email = "paraseba@gmail.com";
96439098 github = "paraseba";
@@ -10035,12 +9490,6 @@
100359490 fingerprint = "2CD2 B030 BD22 32EF DF5A 008A 3618 20A4 5DB4 1E9A";
100369491 }];
100379492 };
10038− podocarp = {
10039− email = "xdjiaxd@gmail.com";
10040− github = "podocarp";
10041− githubId = 10473184;
10042− name = "Jia Xiaodong";
10043− };
100449493 polendri = {
100459494 email = "paul@ijj.li";
100469495 github = "polendri";
@@ -10081,12 +9530,6 @@
100819530 fingerprint = "48AD DE10 F27B AFB4 7BB0 CCAF 2D25 95A0 0D08 ACE0";
100829531 }];
100839532 };
10084− ppenguin = {
10085− name = "Jeroen Versteeg";
10086− email = "hieronymusv@gmail.com";
10087− github = "ppenguin";
10088− githubId = 17690377;
10089− };
100909533 ppom = {
100919534 name = "Paco Pompeani";
100929535 email = "paco@ecomail.io";
@@ -10221,12 +9664,6 @@
102219664 githubId = 20524473;
102229665 name = "Psyanticy";
102239666 };
10224− psydvl = {
10225− email = "psydvl@fea.st";
10226− github = "psydvl";
10227− githubId = 43755002;
10228− name = "Dmitriy P";
10229− };
102309667 ptival = {
102319668 email = "valentin.robert.42@gmail.com";
102329669 github = "Ptival";
@@ -10300,12 +9737,6 @@
103009737 githubId = 115877;
103019738 name = "Kenny Shen";
103029739 };
10303− quag = {
10304− email = "quaggy@gmail.com";
10305− github = "quag";
10306− githubId = 35086;
10307− name = "Jonathan Wright";
10308− };
103099740 queezle = {
103109741 email = "git@queezle.net";
103119742 github = "qzle";
@@ -10359,13 +9790,6 @@
103599790 githubId = 1016742;
103609791 name = "Rafael García";
103619792 };
10362− raitobezarius = {
10363− email = "ryan@lahfa.xyz";
10364− matrix = "@raitobezarius:matrix.org";
10365− github = "RaitoBezarius";
10366− githubId = 314564;
10367− name = "Ryan Lahfa";
10368− };
103699793 raquelgb = {
103709794 email = "raquel.garcia.bautista@gmail.com";
103719795 github = "raquelgb";
@@ -10449,16 +9873,6 @@
104499873 githubId = 16487165;
104509874 name = "Rafael Basso";
104519875 };
10452− rbreslow = {
10453− name = "Rocky Breslow";
10454− email = "1774125+rbreslow@users.noreply.github.com";
10455− github = "rbreslow";
10456− githubId = 1774125;
10457− keys = [{
10458− longkeyid = "ed25519/0xA0D32ACCA38B88ED";
10459− fingerprint = "B5B7 BCA0 EE6F F31E 263A 69E3 A0D3 2ACC A38B 88ED";
10460− }];
10461− };
104629876 rbrewer = {
104639877 email = "rwb123@gmail.com";
104649878 github = "rbrewer123";
@@ -10477,20 +9891,6 @@
104779891 githubId = 16624;
104789892 name = "Maxim Ivanov";
104799893 };
10480− reckenrode = {
10481− name = "Randy Eckenrode";
10482− email = "randy@largeandhighquality.com";
10483− matrix = "@reckenrode:matrix.org";
10484− github = "reckenrode";
10485− githubId = 7413633;
10486− keys = [
10487− # compare with https://keybase.io/reckenrode
10488− {
10489− longkeyid = "ed25519/0xFBF19A982CCE0048";
10490− fingerprint = "01D7 5486 3A6D 64EA AC77 0D26 FBF1 9A98 2CCE 0048";
10491− }
10492− ];
10493− };
104949894 redfish64 = {
104959895 email = "engler@gmail.com";
104969896 github = "redfish64";
@@ -10585,18 +9985,6 @@
105859985 githubId = 22803888;
105869986 name = "Lu Hongxu";
105879987 };
10588− rgnns = {
10589− email = "jglievano@gmail.com";
10590− github = "rgnns";
10591− githubId = 811827;
10592− name = "Gabriel Lievano";
10593− };
10594− rgrinberg = {
10595− name = "Rudi Grinberg";
10596− email = "me@rgrinberg.com";
10597− github = "rgrinberg";
10598− githubId = 139003;
10599− };
106009988 rgrunbla = {
106019989 email = "remy@grunblatt.org";
106029990 github = "rgrunbla";
@@ -10621,13 +10009,6 @@
1062110009 githubId = 6047658;
1062210010 name = "Ryan Horiguchi";
1062310011 };
10624− rhysmdnz = {
10625− email = "rhys@memes.nz";
10626− matrix = "@rhys:memes.nz";
10627− github = "rhysmdnz";
10628− githubId = 2162021;
10629− name = "Rhys Davies";
10630− };
1063110012 ribose-jeffreylau = {
1063210013 name = "Jeffrey Lau";
1063310014 email = "jeffrey.lau@ribose.com";
@@ -10652,13 +10033,6 @@
1065210033 githubId = 16779;
1065310034 name = "Rickard Nilsson";
1065410035 };
10655− ricochet = {
10656− email = "behayes2@gmail.com";
10657− github = "ricochet";
10658− githubId = 974323;
10659− matrix = "@ricochetcode:matrix.org";
10660− name = "Bailey Hayes";
10661− };
1066210036 riey = {
1066310037 email = "creeper844@gmail.com";
1066410038 github = "Riey";
@@ -11126,22 +10500,22 @@
1112610500 githubId = 132835;
1112710501 name = "Samuel Dionne-Riel";
1112810502 };
10503+ samuelgrf = {
10504+ email = "git@samuelgrf.com";
10505+ github = "samuelgrf";
10506+ githubId = 67663538;
10507+ name = "Samuel Gräfenstein";
10508+ keys = [{
10509+ longkeyid = "rsa4096/0xEF76A063F15C63C8";
10510+ fingerprint = "FF24 5832 8FAF 4660 18C6 186E EF76 A063 F15C 63C8";
10511+ }];
10512+ };
1112910513 samuelrivas = {
1113010514 email = "samuelrivas@gmail.com";
1113110515 github = "samuelrivas";
1113210516 githubId = 107703;
1113310517 name = "Samuel Rivas";
1113410518 };
11135− samyak = {
11136− name = "Samyak Sarnayak";
11137− email = "samyak201@gmail.com";
11138− github = "Samyak2";
11139− githubId = 34161949;
11140− keys = [{
11141− longkeyid = "rsa4096/0x365873F2F0C6153B";
11142− fingerprint = "155C F413 0129 C058 9A5F 5524 3658 73F2 F0C6 153B";
11143− }];
11144− };
1114510519 sander = {
1114610520 email = "s.vanderburg@tudelft.nl";
1114710521 github = "svanderburg";
@@ -11248,16 +10622,6 @@
1124810622 email = "schristopher@konputa.com";
1124910623 name = "Scott Christopher";
1125010624 };
11251− sciencentistguy = {
11252− email = "jamie@quigley.xyz";
11253− name = "Jamie Quigley";
11254− github = "Sciencentistguy";
11255− githubId = 4983935;
11256− keys = [{
11257− longkeyid = "rsa2048/0x8E8FF66E2AE8D970";
11258− fingerprint = "30BB FF3F AB0B BB3E 0435 F83C 8E8F F66E 2AE8 D970";
11259− }];
11260−};
1126110625 scode = {
1126210626 email = "peter.schuller@infidyne.com";
1126310627 github = "scode";
@@ -11308,12 +10672,6 @@
1130810672 githubId = 19472270;
1130910673 name = "Sebastian";
1131010674 };
11311− sebastianblunt = {
11312− name = "Sebastian Blunt";
11313− email = "nix@sebastianblunt.com";
11314− github = "sebastianblunt";
11315− githubId = 47431204;
11316− };
1131710675 sebbadk = {
1131810676 email = "sebastian@sebba.dk";
1131910677 github = "SEbbaDK";
@@ -11368,12 +10726,6 @@
1136810726 githubId = 307899;
1136910727 name = "Gurkan Gur";
1137010728 };
11371− serge = {
11372− email = "sb@canva.com";
11373− github = "serge-belov";
11374− githubId = 38824235;
11375− name = "Serge Belov";
11376− };
1137710729 sersorrel = {
1137810730 email = "ash@sorrel.sh";
1137910731 github = "sersorrel";
@@ -11418,12 +10770,6 @@
1141810770 githubId = 1151264;
1141910771 name = "Sebastian Graf";
1142010772 };
11421− shadaj = {
11422− email = "shadaj@users.noreply.github.com";
11423− github = "shadaj";
11424− githubId = 543055;
11425− name = "Shadaj Laddad";
11426− };
1142710773 shahrukh330 = {
1142810774 email = "shahrukh330@gmail.com";
1142910775 github = "shahrukh330";
@@ -11448,28 +10794,12 @@
1144810794 githubId = 6720672;
1144910795 name = "Shane Pearlman";
1145010796 };
11451− shanesveller = {
11452− email = "shane@sveller.dev";
11453− github = "shanesveller";
11454− githubId = 831;
11455− keys = [{
11456− longkeyid = "rsa4096/0x9210C218023C15CD";
11457− fingerprint = "F83C 407C ADC4 5A0F 1F2F 44E8 9210 C218 023C 15CD";
11458− }];
11459− name = "Shane Sveller";
11460− };
1146110797 shawndellysse = {
1146210798 email = "sdellysse@gmail.com";
1146310799 github = "shawndellysse";
1146410800 githubId = 293035;
1146510801 name = "Shawn Dellysse";
1146610802 };
11467− shawn8901 = {
11468− email = "shawn8901@googlemail.com";
11469− github = "shawn8901";
11470− githubId = 12239057;
11471− name = "Shawn8901";
11472− };
1147310803 shazow = {
1147410804 email = "andrey.petrov@shazow.net";
1147510805 github = "shazow";
@@ -11506,16 +10836,6 @@
1150610836 github = "shikanime";
1150710837 githubId = 22115108;
1150810838 };
11509− shiryel = {
11510− email = "contact@shiryel.com";
11511− name = "Shiryel";
11512− github = "shiryel";
11513− githubId = 35617139;
11514− keys = [{
11515− longkeyid = "ed25519/0xC4041EA6B32633DE";
11516− fingerprint = "AB63 4CD9 3322 BD42 6231 F764 C404 1EA6 B326 33DE";
11517− }];
11518− };
1151910839 shlevy = {
1152010840 email = "shea@shealevy.com";
1152110841 github = "shlevy";
@@ -11587,7 +10907,7 @@
1158710907 name = "Yann Hodique";
1158810908 };
1158910909 sikmir = {
11590− email = "sikmir@disroot.org";
10910+ email = "sikmir@gmail.com";
1159110911 github = "sikmir";
1159210912 githubId = 688044;
1159310913 name = "Nikolay Korotkiy";
@@ -11620,12 +10940,6 @@
1162010940 githubId = 2770647;
1162110941 name = "Simon Vandel Sillesen";
1162210942 };
11623− sir4ur0n = {
11624− email = "sir4ur0n@users.noreply.github.com";
11625− github = "sir4ur0n";
11626− githubId = 1204125;
11627− name = "sir4ur0n";
11628− };
1162910943 siraben = {
1163010944 email = "bensiraphob@gmail.com";
1163110945 matrix = "@siraben:matrix.org";
@@ -11738,12 +11052,6 @@
1173811052 fingerprint = "4242 834C D401 86EF 8281 4093 86E3 0E5A 0F5F C59C";
1173911053 }];
1174011054 };
11741− smasher164 = {
11742− email = "aindurti@gmail.com";
11743− github = "smasher164";
11744− githubId = 12636891;
11745− name = "Akhil Indurti";
11746− };
1174711055 smironov = {
1174811056 email = "grrwlf@gmail.com";
1174911057 github = "grwlf";
@@ -11945,23 +11253,6 @@
1194511253 githubId = 1699155;
1194611254 name = "Steve Elliott";
1194711255 };
11948− stehessel = {
11949− email = "stephan@stehessel.de";
11950− github = "stehessel";
11951− githubId = 55607356;
11952− name = "Stephan Heßelmann";
11953− };
11954− steinybot = {
11955− name = "Jason Pickens";
11956− email = "jasonpickensnz@gmail.com";
11957− matrix = "@steinybot:matrix.org";
11958− github = "steinybot";
11959− githubId = 4659562;
11960− keys = [{
11961− longkeyid = "ed25519/0x21DE1CAE59762A0F";
11962− fingerprint = "2709 1DEC CC42 4635 4299 569C 21DE 1CAE 5976 2A0F";
11963− }];
11964− };
1196511256 stelcodes = {
1196611257 email = "stel@stel.codes";
1196711258 github = "stelcodes";
@@ -12063,12 +11354,6 @@
1206311354 githubId = 1694705;
1206411355 name = "Sam Stites";
1206511356 };
12066− strager = {
12067− email = "strager.nds@gmail.com";
12068− github = "strager";
12069− githubId = 48666;
12070− name = "Matthew \"strager\" Glazar";
12071− };
1207211357 stumoss = {
1207311358 email = "samoss@gmail.com";
1207411359 github = "stumoss";
@@ -12088,10 +11373,10 @@
1208811373 name = "Justus K";
1208911374 };
1209011375 SubhrajyotiSen = {
12091− email = "subhrajyoti12@gmail.com";
12092− github = "SubhrajyotiSen";
12093− githubId = 12984845;
12094− name = "Subhrajyoti Sen";
11376+ email = "subhrajyoti12@gmail.com";
11377+ github = "SubhrajyotiSen";
11378+ githubId = 12984845;
11379+ name = "Subhrajyoti Sen";
1209511380 };
1209611381 suhr = {
1209711382 email = "suhr@i2pmail.org";
@@ -12111,13 +11396,6 @@
1211111396 githubId = 2666479;
1211211397 name = "Y Nguyen";
1211311398 };
12114− superherointj = {
12115− name = "Sérgio G.";
12116− email = "5861043+superherointj@users.noreply.github.com";
12117− matrix = "@superherointj:matrix.org";
12118− github = "superherointj";
12119− githubId = 5861043;
12120− };
1212111399 SuperSandro2000 = {
1212211400 email = "sandro.jaeckel@gmail.com";
1212311401 matrix = "@sandro:supersandro.de";
@@ -12358,13 +11636,6 @@
1235811636 githubId = 863327;
1235911637 name = "Tyler Benster";
1236011638 };
12361− tboerger = {
12362− email = "thomas@webhippie.de";
12363− matrix = "@tboerger:matrix.org";
12364− github = "tboerger";
12365− githubId = 156964;
12366− name = "Thomas Boerger";
12367− };
1236811639 tcbravo = {
1236911640 email = "tomas.bravo@protonmail.ch";
1237011641 github = "tcbravo";
@@ -12462,12 +11733,6 @@
1246211733 githubId = 378734;
1246311734 name = "TG ⊗ Θ";
1246411735 };
12465− tgunnoe = {
12466− email = "t@gvno.net";
12467− github = "tgunnoe";
12468− githubId = 7254833;
12469− name = "Taylor Gunnoe";
12470− };
1247111736 th0rgal = {
1247211737 email = "thomas.marchand@tuta.io";
1247311738 github = "Th0rgal";
@@ -12561,12 +11826,6 @@
1256111826 githubId = 844343;
1256211827 name = "Thiago K. Okada";
1256311828 };
12564− thibaultlemaire = {
12565− email = "thibault.lemaire@protonmail.com";
12566− github = "ThibaultLemaire";
12567− githubId = 21345269;
12568− name = "Thibault Lemaire";
12569− };
1257011829 thibautmarty = {
1257111830 email = "github@thibautmarty.fr";
1257211831 matrix = "@thibaut:thibautmarty.fr";
@@ -12633,7 +11892,7 @@
1263311892 name = "Tiago Castro";
1263411893 };
1263511894 tilcreator = {
12636− name = "TilCreator";
11895+ name = "Tilman Jackel";
1263711896 email = "contact.nixos@tc-j.de";
1263811897 matrix = "@tilcreator:matrix.org";
1263911898 github = "TilCreator";
@@ -12730,7 +11989,6 @@
1273011989 };
1273111990 toastal = {
1273211991 email = "toastal+nix@posteo.net";
12733− matrix = "@toastal:matrix.org";
1273411992 github = "toastal";
1273511993 githubId = 561087;
1273611994 name = "toastal";
@@ -12813,13 +12071,6 @@
1281312071 githubId = 90456;
1281412072 name = "Rebecca (Bex) Kelly";
1281512073 };
12816− tpw_rules = {
12817− name = "Thomas Watson";
12818− email = "twatson52@icloud.com";
12819− matrix = "@tpw_rules:matrix.org";
12820− github = "tpwrules";
12821− githubId = 208010;
12822− };
1282312074 travisbhartwell = {
1282412075 email = "nafai@travishartwell.net";
1282512076 github = "travisbhartwell";
@@ -12880,12 +12131,6 @@
1288012131 githubId = 1183303;
1288112132 name = "Jakob Klepp";
1288212133 };
12883− trundle = {
12884− name = "Andreas Stührk";
12885− email = "andy@hammerhartes.de";
12886− github = "Trundle";
12887− githubId = 332418;
12888− };
1288912134 tscholak = {
1289012135 email = "torsten.scholak@googlemail.com";
1289112136 github = "tscholak";
@@ -12988,12 +12233,6 @@
1298812233 githubId = 1983821;
1298912234 name = "Eric Wolf";
1299012235 };
12991− uakci = {
12992− name = "uakci";
12993− email = "uakci@uakci.pl";
12994− github = "uakci";
12995− githubId = 6961268;
12996− };
1299712236 udono = {
1299812237 email = "udono@virtual-things.biz";
1299912238 github = "udono";
@@ -13232,9 +12471,9 @@
1323212471 githubId = 5837359;
1323312472 name = "Adrian Pistol";
1323412473 };
13235− vikanezrimaya = {
12474+ vika_nezrimaya = {
1323612475 email = "vika@fireburn.ru";
13237− github = "vikanezrimaya";
12476+ github = "kisik21";
1323812477 githubId = 7953163;
1323912478 name = "Vika Shleina";
1324012479 keys = [{
@@ -13258,12 +12497,6 @@
1325812497 githubId = 118959;
1325912498 name = "VinyMeuh";
1326012499 };
13261− viraptor = {
13262− email = "nix@viraptor.info";
13263− github = "viraptor";
13264− githubId = 188063;
13265− name = "Stanisław Pitucha";
13266− };
1326712500 viric = {
1326812501 email = "viric@viric.name";
1326912502 github = "viric";
@@ -13294,12 +12527,6 @@
1329412527 githubId = 1771332;
1329512528 name = "László Vaskó";
1329612529 };
13297− vlinkz = {
13298− email = "vmfuentes64@gmail.com";
13299− github = "vlinkz";
13300− githubId = 20145996;
13301− name = "Victor Fuentes";
13302− };
1330312530 vlstill = {
1330412531 email = "xstill@fi.muni.cz";
1330512532 github = "vlstill";
@@ -13389,16 +12616,6 @@
1338912616 githubId = 3889405;
1339012617 name = "vyp";
1339112618 };
13392− wackbyte = {
13393− name = "wackbyte";
13394− email = "wackbyte@pm.me";
13395− github = "wackbyte";
13396− githubId = 29505620;
13397− keys = [{
13398− longkeyid = "rsa4096/0x937F2AE5CCEFBF59";
13399− fingerprint = "E595 7FE4 FEF6 714B 1AD3 1483 937F 2AE5 CCEF BF59";
13400− }];
13401− };
1340212619 wakira = {
1340312620 name = "Sheng Wang";
1340412621 email = "sheng@a64.work";
@@ -13427,22 +12644,10 @@
1342712644 githubId = 34962284;
1342812645 name = "wchresta";
1342912646 };
13430− wdavidw = {
13431− name = "David Worms";
13432− email = "david@adaltas.com";
13433− github = "wdavidw";
13434− githubId = 46896;
13435− };
1343612647 wedens = {
1343712648 email = "kirill.wedens@gmail.com";
1343812649 name = "wedens";
1343912650 };
13440− wegank = {
13441− name = "Weijia Wang";
13442− email = "contact@weijia.wang";
13443− github = "wegank";
13444− githubId = 9713184;
13445− };
1344612651 weihua = {
1344712652 email = "luwh364@gmail.com";
1344812653 github = "weihua-lu";
@@ -13592,7 +12797,7 @@
1359212797 name = "Andrei Pampu";
1359312798 };
1359412799 wolfangaukang = {
13595− email = "clone.gleeful135+nixpkgs@anonaddy.me";
12800+ email = "liquid.query960@4wrd.cc";
1359612801 github = "wolfangaukang";
1359712802 githubId = 8378365;
1359812803 name = "P. R. d. O.";
@@ -13622,7 +12827,7 @@
1362212827 name = "Wayne Scott";
1362312828 };
1362412829 wucke13 = {
13625− email = "wucke13@gmail.com";
12830+ email = "info@wucke13.de";
1362612831 github = "wucke13";
1362712832 githubId = 20400405;
1362812833 name = "Wucke";
@@ -13645,13 +12850,6 @@
1364512850 github = "wunderbrick";
1364612851 githubId = 52174714;
1364712852 };
13648− wyndon = {
13649− email = "72203260+wyndon@users.noreply.github.com";
13650− matrix = "@wyndon:envs.net";
13651− github = "wyndon";
13652− githubId = 72203260;
13653− name = "wyndon";
13654− };
1365512853 wyvie = {
1365612854 email = "elijahrum@gmail.com";
1365712855 github = "wyvie";
@@ -13708,12 +12906,6 @@
1370812906 githubId = 1297598;
1370912907 name = "Konrad Borowski";
1371012908 };
13711− xgroleau = {
13712− email = "xgroleau@gmail.com";
13713− github = "xgroleau";
13714− githubId = 31734358;
13715− name = "Xavier Groleau";
13716− };
1371712909 xiorcale = {
1371812910 email = "quentin.vaucher@pm.me";
1371912911 github = "xiorcale";
@@ -13770,7 +12962,7 @@
1377012962 };
1377112963 yana = {
1377212964 email = "yana@riseup.net";
13773− github = "sowelisuwi";
12965+ github = "alpakido";
1377412966 githubId = 1643293;
1377512967 name = "Yana Timoshenko";
1377612968 };
@@ -14211,12 +13403,6 @@
1421113403 github = "deifactor";
1421213404 githubId = 30192992;
1421313405 };
14214− deinferno = {
14215− name = "deinferno";
14216− email = "14363193+deinferno@users.noreply.github.com";
14217− github = "deinferno";
14218− githubId = 14363193;
14219− };
1422013406 fzakaria = {
1422113407 name = "Farid Zakaria";
1422213408 email = "farid.m.zakaria@gmail.com";
@@ -14230,10 +13416,10 @@
1423013416 github = "nagisa";
1423113417 githubId = 679122;
1423213418 };
14233− yshym = {
13419+ yevhenshymotiuk = {
1423413420 name = "Yevhen Shymotiuk";
14235− email = "yshym@pm.me";
14236− github = "yshym";
13421+ email = "yevhenshymotiuk@gmail.com";
13422+ github = "yevhenshymotiuk";
1423713423 githubId = 44244245;
1423813424 };
1423913425 hmenke = {
@@ -14340,12 +13526,6 @@
1434013526 github = "zbioe";
1434113527 githubId = 7332055;
1434213528 };
14343− zendo = {
14344− name = "zendo";
14345− email = "linzway@qq.com";
14346− github = "zendo";
14347− githubId = 348013;
14348− };
1434913529 zenithal = {
1435013530 name = "zenithal";
1435113531 email = "i@zenithal.me";
@@ -14363,16 +13543,6 @@
1436313543 github = "zeri42";
1436413544 githubId = 68825133;
1436513545 };
14366− zoedsoupe = {
14367− github = "zoedsoupe";
14368− githubId = 44469426;
14369− name = "Zoey de Souza Pessanha";
14370− email = "zoey.spessanha@outlook.com";
14371− keys = [{
14372− longkeyid = "rsa4096/0x1E1E889CDBD6A315";
14373− fingerprint = "EAA1 51DB 472B 0122 109A CB17 1E1E 889C DBD6 A315";
14374− }];
14375− };
1437613546 zombiezen = {
1437713547 name = "Ross Light";
1437813548 email = "ross@zombiezen.com";
@@ -14413,69 +13583,10 @@
1441313583 github = "jpagex";
1441413584 githubId = 635768;
1441513585 };
14416− vbrandl = {
14417− name = "Valentin Brandl";
14418− email = "mail+nixpkgs@vbrandl.net";
14419− github = "vbrandl";
14420− githubId = 20639051;
14421− };
14422− portothree = {
14423− name = "Gustavo Porto";
14424− email = "gustavoporto@ya.ru";
14425− github = "portothree";
14426− githubId = 3718120;
14427− };
1442813586 pwoelfel = {
1442913587 name = "Philipp Woelfel";
1443013588 email = "philipp.woelfel@gmail.com";
1443113589 github = "PhilippWoelfel";
1443213590 githubId = 19400064;
1443313591 };
14434− qbit = {
14435− name = "Aaron Bieber";
14436− email = "aaron@bolddaemon.com";
14437− github = "qbit";
14438− githubId = 68368;
14439− matrix = "@qbit:tapenet.org";
14440− keys = [{
14441− longkeyid = "rsa4096/0x1F81112D62A9ADCE";
14442− fingerprint = "3586 3350 BFEA C101 DB1A 4AF0 1F81 112D 62A9 ADCE";
14443− }];
14444− };
14445− ameer = {
14446− name = "Ameer Taweel";
14447− email = "ameertaweel2002@gmail.com";
14448− github = "AmeerTaweel";
14449− githubId = 20538273;
14450− };
14451− nigelgbanks = {
14452− name = "Nigel Banks";
14453− email = "nigel.g.banks@gmail.com";
14454− github = "nigelgbanks";
14455− githubId = 487373;
14456− };
14457− zanculmarktum = {
14458− name = "Azure Zanculmarktum";
14459− email = "zanculmarktum@gmail.com";
14460− github = "zanculmarktum";
14461− githubId = 16958511;
14462− };
14463− kuwii = {
14464− name = "kuwii";
14465− email = "kuwii.someone@gmail.com";
14466− github = "kuwii";
14467− githubId = 10705175;
14468− };
14469− melias122 = {
14470− name = "Martin Elias";
14471− email = "martin+nixpkgs@elias.sx";
14472− github = "melias122";
14473− githubId = 1027766;
14474− };
14475− bryanhonof = {
14476− name = "Bryan Honof";
14477− email = "bryanhonof@gmail.com";
14478− github = "bryanhonof";
14479− githubId = 5932804;
14480− };
1448113592}
maintainers/scripts/dep-licenses.sh+1−1
@@ -9,7 +9,7 @@ tmp=$(mktemp --tmpdir -d nixpkgs-dep-license.XXXXXX)
99exitHandler() {
1010 exitCode=$?
1111 rm -rf "$tmp"
12− return $exitCode
12+ exit $exitCode
1313}
1414
1515trap "exitHandler" EXIT
maintainers/scripts/feature-freeze-teams.pldeleted−98
@@ -1,98 +0,0 @@
1−#!/usr/bin/env nix-shell
2−#!nix-shell -i perl -p perl -p perlPackages.JSON perlPackages.LWPUserAgent perlPackages.LWPProtocolHttps perlPackages.TermReadKey
3−
4−# This script generates a list of teams to ping for the Feature Freeze announcement on Discourse.
5−# It's intended to be used by Release Managers before creating such posts.
6−#
7−# The script interactively reads a GitHub username and a corresponding GitHub Personal Access token.
8−# This is required to access the GitHub Teams API so the token needs at least the read:org privilege.
9−
10−## no critic (InputOutput::RequireCheckedSyscalls, InputOutput::ProhibitBacktickOperators)
11−use strict;
12−use warnings;
13−use Carp;
14−use Cwd 'abs_path';
15−use File::Basename;
16−use JSON qw(decode_json);
17−use LWP::UserAgent;
18−use Term::ReadKey qw(ReadLine ReadMode);
19−
20−sub github_team_members {
21− my ($team_name, $username, $token) = @_;
22− my @ret;
23−
24− my $req = HTTP::Request->new('GET', "https://api.github.com/orgs/NixOS/teams/$team_name/members", [ 'Accept' => 'application/vnd.github.v3+json' ]);
25− $req->authorization_basic($username, $token);
26− my $response = LWP::UserAgent->new->request($req);
27−
28− if ($response->is_success) {
29− my $content = decode_json($response->decoded_content);
30− foreach (@{$content}) {
31− push @ret, $_->{'login'};
32− }
33− } else {
34− print {*STDERR} "!! Requesting members of GitHub Team '$team_name' failed: $response->status_line";
35− }
36−
37− return \@ret;
38−}
39−
40−# Read GitHub credentials
41−print {*STDERR} 'GitHub username: ';
42−my $github_user = ReadLine(0);
43−ReadMode('noecho');
44−print {*STDERR} 'GitHub personal access token (no echo): ';
45−my $github_token = ReadLine(0);
46−ReadMode('restore');
47−print {*STDERR} "\n";
48−chomp $github_user;
49−chomp $github_token;
50−
51−# Read nix output
52−my $nix_version = `nix --version`;
53−my $out;
54−my $lib_path = abs_path(dirname(__FILE__)) . '../../../lib';
55−if ($nix_version =~ m/2[.]3[.]/msx) {
56− $out = `nix eval --json '(import $lib_path).teams'` || croak 'nix eval failed';
57−} else {
58− $out = `nix --extra-experimental-features nix-command eval --json --impure --expr '(import $lib_path).teams'` || croak('nix eval failed');
59−}
60−my $data = decode_json($out);
61−
62−# Process teams
63−print {*STDERR} "\n";
64−while (my ($team_nix_key, $team_config) = each %{$data}) {
65− # Ignore teams that don't want to be or can't be pinged
66− if (not defined $team_config->{enableFeatureFreezePing} or not $team_config->{enableFeatureFreezePing}) {
67− next;
68− }
69− if (not defined $team_config->{shortName}) {
70− print {*STDERR} "!! The team with the nix key '$team_nix_key' has no shortName set - ignoring";
71− next;
72− }
73− # Team name
74− print {*STDERR} "$team_config->{shortName}:";
75− # GitHub Teams
76− my @github_members;
77− if (defined $team_config->{githubTeams}) {
78− foreach (@{$team_config->{githubTeams}}) {
79− print {*STDERR} " \@NixOS/${_}";
80− push @github_members, @{github_team_members($_, $github_user, $github_token)};
81− }
82− }
83− my %github_members = map { $_ => 1 } @github_members;
84− # Members
85− if (defined $team_config->{members}) {
86− foreach (@{$team_config->{members}}) {
87− my %user = %{$_};
88− my $github_handle = $user{'github'};
89− # Ensure we don't ping team members twice (as team member and directly)
90− if (defined $github_members{$github_handle}) {
91− next;
92− }
93− print {*STDERR} " \@$github_handle";
94− }
95− }
96−
97− print {*STDERR} "\n";
98−}
maintainers/scripts/haskell/maintained-broken-pkgs.nixdeleted−22
@@ -1,22 +0,0 @@
1−let
2− nixpkgs = import ../../..;
3− inherit (nixpkgs {}) haskellPackages lib;
4− maintainedPkgs = lib.filterAttrs (
5− _: v: builtins.length (v.meta.maintainers or []) > 0
6− ) haskellPackages;
7− brokenPkgs = lib.filterAttrs (_: v: v.meta.broken) maintainedPkgs;
8− transitiveBrokenPkgs = lib.filterAttrs
9− (_: v: !(builtins.tryEval (v.outPath or null)).success && !v.meta.broken)
10− maintainedPkgs;
11− infoList = pkgs: lib.concatStringsSep "\n" (lib.mapAttrsToList (name: drv: "${name} ${(builtins.elemAt drv.meta.maintainers 0).github}") pkgs);
12−in {
13− report = ''
14− BROKEN:
15− ${infoList brokenPkgs}
16−
17− TRANSITIVE BROKEN:
18− ${infoList transitiveBrokenPkgs}
19− '';
20− transitiveErrors =
21− builtins.attrValues transitiveBrokenPkgs;
22−}
maintainers/scripts/haskell/merge-and-open-pr.sh+1−1
@@ -99,7 +99,7 @@ This PR is the regular merge of the \`haskell-updates\` branch into \`master\`.
9999
100100This branch is being continually built and tested by hydra at https://hydra.nixos.org/jobset/nixpkgs/haskell-updates. You may be able to find an up-to-date Hydra build report at [cdepillabout/nix-haskell-updates-status](https://github.com/cdepillabout/nix-haskell-updates-status).
101101
102−We roughly aim to merge these \`haskell-updates\` PRs at least once every two weeks. See the @NixOS/haskell [team calendar](https://cloud.maralorn.de/apps/calendar/p/H6migHmKX7xHoTFa) for who is currently in charge of this branch.
102+We roughly aim to merge these \`haskell-updates\` PRs at least once every two weeks. See the @NixOS/haskell [team calendar](https://cloud.maralorn.de/apps/calendar/p/Mw5WLnzsP7fC4Zky) for who is currently in charge of this branch.
103103
104104### haskellPackages Workflow Summary
105105
maintainers/scripts/haskell/regenerate-hackage-packages.sh+1−1
@@ -20,7 +20,7 @@ HACKAGE2NIX="${HACKAGE2NIX:-hackage2nix}"
2020# See: https://github.com/NixOS/nixpkgs/pull/122023
2121export LC_ALL=C.UTF-8
2222
23−extraction_derivation='with import ./. {}; runCommandLocal "unpacked-cabal-hashes" { } "tar xf ${all-cabal-hashes} --strip-components=1 --one-top-level=$out"'
23+extraction_derivation='with import ./. {}; runCommand "unpacked-cabal-hashes" { } "tar xf ${all-cabal-hashes} --strip-components=1 --one-top-level=$out"'
2424unpacked_hackage="$(nix-build -E "$extraction_derivation" --no-out-link)"
2525config_dir=pkgs/development/haskell-modules/configuration-hackage2nix
2626
maintainers/scripts/haskell/update-stackage.sh+12−25
@@ -1,38 +1,26 @@
11#! /usr/bin/env nix-shell
22#! nix-shell -i bash -p nix curl jq nix-prefetch-github git gnused gnugrep -I nixpkgs=.
3−# shellcheck shell=bash
43
54set -eu -o pipefail
65
7−# Stackage solver to use, LTS or Nightly
8−# (should be capitalized like the display name)
9−SOLVER=LTS
10−TMP_TEMPLATE=update-stackage.XXXXXXX
11−readonly SOLVER
12−readonly TMP_TEMPLATE
13−
14−toLower() {
15− printf "%s" "$1" | tr '[:upper:]' '[:lower:]'
16−}
17−
18−tmpfile=$(mktemp "$TMP_TEMPLATE")
19−tmpfile_new=$(mktemp "$TMP_TEMPLATE")
6+tmpfile=$(mktemp "update-stackage.XXXXXXX")
7+# shellcheck disable=SC2064
208
219stackage_config="pkgs/development/haskell-modules/configuration-hackage2nix/stackage.yaml"
2210
23−trap 'rm "${tmpfile}" "${tmpfile_new}"' 0
24−touch "$tmpfile" "$tmpfile_new" # Creating files here so that trap creates no errors.
11+trap "rm ${tmpfile} ${tmpfile}.new" 0
12+touch "$tmpfile" "$tmpfile.new" # Creating files here so that trap creates no errors.
2513
26−curl -L -s "https://stackage.org/$(toLower "$SOLVER")/cabal.config" >"$tmpfile"
27−old_version=$(grep '^# Stackage' $stackage_config | sed -e 's/.\+ \([A-Za-z]\+ [0-9.-]\+\)$/\1/g')
28−version="$SOLVER $(sed -rn "s/^--.*http:..(www.)?stackage.org.snapshot.$(toLower "$SOLVER")-//p" "$tmpfile")"
14+curl -L -s "https://stackage.org/lts/cabal.config" >"$tmpfile"
15+old_version=$(grep "# Stackage" $stackage_config | sed -E 's/.*([0-9]{2}\.[0-9]+)/\1/')
16+version=$(sed -rn "s/^--.*http:..(www.)?stackage.org.snapshot.lts-//p" "$tmpfile")
2917
3018if [[ "$old_version" == "$version" ]]; then
3119 echo "No new stackage version"
3220 exit 0 # Nothing to do
3321fi
3422
35−echo "Updating Stackage from $old_version to $version."
23+echo "Updating Stackage LTS from $old_version to $version."
3624
3725# Create a simple yaml version of the file.
3826sed -r \
@@ -42,10 +30,10 @@ sed -r \
4230 -e 's|,$||' \
4331 -e '/installed$/d' \
4432 -e '/^$/d' \
45− < "${tmpfile}" | sort --ignore-case >"${tmpfile_new}"
33+ < "${tmpfile}" | sort --ignore-case >"${tmpfile}.new"
4634
4735cat > $stackage_config << EOF
48−# Stackage $version
36+# Stackage LTS $version
4937# This file is auto-generated by
5038# maintainers/scripts/haskell/update-stackage.sh
5139default-package-overrides:
@@ -57,13 +45,12 @@ sed -r \
5745 -e '/ distribution-nixpkgs /d' \
5846 -e '/ jailbreak-cabal /d' \
5947 -e '/ language-nix /d' \
60− -e '/ cabal-install /d' \
61− < "${tmpfile_new}" >> $stackage_config
48+ < "${tmpfile}.new" >> $stackage_config
6249
6350if [[ "${1:-}" == "--do-commit" ]]; then
6451git add $stackage_config
6552git commit -F - << EOF
66−haskellPackages: stackage $old_version -> $version
53+haskellPackages: stackage-lts $old_version -> $version
6754
6855This commit has been generated by maintainers/scripts/haskell/update-stackage.sh
6956EOF
maintainers/scripts/luarocks-packages.csv+3−4
@@ -52,7 +52,7 @@ luadbi-postgresql,,,,,,
5252luadbi-sqlite3,,,,,,
5353luaepnf,,,,,,
5454luaevent,,,,,,
55−luaexpat,,,,1.4.1-1,,arobyn flosse
55+luaexpat,,,,1.3.0-1,,arobyn flosse
5656luaffi,,,http://luarocks.org/dev,,,
5757luafilesystem,,,,1.7.0-2,,flosse
5858lualogging,,,,,,
@@ -64,12 +64,11 @@ luasocket,,,,,,
6464luasql-sqlite3,,,,,,vyp
6565luassert,,,,,,
6666luasystem,,,,,,
67−luaunbound,,,,,
6867luautf8,,,,,,pstn
6968luazip,,,,,,
7069lua-yajl,,,,,,pstn
7170luuid,,,,,,
72−luv,,,,1.43.0-0,,
71+luv,,,,1.42.0-0,,
7372lyaml,,,,,,lblasc
7473markdown,,,,,,
7574mediator_lua,,,,,,
@@ -82,6 +81,6 @@ rapidjson,https://github.com/xpol/lua-rapidjson.git,,,,,
8281readline,,,,,,
8382say,https://github.com/Olivine-Labs/say.git,,,,,
8483std._debug,https://github.com/lua-stdlib/_debug.git,,,,,
85−std.normalize,https://github.com/lua-stdlib/normalize.git,,,,,
84+std.normalize,git://github.com/lua-stdlib/normalize.git,,,,,
8685stdlib,,,,41.2.2,,vyp
8786vstruct,https://github.com/ToxicFrog/vstruct.git,,,,,
maintainers/scripts/pluginupdate.py+167−284
@@ -1,4 +1,4 @@
1−# Used by pkgs/applications/editors/vim/plugins/update.py and pkgs/applications/editors/kakoune/plugins/update.py
1+# Used by pkgs/misc/vim-plugins/update.py and pkgs/applications/editors/kakoune/plugins/update.py
22
33# format:
44# $ nix run nixpkgs.python3Packages.black -c black update.py
@@ -8,7 +8,6 @@
88# $ nix run nixpkgs.python3Packages.flake8 -c flake8 --ignore E501,E265 update.py
99
1010import argparse
11−import csv
1211import functools
1312import http
1413import json
@@ -29,7 +28,7 @@ from pathlib import Path
2928from typing import Dict, List, Optional, Tuple, Union, Any, Callable
3029from urllib.parse import urljoin, urlparse
3130from tempfile import NamedTemporaryFile
32−from dataclasses import dataclass, asdict
31+from dataclasses import dataclass
3332
3433import git
3534
@@ -74,103 +73,42 @@ def retry(ExceptionToCheck: Any, tries: int = 4, delay: float = 3, backoff: floa
7473
7574 return deco_retry
7675
77−@dataclass
78−class FetchConfig:
79− proc: int
80− github_token: str
81−
8276
83−def make_request(url: str, token=None) -> urllib.request.Request:
77+def make_request(url: str) -> urllib.request.Request:
78+ token = os.getenv("GITHUB_API_TOKEN")
8479 headers = {}
8580 if token is not None:
8681 headers["Authorization"] = f"token {token}"
8782 return urllib.request.Request(url, headers=headers)
8883
84+@dataclass
85+class PluginDesc:
86+ owner: str
87+ repo: str
88+ branch: str
89+ alias: Optional[str]
8990
90−# a dictionary of plugins and their new repositories
91−Redirects = Dict['PluginDesc', 'Repo']
9291
9392class Repo:
9493 def __init__(
95− self, uri: str, branch: str
96− ) -> None:
97− self.uri = uri
98− '''Url to the repo'''
99− self._branch = branch
100− # Redirect is the new Repo to use
101− self.redirect: Optional['Repo'] = None
102− self.token = "dummy_token"
103−
104− @property
105− def name(self):
106− return self.uri.split('/')[-1]
107−
108− @property
109− def branch(self):
110− return self._branch or "HEAD"
111−
112− def __str__(self) -> str:
113− return f"{self.uri}"
114− def __repr__(self) -> str:
115− return f"Repo({self.name}, {self.uri})"
116−
117− @retry(urllib.error.URLError, tries=4, delay=3, backoff=2)
118− def has_submodules(self) -> bool:
119− return True
120−
121− @retry(urllib.error.URLError, tries=4, delay=3, backoff=2)
122− def latest_commit(self) -> Tuple[str, datetime]:
123− log.debug("Latest commit")
124− loaded = self._prefetch(None)
125− updated = datetime.strptime(loaded['date'], "%Y-%m-%dT%H:%M:%S%z")
126−
127− return loaded['rev'], updated
128−
129− def _prefetch(self, ref: Optional[str]):
130− cmd = ["nix-prefetch-git", "--quiet", "--fetch-submodules", self.uri]
131− if ref is not None:
132− cmd.append(ref)
133− log.debug(cmd)
134− data = subprocess.check_output(cmd)
135− loaded = json.loads(data)
136− return loaded
137−
138− def prefetch(self, ref: Optional[str]) -> str:
139− print("Prefetching")
140− loaded = self._prefetch(ref)
141− return loaded["sha256"]
142−
143− def as_nix(self, plugin: "Plugin") -> str:
144− return f'''fetchgit {{
145− url = "{self.uri}";
146− rev = "{plugin.commit}";
147− sha256 = "{plugin.sha256}";
148− }}'''
149−
150−
151−class RepoGitHub(Repo):
152− def __init__(
153− self, owner: str, repo: str, branch: str
94+ self, owner: str, name: str, branch: str, alias: Optional[str]
15495 ) -> None:
15596 self.owner = owner
156− self.repo = repo
157− self.token = None
158− '''Url to the repo'''
159− super().__init__(self.url(""), branch)
160− log.debug("Instantiating github repo owner=%s and repo=%s", self.owner, self.repo)
161−
162− @property
163− def name(self):
164− return self.repo
97+ self.name = name
98+ self.branch = branch
99+ self.alias = alias
100+ self.redirect: Dict[str, str] = {}
165101
166102 def url(self, path: str) -> str:
167− res = urljoin(f"https://github.com/{self.owner}/{self.repo}/", path)
168− return res
103+ return urljoin(f"https://github.com/{self.owner}/{self.name}/", path)
104+
105+ def __repr__(self) -> str:
106+ return f"Repo({self.owner}, {self.name})"
169107
170108 @retry(urllib.error.URLError, tries=4, delay=3, backoff=2)
171109 def has_submodules(self) -> bool:
172110 try:
173− req = make_request(self.url(f"blob/{self.branch}/.gitmodules"), self.token)
111+ req = make_request(self.url(f"blob/{self.branch}/.gitmodules"))
174112 urllib.request.urlopen(req, timeout=10).close()
175113 except urllib.error.HTTPError as e:
176114 if e.code == 404:
@@ -182,10 +120,9 @@ class RepoGitHub(Repo):
182120 @retry(urllib.error.URLError, tries=4, delay=3, backoff=2)
183121 def latest_commit(self) -> Tuple[str, datetime]:
184122 commit_url = self.url(f"commits/{self.branch}.atom")
185− log.debug("Sending request to %s", commit_url)
186− commit_req = make_request(commit_url, self.token)
123+ commit_req = make_request(commit_url)
187124 with urllib.request.urlopen(commit_req, timeout=10) as req:
188− self._check_for_redirect(commit_url, req)
125+ self.check_for_redirect(commit_url, req)
189126 xml = req.read()
190127 root = ET.fromstring(xml)
191128 latest_entry = root.find(ATOM_ENTRY)
@@ -200,89 +137,46 @@ class RepoGitHub(Repo):
200137 updated = datetime.strptime(updated_tag.text, "%Y-%m-%dT%H:%M:%SZ")
201138 return Path(str(url.path)).name, updated
202139
203− def _check_for_redirect(self, url: str, req: http.client.HTTPResponse):
140+ def check_for_redirect(self, url: str, req: http.client.HTTPResponse):
204141 response_url = req.geturl()
205142 if url != response_url:
206143 new_owner, new_name = (
207144 urllib.parse.urlsplit(response_url).path.strip("/").split("/")[:2]
208145 )
146+ end_line = "\n" if self.alias is None else f" as {self.alias}\n"
147+ plugin_line = "{owner}/{name}" + end_line
209148
210− new_repo = RepoGitHub(owner=new_owner, repo=new_name, branch=self.branch)
211− self.redirect = new_repo
212−
149+ old_plugin = plugin_line.format(owner=self.owner, name=self.name)
150+ new_plugin = plugin_line.format(owner=new_owner, name=new_name)
151+ self.redirect[old_plugin] = new_plugin
213152
214− def prefetch(self, commit: str) -> str:
215− if self.has_submodules():
216− sha256 = super().prefetch(commit)
217− else:
218− sha256 = self.prefetch_github(commit)
219− return sha256
153+ def prefetch_git(self, ref: str) -> str:
154+ data = subprocess.check_output(
155+ ["nix-prefetch-git", "--fetch-submodules", self.url(""), ref]
156+ )
157+ return json.loads(data)["sha256"]
220158
221159 def prefetch_github(self, ref: str) -> str:
222− cmd = ["nix-prefetch-url", "--unpack", self.url(f"archive/{ref}.tar.gz")]
223− log.debug("Running %s", cmd)
224− data = subprocess.check_output(cmd)
160+ data = subprocess.check_output(
161+ ["nix-prefetch-url", "--unpack", self.url(f"archive/{ref}.tar.gz")]
162+ )
225163 return data.strip().decode("utf-8")
226164
227− def as_nix(self, plugin: "Plugin") -> str:
228− if plugin.has_submodules:
229− submodule_attr = "\n fetchSubmodules = true;"
230− else:
231− submodule_attr = ""
232−
233− return f'''fetchFromGitHub {{
234− owner = "{self.owner}";
235− repo = "{self.repo}";
236− rev = "{plugin.commit}";
237− sha256 = "{plugin.sha256}";{submodule_attr}
238− }}'''
239−
240−
241−@dataclass(frozen=True)
242−class PluginDesc:
243− repo: Repo
244− branch: str
245− alias: Optional[str]
246−
247− @property
248− def name(self):
249− if self.alias is None:
250− return self.repo.name
251− else:
252− return self.alias
253−
254− def __lt__(self, other):
255− return self.repo.name < other.repo.name
256−
257− @staticmethod
258− def load_from_csv(config: FetchConfig, row: Dict[str, str]) -> 'PluginDesc':
259− branch = row["branch"]
260− repo = make_repo(row['repo'], branch.strip())
261− repo.token = config.github_token
262− return PluginDesc(repo, branch.strip(), row["alias"])
263−
264−
265− @staticmethod
266− def load_from_string(config: FetchConfig, line: str) -> 'PluginDesc':
267− branch = "HEAD"
268− alias = None
269− uri = line
270− if " as " in uri:
271− uri, alias = uri.split(" as ")
272− alias = alias.strip()
273− if "@" in uri:
274− uri, branch = uri.split("@")
275− repo = make_repo(uri.strip(), branch.strip())
276− repo.token = config.github_token
277− return PluginDesc(repo, branch.strip(), alias)
278165
279−@dataclass
280166class Plugin:
281− name: str
282− commit: str
283− has_submodules: bool
284− sha256: str
285− date: Optional[datetime] = None
167+ def __init__(
168+ self,
169+ name: str,
170+ commit: str,
171+ has_submodules: bool,
172+ sha256: str,
173+ date: Optional[datetime] = None,
174+ ) -> None:
175+ self.name = name
176+ self.commit = commit
177+ self.has_submodules = has_submodules
178+ self.sha256 = sha256
179+ self.date = date
286180
287181 @property
288182 def normalized_name(self) -> str:
@@ -299,28 +193,6 @@ class Plugin:
299193 return copy
300194
301195
302−def load_plugins_from_csv(config: FetchConfig, input_file: Path,) -> List[PluginDesc]:
303− log.debug("Load plugins from csv %s", input_file)
304− plugins = []
305− with open(input_file, newline='') as csvfile:
306− log.debug("Writing into %s", input_file)
307− reader = csv.DictReader(csvfile,)
308− for line in reader:
309− plugin = PluginDesc.load_from_csv(config, line)
310− plugins.append(plugin)
311−
312− return plugins
313−
314−def run_nix_expr(expr):
315− with CleanEnvironment():
316− cmd = ["nix", "eval", "--extra-experimental-features",
317− "nix-command", "--impure", "--json", "--expr", expr]
318− log.debug("Running command %s", cmd)
319− out = subprocess.check_output(cmd)
320− data = json.loads(out)
321− return data
322−
323−
324196class Editor:
325197 """The configuration of the update script."""
326198
@@ -343,45 +215,19 @@ class Editor:
343215 self.deprecated = deprecated or root.joinpath("deprecated.json")
344216 self.cache_file = cache_file or f"{name}-plugin-cache.json"
345217
346− def get_current_plugins(self) -> List[Plugin]:
218+ def get_current_plugins(self):
347219 """To fill the cache"""
348− data = run_nix_expr(self.get_plugins)
349− plugins = []
350− for name, attr in data.items():
351− print("get_current_plugins: name %s" % name)
352− p = Plugin(name, attr["rev"], attr["submodules"], attr["sha256"])
353− plugins.append(p)
354− return plugins
355−
356− def load_plugin_spec(self, config: FetchConfig, plugin_file) -> List[PluginDesc]:
357− '''CSV spec'''
358− return load_plugins_from_csv(config, plugin_file)
220+ return get_current_plugins(self)
221+
222+ def load_plugin_spec(self, plugin_file) -> List[PluginDesc]:
223+ return load_plugin_spec(plugin_file)
359224
360225 def generate_nix(self, plugins, outfile: str):
361226 '''Returns nothing for now, writes directly to outfile'''
362227 raise NotImplementedError()
363228
364− def get_update(self, input_file: str, outfile: str, config: FetchConfig):
365− cache: Cache = Cache(self.get_current_plugins(), self.cache_file)
366− _prefetch = functools.partial(prefetch, cache=cache)
367−
368− def update() -> dict:
369− plugins = self.load_plugin_spec(config, input_file)
370−
371− try:
372− pool = Pool(processes=config.proc)
373− results = pool.map(_prefetch, plugins)
374− finally:
375− cache.store()
376−
377− plugins, redirects = check_results(results)
378−
379− self.generate_nix(plugins, outfile)
380−
381− return redirects
382−
383− return update
384−
229+ def get_update(self, input_file: str, outfile: str, proc: int):
230+ return get_update(input_file, outfile, proc, editor=self)
385231
386232 @property
387233 def attr_path(self):
@@ -395,9 +241,9 @@ class Editor:
395241
396242 def create_parser(self):
397243 parser = argparse.ArgumentParser(
398− description=(f"""
399− Updates nix derivations for {self.name} plugins.\n
400− By default from {self.default_in} to {self.default_out}"""
244+ description=(
245+ f"Updates nix derivations for {self.name} plugins"
246+ f"By default from {self.default_in} to {self.default_out}"
401247 )
402248 )
403249 parser.add_argument(
@@ -427,15 +273,7 @@ class Editor:
427273 dest="proc",
428274 type=int,
429275 default=30,
430− help="Number of concurrent processes to spawn. Setting --github-token allows higher values.",
431− )
432− parser.add_argument(
433− "--github-token",
434− "-t",
435− type=str,
436− default=os.getenv("GITHUB_API_TOKEN"),
437− help="""Allows to set --proc to higher values.
438− Uses GITHUB_API_TOKEN environment variables as the default value.""",
276+ help="Number of concurrent processes to spawn.",
439277 )
440278 parser.add_argument(
441279 "--no-commit", "-n", action="store_true", default=False,
@@ -465,33 +303,53 @@ class CleanEnvironment(object):
465303 self.empty_config.close()
466304
467305
306+def get_current_plugins(editor: Editor) -> List[Plugin]:
307+ with CleanEnvironment():
308+ cmd = ["nix", "eval", "--extra-experimental-features", "nix-command", "--impure", "--json", "--expr", editor.get_plugins]
309+ log.debug("Running command %s", cmd)
310+ out = subprocess.check_output(cmd)
311+ data = json.loads(out)
312+ plugins = []
313+ for name, attr in data.items():
314+ p = Plugin(name, attr["rev"], attr["submodules"], attr["sha256"])
315+ plugins.append(p)
316+ return plugins
317+
318+
468319def prefetch_plugin(
469320 p: PluginDesc,
470321 cache: "Optional[Cache]" = None,
471−) -> Tuple[Plugin, Optional[Repo]]:
472− repo, branch, alias = p.repo, p.branch, p.alias
473− name = alias or p.repo.name
474− commit = None
475− log.info(f"Fetching last commit for plugin {name} from {repo.uri}@{branch}")
322+) -> Tuple[Plugin, Dict[str, str]]:
323+ user, repo_name, branch, alias = p.owner, p.repo, p.branch, p.alias
324+ log.info(f"Fetching last commit for plugin {user}/{repo_name}@{branch}")
325+ repo = Repo(user, repo_name, branch, alias)
476326 commit, date = repo.latest_commit()
327+ has_submodules = repo.has_submodules()
477328 cached_plugin = cache[commit] if cache else None
478329 if cached_plugin is not None:
479330 log.debug("Cache hit !")
480− cached_plugin.name = name
331+ cached_plugin.name = alias or repo_name
481332 cached_plugin.date = date
482333 return cached_plugin, repo.redirect
483334
484− has_submodules = repo.has_submodules()
485− log.debug(f"prefetch {name}")
486− sha256 = repo.prefetch(commit)
335+ print(f"prefetch {user}/{repo_name}")
336+ if has_submodules:
337+ sha256 = repo.prefetch_git(commit)
338+ else:
339+ sha256 = repo.prefetch_github(commit)
487340
488341 return (
489− Plugin(name, commit, has_submodules, sha256, date=date),
342+ Plugin(alias or repo_name, commit, has_submodules, sha256, date=date),
490343 repo.redirect,
491344 )
492345
493346
494−def print_download_error(plugin: PluginDesc, ex: Exception):
347+def fetch_plugin_from_pluginline(plugin_line: str) -> Plugin:
348+ plugin, _ = prefetch_plugin(parse_plugin_line(plugin_line))
349+ return plugin
350+
351+
352+def print_download_error(plugin: str, ex: Exception):
495353 print(f"{plugin}: {ex}", file=sys.stderr)
496354 ex_traceback = ex.__traceback__
497355 tb_lines = [
@@ -500,22 +358,19 @@ def print_download_error(plugin: PluginDesc, ex: Exception):
500358 ]
501359 print("\n".join(tb_lines))
502360
361+
503362def check_results(
504− results: List[Tuple[PluginDesc, Union[Exception, Plugin], Optional[Repo]]]
505−) -> Tuple[List[Tuple[PluginDesc, Plugin]], Redirects]:
506− ''' '''
507− failures: List[Tuple[PluginDesc, Exception]] = []
363+ results: List[Tuple[str, str, Union[Exception, Plugin], Dict[str, str]]]
364+) -> Tuple[List[Tuple[str, str, Plugin]], Dict[str, str]]:
365+ failures: List[Tuple[str, Exception]] = []
508366 plugins = []
509− redirects: Redirects = {}
510− for (pdesc, result, redirect) in results:
367+ redirects: Dict[str, str] = {}
368+ for (owner, name, result, redirect) in results:
511369 if isinstance(result, Exception):
512− failures.append((pdesc, result))
370+ failures.append((name, result))
513371 else:
514− new_pdesc = pdesc
515− if redirect is not None:
516− redirects.update({pdesc: redirect})
517− new_pdesc = PluginDesc(redirect, pdesc.branch, pdesc.alias)
518− plugins.append((new_pdesc, result))
372+ plugins.append((owner, name, result))
373+ redirects.update(redirect)
519374
520375 print(f"{len(results) - len(failures)} plugins were checked", end="")
521376 if len(failures) == 0:
@@ -529,16 +384,32 @@ def check_results(
529384
530385 sys.exit(1)
531386
532−def make_repo(uri: str, branch) -> Repo:
533− '''Instantiate a Repo with the correct specialization depending on server (gitub spec)'''
534− # dumb check to see if it's of the form owner/repo (=> github) or https://...
535− res = urlparse(uri)
536− if res.netloc in [ "github.com", ""]:
537− res = res.path.strip('/').split('/')
538− repo = RepoGitHub(res[0], res[1], branch)
539− else:
540− repo = Repo(uri.strip(), branch)
541− return repo
387+def parse_plugin_line(line: str) -> PluginDesc:
388+ branch = "HEAD"
389+ alias = None
390+ name, repo = line.split("/")
391+ if " as " in repo:
392+ repo, alias = repo.split(" as ")
393+ alias = alias.strip()
394+ if "@" in repo:
395+ repo, branch = repo.split("@")
396+
397+ return PluginDesc(name.strip(), repo.strip(), branch.strip(), alias)
398+
399+
400+def load_plugin_spec(plugin_file: str) -> List[PluginDesc]:
401+ plugins = []
402+ with open(plugin_file) as f:
403+ for line in f:
404+ if line.startswith("#"):
405+ continue
406+ plugin = parse_plugin_line(line)
407+ if not plugin.owner:
408+ msg = f"Invalid repository {line}, must be in the format owner/repo[ as alias]"
409+ print(msg, file=sys.stderr)
410+ sys.exit(1)
411+ plugins.append(plugin)
412+ return plugins
542413
543414
544415def get_cache_path(cache_file_name: str) -> Optional[Path]:
@@ -596,37 +467,36 @@ class Cache:
596467
597468def prefetch(
598469 pluginDesc: PluginDesc, cache: Cache
599−) -> Tuple[PluginDesc, Union[Exception, Plugin], Optional[Repo]]:
470+) -> Tuple[str, str, Union[Exception, Plugin], dict]:
471+ owner, repo = pluginDesc.owner, pluginDesc.repo
600472 try:
601473 plugin, redirect = prefetch_plugin(pluginDesc, cache)
602474 cache[plugin.commit] = plugin
603− return (pluginDesc, plugin, redirect)
475+ return (owner, repo, plugin, redirect)
604476 except Exception as e:
605− return (pluginDesc, e, None)
606−
477+ return (owner, repo, e, {})
607478
608479
609480def rewrite_input(
610− config: FetchConfig,
611481 input_file: Path,
612482 deprecated: Path,
613− # old pluginDesc and the new
614− redirects: Redirects = {},
615− append: List[PluginDesc] = [],
483+ redirects: Dict[str, str] = None,
484+ append: Tuple = (),
616485):
617− plugins = load_plugins_from_csv(config, input_file,)
486+ with open(input_file, "r") as f:
487+ lines = f.readlines()
618488
619− plugins.extend(append)
489+ lines.extend(append)
620490
621491 if redirects:
492+ lines = [redirects.get(line, line) for line in lines]
622493
623494 cur_date_iso = datetime.now().strftime("%Y-%m-%d")
624495 with open(deprecated, "r") as f:
625496 deprecations = json.load(f)
626− for pdesc, new_repo in redirects.items():
627− new_pdesc = PluginDesc(new_repo, pdesc.branch, pdesc.alias)
628− old_plugin, _ = prefetch_plugin(pdesc)
629− new_plugin, _ = prefetch_plugin(new_pdesc)
497+ for old, new in redirects.items():
498+ old_plugin = fetch_plugin_from_pluginline(old)
499+ new_plugin = fetch_plugin_from_pluginline(new)
630500 if old_plugin.normalized_name != new_plugin.normalized_name:
631501 deprecations[old_plugin.normalized_name] = {
632502 "new": new_plugin.normalized_name,
@@ -636,14 +506,10 @@ def rewrite_input(
636506 json.dump(deprecations, f, indent=4, sort_keys=True)
637507 f.write("\n")
638508
509+ lines = sorted(lines, key=str.casefold)
510+
639511 with open(input_file, "w") as f:
640− log.debug("Writing into %s", input_file)
641− # fields = dataclasses.fields(PluginDesc)
642− fieldnames = ['repo', 'branch', 'alias']
643− writer = csv.DictWriter(f, fieldnames, dialect='unix', quoting=csv.QUOTE_NONE)
644− writer.writeheader()
645− for plugin in sorted(plugins):
646− writer.writerow(asdict(plugin))
512+ f.writelines(lines)
647513
648514
649515def commit(repo: git.Repo, message: str, files: List[Path]) -> None:
@@ -656,21 +522,40 @@ def commit(repo: git.Repo, message: str, files: List[Path]) -> None:
656522 print("no changes in working tree to commit")
657523
658524
525+def get_update(input_file: str, outfile: str, proc: int, editor: Editor):
526+ cache: Cache = Cache(editor.get_current_plugins(), editor.cache_file)
527+ _prefetch = functools.partial(prefetch, cache=cache)
528+
529+ def update() -> dict:
530+ plugin_names = editor.load_plugin_spec(input_file)
531+
532+ try:
533+ pool = Pool(processes=proc)
534+ results = pool.map(_prefetch, plugin_names)
535+ finally:
536+ cache.store()
537+
538+ plugins, redirects = check_results(results)
539+
540+ editor.generate_nix(plugins, outfile)
541+
542+ return redirects
543+
544+ return update
545+
659546
660547def update_plugins(editor: Editor, args):
661548 """The main entry function of this module. All input arguments are grouped in the `Editor`."""
662549
663550 log.setLevel(LOG_LEVELS[args.debug])
664551 log.info("Start updating plugins")
665− fetch_config = FetchConfig(args.proc, args.github_token)
666− update = editor.get_update(args.input_file, args.outfile, fetch_config)
552+ update = editor.get_update(args.input_file, args.outfile, args.proc)
667553
668554 redirects = update()
669− editor.rewrite_input(fetch_config, args.input_file, editor.deprecated, redirects)
555+ editor.rewrite_input(args.input_file, editor.deprecated, redirects)
670556
671557 autocommit = not args.no_commit
672558
673− nixpkgs_repo = None
674559 if autocommit:
675560 nixpkgs_repo = git.Repo(editor.root, search_parent_directories=True)
676561 commit(nixpkgs_repo, f"{editor.attr_path}: update", [args.outfile])
@@ -685,11 +570,9 @@ def update_plugins(editor: Editor, args):
685570 )
686571
687572 for plugin_line in args.add_plugins:
688− pdesc = PluginDesc.load_from_string(fetch_config, plugin_line)
689− append = [ pdesc ]
690− editor.rewrite_input(fetch_config, args.input_file, editor.deprecated, append=append)
573+ editor.rewrite_input(args.input_file, editor.deprecated, append=(plugin_line + "\n",))
691574 update()
692− plugin, _ = prefetch_plugin(pdesc, )
575+ plugin = fetch_plugin_from_pluginline(plugin_line)
693576 if autocommit:
694577 commit(
695578 nixpkgs_repo,
maintainers/scripts/remove-old-aliases.pydeleted−211
@@ -1,211 +0,0 @@
1−#!/usr/bin/env nix-shell
2−#!nix-shell -i python3 -p "python3.withPackages(ps: with ps; [ ])" nix
3−"""
4−A program to remove old aliases or convert old aliases to throws
5−Example usage:
6−./maintainers/scripts/remove-old-aliases.py --year 2018 --file ./pkgs/top-level/aliases.nix
7−
8−Check this file with mypy after every change!
9−$ mypy --strict maintainers/scripts/remove-old-aliases.py
10−"""
11−import argparse
12−import shutil
13−import subprocess
14−from datetime import date as datetimedate
15−from datetime import datetime
16−from pathlib import Path
17−
18−
19−def process_args() -> argparse.Namespace:
20− """process args"""
21− arg_parser = argparse.ArgumentParser()
22− arg_parser.add_argument(
23− "--year", required=True, type=int, help="operate on aliases older than $year"
24− )
25− arg_parser.add_argument(
26− "--month",
27− type=int,
28− default=1,
29− help="operate on aliases older than $year-$month",
30− )
31− arg_parser.add_argument(
32− "--only-throws",
33− action="store_true",
34− help="only operate on throws. e.g remove throws older than $date",
35− )
36− arg_parser.add_argument("--file", required=True, type=Path, help="alias file")
37− arg_parser.add_argument(
38− "--dry-run", action="store_true", help="don't modify files, only print results"
39− )
40− return arg_parser.parse_args()
41−
42−
43−def get_date_lists(
44− txt: list[str], cutoffdate: datetimedate, only_throws: bool
45−) -> tuple[list[str], list[str], list[str]]:
46− """get a list of lines in which the date is older than $cutoffdate"""
47− date_older_list: list[str] = []
48− date_older_throw_list: list[str] = []
49− date_sep_line_list: list[str] = []
50−
51− for lineno, line in enumerate(txt, start=1):
52− line = line.rstrip()
53− my_date = None
54− for string in line.split():
55− string = string.strip(":")
56− try:
57− # strip ':' incase there is a string like 2019-11-01:
58− my_date = datetime.strptime(string, "%Y-%m-%d").date()
59− except ValueError:
60− try:
61− my_date = datetime.strptime(string, "%Y-%m").date()
62− except ValueError:
63− continue
64−
65− if (
66− my_date is None
67− or my_date > cutoffdate
68− or "preserve, reason:" in line.lower()
69− ):
70− continue
71−
72− if "=" not in line:
73− date_sep_line_list.append(f"{lineno} {line}")
74− # 'if' lines could be complicated
75− elif "if " in line and "if =" not in line:
76− print(f"RESOLVE MANUALLY {line}")
77− elif "throw" in line:
78− date_older_throw_list.append(line)
79− elif not only_throws:
80− date_older_list.append(line)
81−
82− return (
83− date_older_list,
84− date_sep_line_list,
85− date_older_throw_list,
86− )
87−
88−
89−def convert_to_throw(date_older_list: list[str]) -> list[tuple[str, str]]:
90− """convert a list of lines to throws"""
91− converted_list = []
92− for line in date_older_list.copy():
93− indent: str = " " * (len(line) - len(line.lstrip()))
94− before_equal = ""
95− after_equal = ""
96− try:
97− before_equal, after_equal = (x.strip() for x in line.split("=", maxsplit=2))
98− except ValueError as err:
99− print(err, line, "\n")
100− date_older_list.remove(line)
101− continue
102−
103− alias = before_equal.strip()
104− after_equal_list = [x.strip(";:") for x in after_equal.split()]
105−
106− converted = (
107− f"{indent}{alias} = throw \"'{alias}' has been renamed to/replaced by"
108− f" '{after_equal_list.pop(0)}'\";"
109− f' # Converted to throw {datetime.today().strftime("%Y-%m-%d")}'
110− )
111− converted_list.append((line, converted))
112−
113− return converted_list
114−
115−
116−def generate_text_to_write(
117− txt: list[str],
118− date_older_list: list[str],
119− converted_to_throw: list[tuple[str, str]],
120− date_older_throw_list: list[str],
121−) -> list[str]:
122− """generate a list of text to be written to the aliasfile"""
123− text_to_write: list[str] = []
124− for line in txt:
125− text_to_append: str = ""
126− if converted_to_throw:
127− for tupl in converted_to_throw:
128− if line == tupl[0]:
129− text_to_append = f"{tupl[1]}\n"
130− if line not in date_older_list and line not in date_older_throw_list:
131− text_to_append = f"{line}\n"
132− if text_to_append:
133− text_to_write.append(text_to_append)
134−
135− return text_to_write
136−
137−
138−def write_file(
139− aliasfile: Path,
140− text_to_write: list[str],
141−) -> None:
142− """write file"""
143− temp_aliasfile = Path(f"{aliasfile}.raliases")
144− with open(temp_aliasfile, "w", encoding="utf-8") as far:
145− for line in text_to_write:
146− far.write(line)
147− print("\nChecking the syntax of the new aliasfile")
148− try:
149− subprocess.run(
150− ["nix-instantiate", "--eval", temp_aliasfile],
151− check=True,
152− stdout=subprocess.DEVNULL,
153− )
154− except subprocess.CalledProcessError:
155− print(
156− "\nSyntax check failed,",
157− "there may have been a line which only has\n"
158− 'aliasname = "reason why";\n'
159− "when it should have been\n"
160− 'aliasname = throw "reason why";',
161− )
162− temp_aliasfile.unlink()
163− return
164− shutil.move(f"{aliasfile}.raliases", aliasfile)
165− print(f"{aliasfile} modified! please verify with 'git diff'.")
166−
167−
168−def main() -> None:
169− """main"""
170− args = process_args()
171−
172− only_throws = args.only_throws
173− aliasfile = Path(args.file).absolute()
174− cutoffdate = (datetime.strptime(f"{args.year}-{args.month}-01", "%Y-%m-%d")).date()
175−
176− txt: list[str] = (aliasfile.read_text(encoding="utf-8")).splitlines()
177−
178− date_older_list: list[str] = []
179− date_sep_line_list: list[str] = []
180− date_older_throw_list: list[str] = []
181−
182− date_older_list, date_sep_line_list, date_older_throw_list = get_date_lists(
183− txt, cutoffdate, only_throws
184− )
185−
186− converted_to_throw: list[tuple[str, str]] = []
187− if date_older_list:
188− converted_to_throw = convert_to_throw(date_older_list)
189− print(" Will be converted to throws. ".center(100, "-"))
190− for l_n in date_older_list:
191− print(l_n)
192−
193− if date_older_throw_list:
194− print(" Will be removed. ".center(100, "-"))
195− for l_n in date_older_throw_list:
196− print(l_n)
197−
198− if date_sep_line_list:
199− print(" On separate line, resolve manually. ".center(100, "-"))
200− for l_n in date_sep_line_list:
201− print(l_n)
202−
203− if not args.dry_run:
204− text_to_write = generate_text_to_write(
205− txt, date_older_list, converted_to_throw, date_older_throw_list
206− )
207− write_file(aliasfile, text_to_write)
208−
209−
210−if __name__ == "__main__":
211− main()
maintainers/scripts/update-luarocks-packages+8−5
@@ -25,8 +25,8 @@ from pathlib import Path
2525log = logging.getLogger()
2626log.addHandler(logging.StreamHandler())
2727
28−ROOT = Path(os.path.dirname(os.path.abspath(inspect.getfile(inspect.currentframe())))).parent.parent # type: ignore
29−from pluginupdate import Editor, update_plugins, FetchConfig, CleanEnvironment
28+ROOT = Path(os.path.dirname(os.path.abspath(inspect.getfile(inspect.currentframe())))).parent.parent
29+from pluginupdate import Editor, update_plugins, PluginDesc, CleanEnvironment, LOG_LEVELS, Cache
3030
3131PKG_LIST="maintainers/scripts/luarocks-packages.csv"
3232TMP_FILE="$(mktemp)"
@@ -118,7 +118,7 @@ class LuaEditor(Editor):
118118 def attr_path(self):
119119 return "luaPackages"
120120
121− def get_update(self, input_file: str, outfile: str, config: FetchConfig):
121+ def get_update(self, input_file: str, outfile: str, proc: int):
122122 _prefetch = generate_pkg_nix
123123
124124 def update() -> dict:
@@ -126,14 +126,14 @@ class LuaEditor(Editor):
126126 sorted_plugin_specs = sorted(plugin_specs, key=lambda v: v.name.lower())
127127
128128 try:
129− pool = Pool(processes=config.proc)
129+ pool = Pool(processes=proc)
130130 results = pool.map(_prefetch, sorted_plugin_specs)
131131 finally:
132132 pass
133133
134134 self.generate_nix(results, outfile)
135135
136− redirects = {}
136+ redirects = []
137137 return redirects
138138
139139 return update
@@ -181,9 +181,11 @@ def generate_pkg_nix(plug: LuaPlugin):
181181
182182 cmd.append(plug.version)
183183
184+ #
184185 if plug.server != "src" and plug.server:
185186 cmd.append(f"--only-server={plug.server}")
186187
188+
187189 if plug.luaversion:
188190 with CleanEnvironment():
189191 local_pkgs = str(ROOT.resolve())
@@ -207,6 +209,7 @@ def main():
207209
208210 parser = editor.create_parser()
209211 args = parser.parse_args()
212+ log.setLevel(LOG_LEVELS[args.debug])
210213
211214 update_plugins(editor, args)
212215
maintainers/scripts/update.nix+1−1
@@ -147,7 +147,7 @@ let
147147
148148 to run update script for specific package, or
149149
150− % nix-shell maintainers/scripts/update.nix --arg predicate '(path: pkg: pkg.updateScript.name or null == "gnome-update-script")'
150+ % nix-shell maintainers/scripts/update.nix --arg predicate '(path: pkg: builtins.isList pkg.updateScript && builtins.length pkg.updateScript >= 1 && (let script = builtins.head pkg.updateScript; in builtins.isAttrs script && script.name == "gnome-update-script"))'
151151
152152 to run update script for all packages matching given predicate, or
153153
maintainers/scripts/update.py−4
@@ -88,10 +88,6 @@ async def commit_changes(name: str, merge_lock: asyncio.Lock, worktree: str, bra
8888 async with merge_lock:
8989 await check_subprocess('git', 'add', *change['files'], cwd=worktree)
9090 commit_message = '{attrPath}: {oldVersion} → {newVersion}'.format(**change)
91− if 'commitMessage' in change:
92− commit_message = change['commitMessage']
93− elif 'commitBody' in change:
94− commit_message = commit_message + '\n\n' + change['commitBody']
9591 await check_subprocess('git', 'commit', '--quiet', '-m', commit_message, cwd=worktree)
9692 await check_subprocess('git', 'cherry-pick', branch)
9793
maintainers/team-list.nix+3−380
@@ -3,19 +3,12 @@
33 # Required
44 members = [ maintainer1 maintainer2 ];
55 scope = "Maintain foo packages.";
6− shortName = "foo";
7− # Optional
8− enableFeatureFreezePing = true;
9− githubTeams = [ "my-subsystem" ];
106 };
117
128 where
139
1410 - `members` is the list of maintainers belonging to the group,
1511 - `scope` describes the scope of the group.
16− - `shortName` short human-readable name
17− - `enableFeatureFreezePing` will ping this team during the Feature Freeze announcements on releases
18− - `githubTeams` will ping specified GitHub teams as well
1912
2013 More fields may be added in the future.
2114
@@ -34,7 +27,6 @@ with lib.maintainers; {
3427 m1cr0man
3528 ];
3629 scope = "Maintain ACME-related packages and modules.";
37− shortName = "ACME";
3830 };
3931
4032 bazel = {
@@ -49,8 +41,6 @@ with lib.maintainers; {
4941 ylecornec
5042 ];
5143 scope = "Bazel build tool & related tools https://bazel.build/";
52− shortName = "Bazel";
53− enableFeatureFreezePing = true;
5444 };
5545
5646 beam = {
@@ -60,35 +50,9 @@ with lib.maintainers; {
6050 DianaOlympos
6151 gleber
6252 happysalada
63− minijackson
6453 yurrriq
6554 ];
66− githubTeams = [
67− "beam"
68− ];
6955 scope = "Maintain BEAM-related packages and modules.";
70− shortName = "BEAM";
71− enableFeatureFreezePing = true;
72− };
73−
74− blockchains = {
75− members = [
76− mmahut
77− RaghavSood
78− ];
79− scope = "Maintain Blockchain packages and modules.";
80− shortName = "Blockchains";
81− enableFeatureFreezePing = true;
82− };
83−
84− c = {
85− members = [
86− matthewbauer
87− mic92
88− ];
89− scope = "Maintain C libraries and tooling.";
90− shortName = "C";
91− enableFeatureFreezePing = true;
9256 };
9357
9458 cinnamon = {
@@ -96,49 +60,14 @@ with lib.maintainers; {
9660 mkg20001
9761 ];
9862 scope = "Maintain Cinnamon desktop environment and applications made by the LinuxMint team.";
99− shortName = "Cinnamon";
100− enableFeatureFreezePing = true;
10163 };
10264
10365 chia = {
10466 members = [
67+ atemu
10568 lourkeur
10669 ];
10770 scope = "Maintain the Chia blockchain and its dependencies";
108− shortName = "Chia Blockchain";
109− };
110−
111− coq = {
112− members = [
113− cohencyril
114− Zimmi48
115− # gares has no entry in the maintainers list
116− siraben
117− vbgl
118− ];
119− scope = "Maintain the Coq theorem prover and related packages.";
120− shortName = "Coq";
121− enableFeatureFreezePing = true;
122− };
123−
124− darwin = {
125− members = [
126− toonn
127− ];
128− githubTeams = [
129− "darwin-maintainers"
130− ];
131− scope = "Maintain Darwin compatibility of packages and Darwin-only packages.";
132− shortName = "Darwin";
133− enableFeatureFreezePing = true;
134− };
135−
136− cosmopolitan = {
137− members = [
138− lourkeur
139− tomberek
140− ];
141− scope = "Maintain the Cosmopolitan LibC and related programs.";
14271 };
14372
14473 deshaw = {
@@ -147,7 +76,6 @@ with lib.maintainers; {
14776 limeytexan
14877 ];
14978 scope = "Group registration for D. E. Shaw employees who collectively maintain packages.";
150− shortName = "Shaw employees";
15179 };
15280
15381 determinatesystems = {
@@ -157,75 +85,11 @@ with lib.maintainers; {
15785 grahamc
15886 ];
15987 scope = "Group registration for packages maintained by Determinate Systems.";
160− shortName = "Determinate Systems employees";
161− };
162−
163− dhall = {
164− members = [
165− Gabriel439
166− ehmry
167− ];
168− scope = "Maintain Dhall and related packages.";
169− shortName = "Dhall";
170− enableFeatureFreezePing = true;
171− };
172−
173− docker = {
174− members = [
175− roberth
176− utdemir
177− ];
178− scope = "Maintain Docker and related tools.";
179− shortName = "DockerTools";
180− enableFeatureFreezePing = true;
181− };
182−
183− docs = {
184− members = [
185− ryantm
186− ];
187− scope = "Maintain nixpkgs/NixOS documentation and tools for building it.";
188− shortName = "Docs";
189− enableFeatureFreezePing = true;
190− };
191−
192− emacs = {
193− members = [
194− adisbladis
195− ];
196− scope = "Maintain the Emacs editor and packages.";
197− shortName = "Emacs";
198− enableFeatureFreezePing = true;
199− };
200−
201− enlightenment = {
202− members = [
203− romildo
204− ];
205− githubTeams = [
206− "enlightenment"
207− ];
208− scope = "Maintain Enlightenment desktop environment and related packages.";
209− shortName = "Enlightenment";
210− enableFeatureFreezePing = true;
211− };
212−
213− # Dummy group for the "everyone else" section
214− feature-freeze-everyone-else = {
215− members = [ ];
216− githubTeams = [
217− "nixpkgs-committers"
218− "release-engineers"
219− ];
220− scope = "Dummy team for the #everyone else' section during feture freezes, not to be used as package maintainers!";
221− shortName = "Everyone else";
222− enableFeatureFreezePing = true;
22388 };
22489
22590 freedesktop = {
22691 members = [ jtojnar ];
22792 scope = "Maintain Freedesktop.org packages for graphical desktop.";
228− shortName = "freedesktop.org packaging";
22993 };
23094
23195 gcc = {
@@ -235,7 +99,6 @@ with lib.maintainers; {
23599 ericson2314
236100 ];
237101 scope = "Maintain GCC (GNU Compiler Collection) compilers";
238− shortName = "GCC";
239102 };
240103
241104 golang = {
@@ -250,24 +113,16 @@ with lib.maintainers; {
250113 zowoq
251114 ];
252115 scope = "Maintain Golang compilers.";
253− shortName = "Go";
254− enableFeatureFreezePing = true;
255116 };
256117
257118 gnome = {
258119 members = [
259− bobby285271
260120 hedning
261121 jtojnar
262122 dasj19
263123 maxeaubrey
264124 ];
265− githubTeams = [
266− "gnome"
267− ];
268125 scope = "Maintain GNOME desktop environment and platform.";
269− shortName = "GNOME";
270− enableFeatureFreezePing = true;
271126 };
272127
273128 haskell = {
@@ -277,12 +132,7 @@ with lib.maintainers; {
277132 maralorn
278133 sternenseemann
279134 ];
280− githubTeams = [
281− "haskell"
282− ];
283135 scope = "Maintain Haskell packages and infrastructure.";
284− shortName = "Haskell";
285− enableFeatureFreezePing = true;
286136 };
287137
288138 home-assistant = {
@@ -293,7 +143,6 @@ with lib.maintainers; {
293143 mic92
294144 ];
295145 scope = "Maintain the Home Assistant ecosystem";
296− shortName = "Home Assistant";
297146 };
298147
299148 iog = {
@@ -305,7 +154,6 @@ with lib.maintainers; {
305154 nrdxp
306155 ];
307156 scope = "Input-Output Global employees, which maintain critical software";
308− shortName = "Input-Output Global employees";
309157 };
310158
311159 jitsi = {
@@ -316,19 +164,6 @@ with lib.maintainers; {
316164 yuka
317165 ];
318166 scope = "Maintain Jitsi.";
319− shortName = "Jitsi";
320− };
321−
322− kubernetes = {
323− members = [
324− johanot
325− offline
326− saschagrunert
327− srhb
328− zowoq
329− ];
330− scope = "Maintain the Kubernetes package and module";
331− shortName = "Kubernetes";
332167 };
333168
334169 kodi = {
@@ -341,7 +176,6 @@ with lib.maintainers; {
341176 sephalon
342177 ];
343178 scope = "Maintain Kodi and related packages.";
344− shortName = "Kodi";
345179 };
346180
347181 linux-kernel = {
@@ -352,41 +186,6 @@ with lib.maintainers; {
352186 qyliss
353187 ];
354188 scope = "Maintain the Linux kernel.";
355− shortName = "Linux Kernel";
356− };
357−
358− lumina = {
359− members = [
360− romildo
361− ];
362− githubTeams = [
363− "lumina"
364− ];
365− scope = "Maintain lumina desktop environment and related packages.";
366− shortName = "Lumina";
367− enableFeatureFreezePing = true;
368− };
369−
370− lxqt = {
371− members = [
372− romildo
373− ];
374− githubTeams = [
375− "lxqt"
376− ];
377− scope = "Maintain LXQt desktop environment and related packages.";
378− shortName = "LXQt";
379− enableFeatureFreezePing = true;
380− };
381−
382− marketing = {
383− members = [
384− garbas
385− tomberek
386− ];
387− scope = "Marketing of Nix/NixOS/nixpkgs.";
388− shortName = "Marketing";
389− enableFeatureFreezePing = true;
390189 };
391190
392191 mate = {
@@ -395,7 +194,6 @@ with lib.maintainers; {
395194 romildo
396195 ];
397196 scope = "Maintain Mate desktop environment and related packages.";
398− shortName = "MATE";
399197 };
400198
401199 matrix = {
@@ -405,53 +203,19 @@ with lib.maintainers; {
405203 mguentner
406204 ekleog
407205 ralith
206+ mjlbach
408207 dandellion
409208 sumnerevans
410209 ];
411210 scope = "Maintain the ecosystem around Matrix, a decentralized messenger.";
412− shortName = "Matrix";
413− };
414−
415− mobile = {
416− members = [
417− samueldr
418− ];
419− scope = "Maintain Mobile NixOS.";
420− shortName = "Mobile";
421− enableFeatureFreezePing = true;
422− };
423−
424− nix = {
425− members = [
426− Profpatsch
427− eelco
428− grahamc
429− pierron
430− ];
431− scope = "Maintain the Nix package manager.";
432− shortName = "Nix/nix-cli ecosystem";
433− enableFeatureFreezePing = true;
434− };
435−
436− nixos-modules = {
437− members = [
438− ericson2314
439− infinisil
440− qyliss
441− roberth
442− ];
443− scope = "Maintain nixpkgs module system internals.";
444− shortName = "NixOS Modules / internals";
445− enableFeatureFreezePing = true;
446211 };
447212
448213 openstack = {
449214 members = [
450− emilytrau
215+ angustrau
451216 SuperSandro2000
452217 ];
453218 scope = "Maintain the ecosystem around OpenStack";
454− shortName = "OpenStack";
455219 };
456220
457221 pantheon = {
@@ -459,38 +223,18 @@ with lib.maintainers; {
459223 davidak
460224 bobby285271
461225 ];
462− githubTeams = [
463− "pantheon"
464− ];
465226 scope = "Maintain Pantheon desktop environment and platform.";
466− shortName = "Pantheon";
467− enableFeatureFreezePing = true;
468− };
469−
470− perl = {
471− members = [
472− sgo
473− ];
474− scope = "Maintain the Perl interpreter and Perl packages.";
475− shortName = "Perl";
476− enableFeatureFreezePing = true;
477227 };
478228
479229 php = {
480230 members = [
481231 aanderse
482− drupol
483232 etu
484233 globin
485234 ma27
486235 talyz
487236 ];
488− githubTeams = [
489− "php"
490− ];
491237 scope = "Maintain PHP related packages and extensions.";
492− shortName = "PHP";
493− enableFeatureFreezePing = true;
494238 };
495239
496240 podman = {
@@ -500,54 +244,7 @@ with lib.maintainers; {
500244 vdemeester
501245 zowoq
502246 ];
503− githubTeams = [
504− "podman"
505− ];
506247 scope = "Maintain Podman and CRI-O related packages and modules.";
507− shortName = "Podman";
508− enableFeatureFreezePing = true;
509− };
510−
511− postgres = {
512− members = [
513− thoughtpolice
514− ];
515− scope = "Maintain the PostgreSQL package and plugins along with the NixOS module.";
516− shortName = "PostgreSQL";
517− enableFeatureFreezePing = true;
518− };
519−
520− python = {
521− members = [
522− fridh
523− hexa
524− jonringer
525− ];
526− scope = "Maintain the Python interpreter and related packages.";
527− shortName = "Python";
528− enableFeatureFreezePing = true;
529− };
530−
531− qt-kde = {
532− members = [
533− ttuegel
534− ];
535− githubTeams = [
536− "qt-kde"
537− ];
538− scope = "Maintain the KDE desktop environment and Qt.";
539− shortName = "Qt / KDE";
540− enableFeatureFreezePing = true;
541− };
542−
543− r = {
544− members = [
545− bcdarwin
546− jbedo
547− ];
548− scope = "Maintain the R programming language and related packages.";
549− shortName = "R";
550− enableFeatureFreezePing = true;
551248 };
552249
553250 redcodelabs = {
@@ -557,38 +254,6 @@ with lib.maintainers; {
557254 wintrmvte
558255 ];
559256 scope = "Maintain Red Code Labs related packages and modules.";
560− shortName = "Red Code Labs";
561− };
562−
563− release = {
564− members = [ ];
565− githubTeams = [
566− "nixos-release-managers"
567− ];
568− scope = "Manage the current nixpkgs/NixOS release.";
569− shortName = "Release";
570− enableFeatureFreezePing = true;
571− };
572−
573− ruby = {
574− members = [
575− marsam
576− ];
577− scope = "Maintain the Ruby interpreter and related packages.";
578− shortName = "Ruby";
579− enableFeatureFreezePing = true;
580− };
581−
582− rust = {
583− members = [
584− andir
585− lnl7
586− mic92
587− zowoq
588− ];
589− scope = "Maintain the Rust compiler toolchain and nixpkgs integration.";
590− shortName = "Rust";
591− enableFeatureFreezePing = true;
592257 };
593258
594259 sage = {
@@ -599,15 +264,6 @@ with lib.maintainers; {
599264 collares
600265 ];
601266 scope = "Maintain SageMath and the dependencies that are likely to break it.";
602− shortName = "SageMath";
603− };
604−
605− sphinx = {
606− members = [
607− SuperSandro2000
608− ];
609− scope = "Maintain Sphinx related packages.";
610− shortName = "Sphinx";
611267 };
612268
613269 serokell = {
@@ -617,26 +273,6 @@ with lib.maintainers; {
617273 mkaito
618274 ];
619275 scope = "Group registration for Serokell employees who collectively maintain packages.";
620− shortName = "Serokell employees";
621− };
622−
623− systemd = {
624− members = [ ];
625− githubTeams = [
626− "systemd"
627− ];
628− scope = "Maintain systemd for NixOS.";
629− shortName = "systemd";
630− enableFeatureFreezePing = true;
631− };
632−
633− tests = {
634− members = [
635− tfc
636− ];
637− scope = "Maintain the NixOS VM test runner.";
638− shortName = "NixOS tests";
639− enableFeatureFreezePing = true;
640276 };
641277
642278 tts = {
@@ -645,18 +281,6 @@ with lib.maintainers; {
645281 mic92
646282 ];
647283 scope = "coqui-ai TTS (formerly Mozilla TTS) and leaf packages";
648− shortName = "coqui-ai TTS";
649− };
650−
651− vim = {
652− members = [
653− jonringer
654− softinio
655− teto
656− ];
657− scope = "Maintain the vim and neovim text editors and related packages.";
658− shortName = "Vim/Neovim";
659− enableFeatureFreezePing = true;
660284 };
661285
662286 xfce = {
@@ -664,6 +288,5 @@ with lib.maintainers; {
664288 romildo
665289 ];
666290 scope = "Maintain Xfce desktop environment and related packages.";
667− shortName = "Xfce";
668291 };
669292}
nixos/default.nix+24−1
@@ -9,6 +9,27 @@ let
99 modules = [ configuration ];
1010 };
1111
12+ # This is for `nixos-rebuild build-vm'.
13+ vmConfig = (import ./lib/eval-config.nix {
14+ inherit system;
15+ modules = [ configuration ./modules/virtualisation/qemu-vm.nix ];
16+ }).config;
17+
18+ # This is for `nixos-rebuild build-vm-with-bootloader'.
19+ vmWithBootLoaderConfig = (import ./lib/eval-config.nix {
20+ inherit system;
21+ modules =
22+ [ configuration
23+ ./modules/virtualisation/qemu-vm.nix
24+ { virtualisation.useBootLoader = true; }
25+ ({ config, ... }: {
26+ virtualisation.useEFIBoot =
27+ config.boot.loader.systemd-boot.enable ||
28+ config.boot.loader.efi.canTouchEfiVariables;
29+ })
30+ ];
31+ }).config;
32+
1233in
1334
1435{
@@ -16,5 +37,7 @@ in
1637
1738 system = eval.config.system.build.toplevel;
1839
19− inherit (eval.config.system.build) vm vmWithBootLoader;
40+ vm = vmConfig.system.build.vm;
41+
42+ vmWithBootLoader = vmWithBootLoaderConfig.system.build.vm;
2043}
nixos/doc/manual/administration/declarative-containers.section.md+1−1
@@ -40,7 +40,7 @@ section for details on container networking.)
4040To disable the container, just remove it from `configuration.nix` and
4141run `nixos-rebuild
4242 switch`. Note that this will not delete the root directory of the
43−container in `/var/lib/nixos-containers`. Containers can be destroyed using
43+container in `/var/lib/containers`. Containers can be destroyed using
4444the imperative method: `nixos-container destroy foo`.
4545
4646Declarative containers can be started and stopped using the
nixos/doc/manual/administration/imperative-containers.section.md+2−2
@@ -10,8 +10,8 @@ You create a container with identifier `foo` as follows:
1010# nixos-container create foo
1111```
1212
13−This creates the container's root directory in `/var/lib/nixos-containers/foo`
14−and a small configuration file in `/etc/nixos-containers/foo.conf`. It also
13+This creates the container's root directory in `/var/lib/containers/foo`
14+and a small configuration file in `/etc/containers/foo.conf`. It also
1515builds the container's initial system configuration and stores it in
1616`/nix/var/nix/profiles/per-container/foo/system`. You can modify the
1717initial configuration of the container on the command line. For
nixos/doc/manual/default.nix+1−5
@@ -14,10 +14,6 @@ with pkgs;
1414let
1515 lib = pkgs.lib;
1616
17− docbook_xsl_ns = pkgs.docbook-xsl-ns.override {
18− withManOptDedupPatch = true;
19− };
20−
2117 # We need to strip references to /nix/store/* from options,
2218 # including any `extraSources` if some modules came from elsewhere,
2319 # or else the build will fail.
@@ -218,7 +214,7 @@ in rec {
218214
219215 manualEpub = runCommand "nixos-manual-epub"
220216 { inherit sources;
221− nativeBuildInputs = [ buildPackages.libxml2.bin buildPackages.libxslt.bin buildPackages.zip ];
217+ buildInputs = [ libxml2.bin libxslt.bin zip ];
222218 }
223219 ''
224220 # Generate the epub manual.
nixos/doc/manual/development/activation-script.section.mddeleted−72
@@ -1,72 +0,0 @@
1−# Activation script {#sec-activation-script}
2−
3−The activation script is a bash script called to activate the new
4−configuration which resides in a NixOS system in `$out/activate`. Since its
5−contents depend on your system configuration, the contents may differ.
6−This chapter explains how the script works in general and some common NixOS
7−snippets. Please be aware that the script is executed on every boot and system
8−switch, so tasks that can be performed in other places should be performed
9−there (for example letting a directory of a service be created by systemd using
10−mechanisms like `StateDirectory`, `CacheDirectory`, ... or if that's not
11−possible using `preStart` of the service).
12−
13−Activation scripts are defined as snippets using
14−[](#opt-system.activationScripts). They can either be a simple multiline string
15−or an attribute set that can depend on other snippets. The builder for the
16−activation script will take these dependencies into account and order the
17−snippets accordingly. As a simple example:
18−
19−```nix
20−system.activationScripts.my-activation-script = {
21− deps = [ "etc" ];
22− # supportsDryActivation = true;
23− text = ''
24− echo "Hallo i bims"
25− '';
26−};
27−```
28−
29−This example creates an activation script snippet that is run after the `etc`
30−snippet. The special variable `supportsDryActivation` can be set so the snippet
31−is also run when `nixos-rebuild dry-activate` is run. To differentiate between
32−real and dry activation, the `$NIXOS_ACTION` environment variable can be
33−read which is set to `dry-activate` when a dry activation is done.
34−
35−An activation script can write to special files instructing
36−`switch-to-configuration` to restart/reload units. The script will take these
37−requests into account and will incorperate the unit configuration as described
38−above. This means that the activation script will "fake" a modified unit file
39−and `switch-to-configuration` will act accordingly. By doing so, configuration
40−like [systemd.services.\<name\>.restartIfChanged](#opt-systemd.services) is
41−respected. Since the activation script is run **after** services are already
42−stopped, [systemd.services.\<name\>.stopIfChanged](#opt-systemd.services)
43−cannot be taken into account anymore and the unit is always restarted instead
44−of being stopped and started afterwards.
45−
46−The files that can be written to are `/run/nixos/activation-restart-list` and
47−`/run/nixos/activation-reload-list` with their respective counterparts for
48−dry activation being `/run/nixos/dry-activation-restart-list` and
49−`/run/nixos/dry-activation-reload-list`. Those files can contain
50−newline-separated lists of unit names where duplicates are being ignored. These
51−files are not create automatically and activation scripts must take the
52−possiblility into account that they have to create them first.
53−
54−## NixOS snippets {#sec-activation-script-nixos-snippets}
55−
56−There are some snippets NixOS enables by default because disabling them would
57−most likely break you system. This section lists a few of them and what they
58−do:
59−
60−- `binsh` creates `/bin/sh` which points to the runtime shell
61−- `etc` sets up the contents of `/etc`, this includes systemd units and
62− excludes `/etc/passwd`, `/etc/group`, and `/etc/shadow` (which are managed by
63− the `users` snippet)
64−- `hostname` sets the system's hostname in the kernel (not in `/etc`)
65−- `modprobe` sets the path to the `modprobe` binary for module auto-loading
66−- `nix` prepares the nix store and adds a default initial channel
67−- `specialfs` is responsible for mounting filesystems like `/proc` and `sys`
68−- `users` creates and removes users and groups by managing `/etc/passwd`,
69− `/etc/group` and `/etc/shadow`. This also creates home directories
70−- `usrbinenv` creates `/usr/bin/env`
71−- `var` creates some directories in `/var` that are not service-specific
72−- `wrappers` creates setuid wrappers like `ping` and `sudo`
nixos/doc/manual/development/building-nixos.chapter.mdnew file+46
@@ -0,0 +1,46 @@
1+# Building a NixOS (Live) ISO {#sec-building-image}
2+
3+Default live installer configurations are available inside `nixos/modules/installer/cd-dvd`.
4+For building other system images, [nixos-generators] is a good place to start looking at.
5+
6+You have two options:
7+
8+- Use any of those default configurations as is
9+- Combine them with (any of) your host config(s)
10+
11+System images, such as the live installer ones, know how to enforce configuration settings
12+on wich they immediately depend in order to work correctly.
13+
14+However, if you are confident, you can opt to override those
15+enforced values with `mkForce`.
16+
17+[nixos-generators]: https://github.com/nix-community/nixos-generators
18+
19+## Practical Instructions {#sec-building-image-instructions}
20+
21+```ShellSession
22+$ git clone https://github.com/NixOS/nixpkgs.git
23+$ cd nixpkgs/nixos
24+$ nix-build -A config.system.build.isoImage -I nixos-config=modules/installer/cd-dvd/installation-cd-minimal.nix default.nix
25+```
26+
27+To check the content of an ISO image, mount it like so:
28+
29+```ShellSession
30+# mount -o loop -t iso9660 ./result/iso/cd.iso /mnt/iso
31+```
32+
33+## Technical Notes {#sec-building-image-tech-notes}
34+
35+The config value enforcement is implemented via `mkImageMediaOverride = mkOverride 60;`
36+and therefore primes over simple value assignments, but also yields to `mkForce`.
37+
38+This property allows image designers to implement in semantically correct ways those
39+configuration values upon which the correct functioning of the image depends.
40+
41+For example, the iso base image overrides those file systems which it needs at a minimum
42+for correct functioning, while the installer base image overrides the entire file system
43+layout because there can't be any other guarantees on a live medium than those given
44+by the live medium itself. The latter is especially true befor formatting the target
45+block device(s). On the other hand, the netboot iso only overrides its minimum dependencies
46+since netboot images are always made-to-target.
nixos/doc/manual/development/development.xml+1−1
@@ -12,8 +12,8 @@
1212 <xi:include href="../from_md/development/sources.chapter.xml" />
1313 <xi:include href="../from_md/development/writing-modules.chapter.xml" />
1414 <xi:include href="../from_md/development/building-parts.chapter.xml" />
15− <xi:include href="../from_md/development/what-happens-during-a-system-switch.chapter.xml" />
1615 <xi:include href="../from_md/development/writing-documentation.chapter.xml" />
16+ <xi:include href="../from_md/development/building-nixos.chapter.xml" />
1717 <xi:include href="../from_md/development/nixos-tests.chapter.xml" />
1818 <xi:include href="../from_md/development/testing-installer.chapter.xml" />
1919</part>
nixos/doc/manual/development/option-declarations.section.md+16−91
@@ -27,10 +27,9 @@ The function `mkOption` accepts the following arguments.
2727
2828`type`
2929
30−: The type of the option (see [](#sec-option-types)). This
31− argument is mandatory for nixpkgs modules. Setting this is highly
32− recommended for the sake of documentation and type checking. In case it is
33− not set, a fallback type with unspecified behavior is used.
30+: The type of the option (see [](#sec-option-types)). It may be
31+ omitted, but that's not advisable since it may lead to errors that
32+ are hard to diagnose.
3433
3534`default`
3635
@@ -58,80 +57,6 @@ The function `mkOption` accepts the following arguments.
5857: A textual description of the option, in DocBook format, that will be
5958 included in the NixOS manual.
6059
61−## Utility functions for common option patterns {#sec-option-declarations-util}
62−
63−### `mkEnableOption` {#sec-option-declarations-util-mkEnableOption}
64−
65−Creates an Option attribute set for a boolean value option i.e an
66−option to be toggled on or off.
67−
68−This function takes a single string argument, the name of the thing to be toggled.
69−
70−The option's description is "Whether to enable \<name\>.".
71−
72−For example:
73−
74−::: {#ex-options-declarations-util-mkEnableOption-magic .example}
75−```nix
76−lib.mkEnableOption "magic"
77−# is like
78−lib.mkOption {
79− type = lib.types.bool;
80− default = false;
81− example = true;
82− description = "Whether to enable magic.";
83−}
84−```
85−
86−### `mkPackageOption` {#sec-option-declarations-util-mkPackageOption}
87−
88−Usage:
89−
90−```nix
91−mkPackageOption pkgs "name" { default = [ "path" "in" "pkgs" ]; example = "literal example"; }
92−```
93−
94−Creates an Option attribute set for an option that specifies the package a module should use for some purpose.
95−
96−**Note**: You shouldn’t necessarily make package options for all of your modules. You can always overwrite a specific package throughout nixpkgs by using [nixpkgs overlays](https://nixos.org/manual/nixpkgs/stable/#chap-overlays).
97−
98−The default package is specified as a list of strings representing its attribute path in nixpkgs. Because of this, you need to pass nixpkgs itself as the first argument.
99−
100−The second argument is the name of the option, used in the description "The \<name\> package to use.". You can also pass an example value, either a literal string or a package's attribute path.
101−
102−You can omit the default path if the name of the option is also attribute path in nixpkgs.
103−
104−::: {#ex-options-declarations-util-mkPackageOption .title}
105−Examples:
106−
107−::: {#ex-options-declarations-util-mkPackageOption-hello .example}
108−```nix
109−lib.mkPackageOption pkgs "hello" { }
110−# is like
111−lib.mkOption {
112− type = lib.types.package;
113− default = pkgs.hello;
114− defaultText = lib.literalExpression "pkgs.hello";
115− description = "The hello package to use.";
116−}
117−```
118−
119−::: {#ex-options-declarations-util-mkPackageOption-ghc .example}
120−```nix
121−lib.mkPackageOption pkgs "GHC" {
122− default = [ "ghc" ];
123− example = "pkgs.haskell.package.ghc922.ghc.withPackages (hkgs: [ hkgs.primes ])";
124−}
125−# is like
126−lib.mkOption {
127− type = lib.types.package;
128− default = pkgs.ghc;
129− defaultText = lib.literalExpression "pkgs.ghc";
130− example = lib.literalExpression "pkgs.haskell.package.ghc922.ghc.withPackages (hkgs: [ hkgs.primes ])";
131− description = "The GHC package to use.";
132−}
133−```
134−
13560## Extensible Option Types {#sec-option-declarations-eot}
13661
13762Extensible option types is a feature that allow to extend certain types
@@ -146,26 +71,26 @@ As an example, we will take the case of display managers. There is a
14671central display manager module for generic display manager options and a
14772module file per display manager backend (sddm, gdm \...).
14873
149−There are two approaches we could take with this module structure:
74+There are two approach to this module structure:
15075
151−- Configuring the display managers independently by adding an enable
76+- Managing the display managers independently by adding an enable
15277 option to every display manager module backend. (NixOS)
15378
154−- Configuring the display managers in the central module by adding
155− an option to select which display manager backend to use.
79+- Managing the display managers in the central module by adding an
80+ option to select which display manager backend to use.
15681
15782Both approaches have problems.
15883
15984Making backends independent can quickly become hard to manage. For
160−display managers, there can only be one enabled at a time, but the
161−type system cannot enforce this restriction as there is no relation
162−between each backend's `enable` option. As a result, this restriction
163−has to be done explicitly by adding assertions in each display manager
164−backend module.
85+display managers, there can be only one enabled at a time, but the type
86+system can not enforce this restriction as there is no relation between
87+each backend `enable` option. As a result, this restriction has to be
88+done explicitely by adding assertions in each display manager backend
89+module.
16590
166−On the other hand, managing the display manager backends in the
167−central module will require changing the central module option every
168−time a new backend is added or removed.
91+On the other hand, managing the display managers backends in the central
92+module will require to change the central module option every time a new
93+backend is added or removed.
16994
17095By using extensible option types, it is possible to create a placeholder
17196option in the central module
@@ -176,7 +101,7 @@ and to extend it in each backend module
176101
177102As a result, `displayManager.enable` option values can be added without
178103changing the main service module file and the type system automatically
179−enforces that there can only be a single display manager enabled.
104+enforce that there can only be a single display manager enabled.
180105
181106::: {#ex-option-declaration-eot-service .example}
182107::: {.title}
nixos/doc/manual/development/option-types.section.md+4−29
@@ -16,14 +16,13 @@ merging is handled.
1616
1717`types.path`
1818
19−: A filesystem path is anything that starts with a slash when
20− coerced to a string. Even if derivations can be considered as
21− paths, the more specific `types.package` should be preferred.
19+: A filesystem path, defined as anything that when coerced to a string
20+ starts with a slash. Even if derivations can be considered as path,
21+ the more specific `types.package` should be preferred.
2222
2323`types.package`
2424
25−: A top-level store path. This can be an attribute set pointing
26− to a store path, like a derivation or a flake input.
25+: A derivation or a store path.
2726
2827`types.anything`
2928
@@ -64,24 +63,6 @@ merging is handled.
6463 ```
6564 :::
6665
67−`types.raw`
68−
69−: A type which doesn't do any checking, merging or nested evaluation. It
70− accepts a single arbitrary value that is not recursed into, making it
71− useful for values coming from outside the module system, such as package
72− sets or arbitrary data. Options of this type are still evaluated according
73− to priorities and conditionals, so `mkForce`, `mkIf` and co. still work on
74− the option value itself, but not for any value nested within it. This type
75− should only be used when checking, merging and nested evaluation are not
76− desirable.
77−
78−`types.optionType`
79−
80−: The type of an option's type. Its merging operation ensures that nested
81− options have the correct file location annotated, and that if possible,
82− multiple option definitions are correctly merged together. The main use
83− case is as the type of the `_module.freeformType` option.
84−
8566`types.attrs`
8667
8768: A free-form attribute set.
@@ -269,12 +250,6 @@ Composed types are types that take a type as parameter. `listOf
269250: Ensures that type *`t`* cannot be merged. It is used to ensure option
270251 definitions are declared only once.
271252
272−`types.unique` `{ message = m }` *`t`*
273−
274−: Ensures that type *`t`* cannot be merged. Prints the message *`m`*, after
275− the line `The option <option path> is defined multiple times.` and before
276− a list of definition locations.
277−
278253`types.either` *`t1 t2`*
279254
280255: Type *`t1`* or type *`t2`*, e.g. `with types; either int str`.
nixos/doc/manual/development/running-nixos-tests-interactively.section.md+2−2
@@ -5,7 +5,7 @@ when developing or debugging a test:
55
66```ShellSession
77$ nix-build . -A nixosTests.login.driverInteractive
8−$ ./result/bin/nixos-test-driver
8+$ ./result/bin/nixos-test-driver --interactive
99[...]
1010>>>
1111```
@@ -28,7 +28,7 @@ You can re-use the VM states coming from a previous run by setting the
2828`--keep-vm-state` flag.
2929
3030```ShellSession
31−$ ./result/bin/nixos-test-driver --keep-vm-state
31+$ ./result/bin/nixos-test-driver --interactive --keep-vm-state
3232```
3333
3434The machine state is stored in the `$TMPDIR/vm-state-machinename`
nixos/doc/manual/development/running-nixos-tests.section.md+2−2
@@ -24,8 +24,8 @@ After building/downloading all required dependencies, this will perform
2424a build that starts a QEMU/KVM virtual machine containing a NixOS
2525system. The virtual machine mounts the Nix store of the host; this makes
2626VM creation very fast, as no disk image needs to be created. Afterwards,
27−you can view a log of the test:
27+you can view a pretty-printed log of the test:
2828
2929```ShellSession
30−$ nix-store --read-log result
30+$ firefox result/log.html
3131```
nixos/doc/manual/development/settings-options.section.md−59
@@ -32,20 +32,6 @@ type of this option should represent the format. The most common formats
3232have a predefined type and string generator already declared under
3333`pkgs.formats`:
3434
35−`pkgs.formats.javaProperties` { *`comment`* ? `"Generated with Nix"` }
36−
37−: A function taking an attribute set with values
38−
39− `comment`
40−
41− : A string to put at the start of the
42− file in a comment. It can have multiple
43− lines.
44−
45− It returns the `type`: `attrsOf str` and a function
46− `generate` to build a Java `.properties` file, taking
47− care of the correct escaping, etc.
48−
4935`pkgs.formats.json` { }
5036
5137: A function taking an empty attribute set (for future extensibility)
@@ -80,45 +66,6 @@ have a predefined type and string generator already declared under
8066 and returning a set with TOML-specific attributes `type` and
8167 `generate` as specified [below](#pkgs-formats-result).
8268
83−`pkgs.formats.elixirConf { elixir ? pkgs.elixir }`
84−
85−: A function taking an attribute set with values
86−
87− `elixir`
88−
89− : The Elixir package which will be used to format the generated output
90−
91− It returns a set with Elixir-Config-specific attributes `type`, `lib`, and
92− `generate` as specified [below](#pkgs-formats-result).
93−
94− The `lib` attribute contains functions to be used in settings, for
95− generating special Elixir values:
96−
97− `mkRaw elixirCode`
98−
99− : Outputs the given string as raw Elixir code
100−
101− `mkGetEnv { envVariable, fallback ? null }`
102−
103− : Makes the configuration fetch an environment variable at runtime
104−
105− `mkAtom atom`
106−
107− : Outputs the given string as an Elixir atom, instead of the default
108− Elixir binary string. Note: lowercase atoms still needs to be prefixed
109− with `:`
110−
111− `mkTuple array`
112−
113− : Outputs the given array as an Elixir tuple, instead of the default
114− Elixir list
115−
116− `mkMap attrset`
117−
118− : Outputs the given attribute set as an Elixir map, instead of the
119− default Elixir keyword list
120−
121−
12269::: {#pkgs-formats-result}
12370These functions all return an attribute set with these values:
12471:::
@@ -127,12 +74,6 @@ These functions all return an attribute set with these values:
12774
12875: A module system type representing a value of the format
12976
130−`lib`
131−
132−: Utility functions for convenience, or special interactions with the format.
133− This attribute is optional. It may contain inside a `types` attribute
134− containing types specific to this format.
135−
13677`generate` *`filename jsonValue`*
13778
13879: A function that can render a value of the format to a file. Returns
nixos/doc/manual/development/unit-handling.section.mddeleted−62
@@ -1,62 +0,0 @@
1−# Unit handling {#sec-unit-handling}
2−
3−To figure out what units need to be started/stopped/restarted/reloaded, the
4−script first checks the current state of the system, similar to what `systemctl
5−list-units` shows. For each of the units, the script goes through the following
6−checks:
7−
8−- Is the unit file still in the new system? If not, **stop** the service unless
9− it sets `X-StopOnRemoval` in the `[Unit]` section to `false`.
10−
11−- Is it a `.target` unit? If so, **start** it unless it sets
12− `RefuseManualStart` in the `[Unit]` section to `true` or `X-OnlyManualStart`
13− in the `[Unit]` section to `true`. Also **stop** the unit again unless it
14− sets `X-StopOnReconfiguration` to `false`.
15−
16−- Are the contents of the unit files different? They are compared by parsing
17− them and comparing their contents. If they are different but only
18− `X-Reload-Triggers` in the `[Unit]` section is changed, **reload** the unit.
19− The NixOS module system allows setting these triggers with the option
20− [systemd.services.\<name\>.reloadTriggers](#opt-systemd.services). There are
21− some additional keys in the `[Unit]` section that are ignored as well. If the
22− unit files differ in any way, the following actions are performed:
23−
24− - `.path` and `.slice` units are ignored. There is no need to restart them
25− since changes in their values are applied by systemd when systemd is
26− reloaded.
27−
28− - `.mount` units are **reload**ed. These mostly come from the `/etc/fstab`
29− parser.
30−
31− - `.socket` units are currently ignored. This is to be fixed at a later
32− point.
33−
34− - The rest of the units (mostly `.service` units) are then **reload**ed if
35− `X-ReloadIfChanged` in the `[Service]` section is set to `true` (exposed
36− via [systemd.services.\<name\>.reloadIfChanged](#opt-systemd.services)).
37− A little exception is done for units that were deactivated in the meantime,
38− for example because they require a unit that got stopped before. These
39− are **start**ed instead of reloaded.
40−
41− - If the reload flag is not set, some more flags decide if the unit is
42− skipped. These flags are `X-RestartIfChanged` in the `[Service]` section
43− (exposed via
44− [systemd.services.\<name\>.restartIfChanged](#opt-systemd.services)),
45− `RefuseManualStop` in the `[Unit]` section, and `X-OnlyManualStart` in the
46− `[Unit]` section.
47−
48− - Further behavior depends on the unit having `X-StopIfChanged` in the
49− `[Service]` section set to `true` (exposed via
50− [systemd.services.\<name\>.stopIfChanged](#opt-systemd.services)). This is
51− set to `true` by default and must be explicitly turned off if not wanted.
52− If the flag is enabled, the unit is **stop**ped and then **start**ed. If
53− not, the unit is **restart**ed. The goal of the flag is to make sure that
54− the new unit never runs in the old environment which is still in place
55− before the activation script is run. This behavior is different when the
56− service is socket-activated, as outlined in the following steps.
57−
58− - The last thing that is taken into account is whether the unit is a service
59− and socket-activated. If `X-StopIfChanged` is **not** set, the service
60− is **restart**ed with the others. If it is set, both the service and the
61− socket are **stop**ped and the socket is **start**ed, leaving socket
62− activation to start the service when it's needed.
nixos/doc/manual/development/what-happens-during-a-system-switch.chapter.mddeleted−53
@@ -1,53 +0,0 @@
1−# What happens during a system switch? {#sec-switching-systems}
2−
3−Running `nixos-rebuild switch` is one of the more common tasks under NixOS.
4−This chapter explains some of the internals of this command to make it simpler
5−for new module developers to configure their units correctly and to make it
6−easier to understand what is happening and why for curious administrators.
7−
8−`nixos-rebuild`, like many deployment solutions, calls `switch-to-configuration`
9−which resides in a NixOS system at `$out/bin/switch-to-configuration`. The
10−script is called with the action that is to be performed like `switch`, `test`,
11−`boot`. There is also the `dry-activate` action which does not really perform
12−the actions but rather prints what it would do if you called it with `test`.
13−This feature can be used to check what service states would be changed if the
14−configuration was switched to.
15−
16−If the action is `switch` or `boot`, the bootloader is updated first so the
17−configuration will be the next one to boot. Unless `NIXOS_NO_SYNC` is set to
18−`1`, `/nix/store` is synced to disk.
19−
20−If the action is `switch` or `test`, the currently running system is inspected
21−and the actions to switch to the new system are calculated. This process takes
22−two data sources into account: `/etc/fstab` and the current systemd status.
23−Mounts and swaps are read from `/etc/fstab` and the corresponding actions are
24−generated. If a new mount is added, for example, the proper `.mount` unit is
25−marked to be started. The current systemd state is inspected, the difference
26−between the current system and the desired configuration is calculated and
27−actions are generated to get to this state. There are a lot of nuances that can
28−be controlled by the units which are explained here.
29−
30−After calculating what should be done, the actions are carried out. The order
31−of actions is always the same:
32−- Stop units (`systemctl stop`)
33−- Run activation script (`$out/activate`)
34−- See if the activation script requested more units to restart
35−- Restart systemd if needed (`systemd daemon-reexec`)
36−- Forget about the failed state of units (`systemctl reset-failed`)
37−- Reload systemd (`systemctl daemon-reload`)
38−- Reload systemd user instances (`systemctl --user daemon-reload`)
39−- Set up tmpfiles (`systemd-tmpfiles --create`)
40−- Reload units (`systemctl reload`)
41−- Restart units (`systemctl restart`)
42−- Start units (`systemctl start`)
43−- Inspect what changed during these actions and print units that failed and
44− that were newly started
45−
46−Most of these actions are either self-explaining but some of them have to do
47−with our units or the activation script. For this reason, these topics are
48−explained in the next sections.
49−
50−```{=docbook}
51−<xi:include href="unit-handling.section.xml" />
52−<xi:include href="activation-script.section.xml" />
53−```
nixos/doc/manual/development/writing-modules.chapter.md−42
@@ -90,17 +90,6 @@ modules: `systemd.services` (the set of all systemd services) and
9090`systemd.timers` (the list of commands to be executed periodically by
9191`systemd`).
9292
93−Care must be taken when writing systemd services using `Exec*` directives. By
94−default systemd performs substitution on `%<char>` specifiers in these
95−directives, expands environment variables from `$FOO` and `${FOO}`, splits
96−arguments on whitespace, and splits commands on `;`. All of these must be escaped
97−to avoid unexpected substitution or splitting when interpolating into an `Exec*`
98−directive, e.g. when using an `extraArgs` option to pass additional arguments to
99−the service. The functions `utils.escapeSystemdExecArg` and
100−`utils.escapeSystemdExecArgs` are provided for this, see [Example: Escaping in
101−Exec directives](#exec-escaping-example) for an example. When using these
102−functions system environment substitution should *not* be disabled explicitly.
103−
10493::: {#locate-example .example}
10594::: {.title}
10695**Example: NixOS Module for the "locate" Service**
@@ -164,37 +153,6 @@ in {
164153```
165154:::
166155
167−::: {#exec-escaping-example .example}
168−::: {.title}
169−**Example: Escaping in Exec directives**
170−:::
171−```nix
172−{ config, lib, pkgs, utils, ... }:
173−
174−with lib;
175−
176−let
177− cfg = config.services.echo;
178− echoAll = pkgs.writeScript "echo-all" ''
179− #! ${pkgs.runtimeShell}
180− for s in "$@"; do
181− printf '%s\n' "$s"
182− done
183− '';
184− args = [ "a%Nything" "lang=\${LANG}" ";" "/bin/sh -c date" ];
185−in {
186− systemd.services.echo =
187− { description = "Echo to the journal";
188− wantedBy = [ "multi-user.target" ];
189− serviceConfig.Type = "oneshot";
190− serviceConfig.ExecStart = ''
191− ${echoAll} ${utils.escapeSystemdExecArgs args}
192− '';
193− };
194−}
195−```
196−:::
197−
198156```{=docbook}
199157<xi:include href="option-declarations.section.xml" />
200158<xi:include href="option-types.section.xml" />
nixos/doc/manual/development/writing-nixos-tests.section.md+36−52
@@ -5,9 +5,15 @@ A NixOS test is a Nix expression that has the following structure:
55```nix
66import ./make-test-python.nix {
77
8− # One or more machines:
8+ # Either the configuration of a single machine:
9+ machine =
10+ { config, pkgs, ... }:
11+ { configuration…
12+ };
13+
14+ # Or a set of machines:
915 nodes =
10− { machine =
16+ { machine1 =
1117 { config, pkgs, ... }: { … };
1218 machine2 =
1319 { config, pkgs, ... }: { … };
@@ -23,16 +29,17 @@ import ./make-test-python.nix {
2329
2430The attribute `testScript` is a bit of Python code that executes the
2531test (described below). During the test, it will start one or more
26−virtual machines, the configuration of which is described by
27−the attribute `nodes`.
28−
29−An example of a single-node test is
30−[`login.nix`](https://github.com/NixOS/nixpkgs/blob/master/nixos/tests/login.nix).
31−It only needs a single machine to test whether users can log in
32+virtual machines, the configuration of which is described by the
33+attribute `machine` (if you need only one machine in your test) or by
34+the attribute `nodes` (if you need multiple machines). For instance,
35+[`login.nix`](https://github.com/NixOS/nixpkgs/blob/master/nixos/tests/login.nix)
36+only needs a single machine to test whether users can log in
3237on the virtual console, whether device ownership is correctly maintained
33−when switching between consoles, and so on. An interesting multi-node test is
34−[`nfs/simple.nix`](https://github.com/NixOS/nixpkgs/blob/master/nixos/tests/nfs/simple.nix).
35−It uses two client nodes to test correct locking across server crashes.
38+when switching between consoles, and so on. On the other hand,
39+[`nfs/simple.nix`](https://github.com/NixOS/nixpkgs/blob/master/nixos/tests/nfs/simple.nix),
40+which tests NFS client and server functionality in the
41+Linux kernel (including whether locks are maintained across server
42+crashes), requires three machines: a server and two clients.
3643
3744There are a few special NixOS configuration options for test VMs:
3845
@@ -60,7 +67,8 @@ The test script is a sequence of Python statements that perform various
6067actions, such as starting VMs, executing commands in the VMs, and so on.
6168Each virtual machine is represented as an object stored in the variable
6269`name` if this is also the identifier of the machine in the declarative
63−config. If you specified a node `nodes.machine`, the following example starts the
70+config. If you didn\'t specify multiple machines using the `nodes`
71+attribute, it is just `machine`. The following example starts the
6472machine, waits until it has finished booting, then executes a command
6573and checks that the output is more-or-less correct:
6674
@@ -71,7 +79,7 @@ if not "Linux" in machine.succeed("uname"):
7179 raise Exception("Wrong OS")
7280```
7381
74−The first line is technically unnecessary; machines are implicitly started
82+The first line is actually unnecessary; machines are implicitly started
7583when you first execute an action on them (such as `wait_for_unit` or
7684`succeed`). If you have multiple machines, you can speed up the test by
7785starting them in parallel:
@@ -150,51 +158,37 @@ The following methods are available on machine objects:
150158 e.g., `send_chars("foobar\n")` will type the string `foobar`
151159 followed by the Enter key.
152160
153−`send_console`
154−
155−: Send keys to the kernel console. This allows interaction with the systemd
156− emergency mode, for example. Takes a string that is sent, e.g.,
157− `send_console("\n\nsystemctl default\n")`.
158−
159161`execute`
160162
161163: Execute a shell command, returning a list `(status, stdout)`.
162−
163− Commands are run with `set -euo pipefail` set:
164−
165− - If several commands are separated by `;` and one fails, the
166− command as a whole will fail.
167−
168− - For pipelines, the last non-zero exit status will be returned
169− (if there is one; otherwise zero will be returned).
170−
171− - Dereferencing unset variables fails the command.
172−
173− - It will wait for stdout to be closed.
174−
175164 If the command detaches, it must close stdout, as `execute` will wait
176165 for this to consume all output reliably. This can be achieved by
177166 redirecting stdout to stderr `>&2`, to `/dev/console`, `/dev/null` or
178167 a file. Examples of detaching commands are `sleep 365d &`, where the
179168 shell forks a new process that can write to stdout and `xclip -i`, where
180169 the `xclip` command itself forks without closing stdout.
181−
182170 Takes an optional parameter `check_return` that defaults to `True`.
183171 Setting this parameter to `False` will not check for the return code
184172 and return -1 instead. This can be used for commands that shut down
185173 the VM and would therefore break the pipe that would be used for
186174 retrieving the return code.
187175
188− A timeout for the command can be specified (in seconds) using the optional
189− `timeout` parameter, e.g., `execute(cmd, timeout=10)` or
190− `execute(cmd, timeout=None)`. The default is 900 seconds.
191−
192176`succeed`
193177
194178: Execute a shell command, raising an exception if the exit status is
195− not zero, otherwise returning the standard output. Similar to `execute`,
196− except that the timeout is `None` by default. See `execute` for details on
197− command execution.
179+ not zero, otherwise returning the standard output. Commands are run
180+ with `set -euo pipefail` set:
181+
182+ - If several commands are separated by `;` and one fails, the
183+ command as a whole will fail.
184+
185+ - For pipelines, the last non-zero exit status will be returned
186+ (if there is one, zero will be returned otherwise).
187+
188+ - Dereferencing unset variables fail the command.
189+
190+ - It will wait for stdout to be closed. See `execute` for the
191+ implications.
198192
199193`fail`
200194
@@ -204,13 +198,10 @@ The following methods are available on machine objects:
204198`wait_until_succeeds`
205199
206200: Repeat a shell command with 1-second intervals until it succeeds.
207− Has a default timeout of 900 seconds which can be modified, e.g.
208− `wait_until_succeeds(cmd, timeout=10)`. See `execute` for details on
209− command execution.
210201
211202`wait_until_fails`
212203
213−: Like `wait_until_succeeds`, but repeating the command until it fails.
204+: Repeat a shell command with 1-second intervals until it fails.
214205
215206`wait_for_unit`
216207
@@ -281,13 +272,6 @@ The following methods are available on machine objects:
281272 Killing the interactive session with `Ctrl-d` or `Ctrl-c` also ends
282273 the guest session.
283274
284−`console_interact`
285−
286−: Allows you to directly interact with QEMU's stdin. This should
287− only be used during test development, not in production tests.
288− Output from QEMU is only read line-wise. `Ctrl-c` kills QEMU and
289− `Ctrl-d` closes console and returns to the test runner.
290−
291275To test user units declared by `systemd.user.services` the optional
292276`user` argument can be used:
293277
@@ -306,7 +290,7 @@ For faster dev cycles it\'s also possible to disable the code-linters
306290```nix
307291import ./make-test-python.nix {
308292 skipLint = true;
309− nodes.machine =
293+ machine =
310294 { config, pkgs, ... }:
311295 { configuration…
312296 };
nixos/doc/manual/from_md/administration/declarative-containers.section.xml+2−2
@@ -48,8 +48,8 @@ containers.database = {
4848 <literal>configuration.nix</literal> and run
4949 <literal>nixos-rebuild switch</literal>. Note that this will not
5050 delete the root directory of the container in
51− <literal>/var/lib/nixos-containers</literal>. Containers can be
52− destroyed using the imperative method:
51+ <literal>/var/lib/containers</literal>. Containers can be destroyed
52+ using the imperative method:
5353 <literal>nixos-container destroy foo</literal>.
5454 </para>
5555 <para>
nixos/doc/manual/from_md/administration/imperative-containers.section.xml+2−3
@@ -14,9 +14,8 @@
1414</programlisting>
1515 <para>
1616 This creates the container’s root directory in
17− <literal>/var/lib/nixos-containers/foo</literal> and a small
18− configuration file in
19− <literal>/etc/nixos-containers/foo.conf</literal>. It also builds
17+ <literal>/var/lib/containers/foo</literal> and a small configuration
18+ file in <literal>/etc/containers/foo.conf</literal>. It also builds
2019 the container’s initial system configuration and stores it in
2120 <literal>/nix/var/nix/profiles/per-container/foo/system</literal>.
2221 You can modify the initial configuration of the container on the
nixos/doc/manual/from_md/development/activation-script.section.xmldeleted−150
@@ -1,150 +0,0 @@
1−<section xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="sec-activation-script">
2− <title>Activation script</title>
3− <para>
4− The activation script is a bash script called to activate the new
5− configuration which resides in a NixOS system in
6− <literal>$out/activate</literal>. Since its contents depend on your
7− system configuration, the contents may differ. This chapter explains
8− how the script works in general and some common NixOS snippets.
9− Please be aware that the script is executed on every boot and system
10− switch, so tasks that can be performed in other places should be
11− performed there (for example letting a directory of a service be
12− created by systemd using mechanisms like
13− <literal>StateDirectory</literal>,
14− <literal>CacheDirectory</literal>, … or if that’s not possible using
15− <literal>preStart</literal> of the service).
16− </para>
17− <para>
18− Activation scripts are defined as snippets using
19− <xref linkend="opt-system.activationScripts" />. They can either be
20− a simple multiline string or an attribute set that can depend on
21− other snippets. The builder for the activation script will take
22− these dependencies into account and order the snippets accordingly.
23− As a simple example:
24− </para>
25− <programlisting language="bash">
26−system.activationScripts.my-activation-script = {
27− deps = [ &quot;etc&quot; ];
28− # supportsDryActivation = true;
29− text = ''
30− echo &quot;Hallo i bims&quot;
31− '';
32−};
33−</programlisting>
34− <para>
35− This example creates an activation script snippet that is run after
36− the <literal>etc</literal> snippet. The special variable
37− <literal>supportsDryActivation</literal> can be set so the snippet
38− is also run when <literal>nixos-rebuild dry-activate</literal> is
39− run. To differentiate between real and dry activation, the
40− <literal>$NIXOS_ACTION</literal> environment variable can be read
41− which is set to <literal>dry-activate</literal> when a dry
42− activation is done.
43− </para>
44− <para>
45− An activation script can write to special files instructing
46− <literal>switch-to-configuration</literal> to restart/reload units.
47− The script will take these requests into account and will
48− incorperate the unit configuration as described above. This means
49− that the activation script will <quote>fake</quote> a modified unit
50− file and <literal>switch-to-configuration</literal> will act
51− accordingly. By doing so, configuration like
52− <link linkend="opt-systemd.services">systemd.services.&lt;name&gt;.restartIfChanged</link>
53− is respected. Since the activation script is run
54− <emphasis role="strong">after</emphasis> services are already
55− stopped,
56− <link linkend="opt-systemd.services">systemd.services.&lt;name&gt;.stopIfChanged</link>
57− cannot be taken into account anymore and the unit is always
58− restarted instead of being stopped and started afterwards.
59− </para>
60− <para>
61− The files that can be written to are
62− <literal>/run/nixos/activation-restart-list</literal> and
63− <literal>/run/nixos/activation-reload-list</literal> with their
64− respective counterparts for dry activation being
65− <literal>/run/nixos/dry-activation-restart-list</literal> and
66− <literal>/run/nixos/dry-activation-reload-list</literal>. Those
67− files can contain newline-separated lists of unit names where
68− duplicates are being ignored. These files are not create
69− automatically and activation scripts must take the possiblility into
70− account that they have to create them first.
71− </para>
72− <section xml:id="sec-activation-script-nixos-snippets">
73− <title>NixOS snippets</title>
74− <para>
75− There are some snippets NixOS enables by default because disabling
76− them would most likely break you system. This section lists a few
77− of them and what they do:
78− </para>
79− <itemizedlist spacing="compact">
80− <listitem>
81− <para>
82− <literal>binsh</literal> creates <literal>/bin/sh</literal>
83− which points to the runtime shell
84− </para>
85− </listitem>
86− <listitem>
87− <para>
88− <literal>etc</literal> sets up the contents of
89− <literal>/etc</literal>, this includes systemd units and
90− excludes <literal>/etc/passwd</literal>,
91− <literal>/etc/group</literal>, and
92− <literal>/etc/shadow</literal> (which are managed by the
93− <literal>users</literal> snippet)
94− </para>
95− </listitem>
96− <listitem>
97− <para>
98− <literal>hostname</literal> sets the system’s hostname in the
99− kernel (not in <literal>/etc</literal>)
100− </para>
101− </listitem>
102− <listitem>
103− <para>
104− <literal>modprobe</literal> sets the path to the
105− <literal>modprobe</literal> binary for module auto-loading
106− </para>
107− </listitem>
108− <listitem>
109− <para>
110− <literal>nix</literal> prepares the nix store and adds a
111− default initial channel
112− </para>
113− </listitem>
114− <listitem>
115− <para>
116− <literal>specialfs</literal> is responsible for mounting
117− filesystems like <literal>/proc</literal> and
118− <literal>sys</literal>
119− </para>
120− </listitem>
121− <listitem>
122− <para>
123− <literal>users</literal> creates and removes users and groups
124− by managing <literal>/etc/passwd</literal>,
125− <literal>/etc/group</literal> and
126− <literal>/etc/shadow</literal>. This also creates home
127− directories
128− </para>
129− </listitem>
130− <listitem>
131− <para>
132− <literal>usrbinenv</literal> creates
133− <literal>/usr/bin/env</literal>
134− </para>
135− </listitem>
136− <listitem>
137− <para>
138− <literal>var</literal> creates some directories in
139− <literal>/var</literal> that are not service-specific
140− </para>
141− </listitem>
142− <listitem>
143− <para>
144− <literal>wrappers</literal> creates setuid wrappers like
145− <literal>ping</literal> and <literal>sudo</literal>
146− </para>
147− </listitem>
148− </itemizedlist>
149− </section>
150−</section>
nixos/doc/manual/from_md/development/building-nixos.chapter.xmlnew file+72
@@ -0,0 +1,72 @@
1+<chapter xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="sec-building-image">
2+ <title>Building a NixOS (Live) ISO</title>
3+ <para>
4+ Default live installer configurations are available inside
5+ <literal>nixos/modules/installer/cd-dvd</literal>. For building
6+ other system images,
7+ <link xlink:href="https://github.com/nix-community/nixos-generators">nixos-generators</link>
8+ is a good place to start looking at.
9+ </para>
10+ <para>
11+ You have two options:
12+ </para>
13+ <itemizedlist spacing="compact">
14+ <listitem>
15+ <para>
16+ Use any of those default configurations as is
17+ </para>
18+ </listitem>
19+ <listitem>
20+ <para>
21+ Combine them with (any of) your host config(s)
22+ </para>
23+ </listitem>
24+ </itemizedlist>
25+ <para>
26+ System images, such as the live installer ones, know how to enforce
27+ configuration settings on wich they immediately depend in order to
28+ work correctly.
29+ </para>
30+ <para>
31+ However, if you are confident, you can opt to override those
32+ enforced values with <literal>mkForce</literal>.
33+ </para>
34+ <section xml:id="sec-building-image-instructions">
35+ <title>Practical Instructions</title>
36+ <programlisting>
37+$ git clone https://github.com/NixOS/nixpkgs.git
38+$ cd nixpkgs/nixos
39+$ nix-build -A config.system.build.isoImage -I nixos-config=modules/installer/cd-dvd/installation-cd-minimal.nix default.nix
40+</programlisting>
41+ <para>
42+ To check the content of an ISO image, mount it like so:
43+ </para>
44+ <programlisting>
45+# mount -o loop -t iso9660 ./result/iso/cd.iso /mnt/iso
46+</programlisting>
47+ </section>
48+ <section xml:id="sec-building-image-tech-notes">
49+ <title>Technical Notes</title>
50+ <para>
51+ The config value enforcement is implemented via
52+ <literal>mkImageMediaOverride = mkOverride 60;</literal> and
53+ therefore primes over simple value assignments, but also yields to
54+ <literal>mkForce</literal>.
55+ </para>
56+ <para>
57+ This property allows image designers to implement in semantically
58+ correct ways those configuration values upon which the correct
59+ functioning of the image depends.
60+ </para>
61+ <para>
62+ For example, the iso base image overrides those file systems which
63+ it needs at a minimum for correct functioning, while the installer
64+ base image overrides the entire file system layout because there
65+ can’t be any other guarantees on a live medium than those given by
66+ the live medium itself. The latter is especially true befor
67+ formatting the target block device(s). On the other hand, the
68+ netboot iso only overrides its minimum dependencies since netboot
69+ images are always made-to-target.
70+ </para>
71+ </section>
72+</chapter>
nixos/doc/manual/from_md/development/option-declarations.section.xml+106−212
@@ -38,11 +38,9 @@ options = {
3838 <listitem>
3939 <para>
4040 The type of the option (see
41− <xref linkend="sec-option-types" />). This argument is
42− mandatory for nixpkgs modules. Setting this is highly
43− recommended for the sake of documentation and type checking.
44− In case it is not set, a fallback type with unspecified
45− behavior is used.
41+ <xref linkend="sec-option-types" />). It may be omitted, but
42+ that’s not advisable since it may lead to errors that are hard
43+ to diagnose.
4644 </para>
4745 </listitem>
4846 </varlistentry>
@@ -99,229 +97,125 @@ options = {
9997 </listitem>
10098 </varlistentry>
10199 </variablelist>
102− <section xml:id="sec-option-declarations-util">
103− <title>Utility functions for common option patterns</title>
104− <section xml:id="sec-option-declarations-util-mkEnableOption">
105− <title><literal>mkEnableOption</literal></title>
106− <para>
107− Creates an Option attribute set for a boolean value option i.e
108− an option to be toggled on or off.
109− </para>
110− <para>
111− This function takes a single string argument, the name of the
112− thing to be toggled.
113− </para>
114− <para>
115− The option’s description is <quote>Whether to enable
116− &lt;name&gt;.</quote>.
117− </para>
118− <para>
119− For example:
120− </para>
121− <anchor xml:id="ex-options-declarations-util-mkEnableOption-magic" />
122− <programlisting language="bash">
123−lib.mkEnableOption &quot;magic&quot;
124−# is like
125−lib.mkOption {
126− type = lib.types.bool;
127− default = false;
128− example = true;
129− description = &quot;Whether to enable magic.&quot;;
130−}
131−</programlisting>
132− <section xml:id="sec-option-declarations-util-mkPackageOption">
133− <title><literal>mkPackageOption</literal></title>
134− <para>
135− Usage:
136− </para>
137− <programlisting language="bash">
138−mkPackageOption pkgs &quot;name&quot; { default = [ &quot;path&quot; &quot;in&quot; &quot;pkgs&quot; ]; example = &quot;literal example&quot;; }
139−</programlisting>
140− <para>
141− Creates an Option attribute set for an option that specifies
142− the package a module should use for some purpose.
143− </para>
144− <para>
145− <emphasis role="strong">Note</emphasis>: You shouldn’t
146− necessarily make package options for all of your modules. You
147− can always overwrite a specific package throughout nixpkgs by
148− using
149− <link xlink:href="https://nixos.org/manual/nixpkgs/stable/#chap-overlays">nixpkgs
150− overlays</link>.
151− </para>
152− <para>
153− The default package is specified as a list of strings
154− representing its attribute path in nixpkgs. Because of this,
155− you need to pass nixpkgs itself as the first argument.
156− </para>
157− <para>
158− The second argument is the name of the option, used in the
159− description <quote>The &lt;name&gt; package to use.</quote>.
160− You can also pass an example value, either a literal string or
161− a package’s attribute path.
162− </para>
100+ <section xml:id="sec-option-declarations-eot">
101+ <title>Extensible Option Types</title>
102+ <para>
103+ Extensible option types is a feature that allow to extend certain
104+ types declaration through multiple module files. This feature only
105+ work with a restricted set of types, namely
106+ <literal>enum</literal> and <literal>submodules</literal> and any
107+ composed forms of them.
108+ </para>
109+ <para>
110+ Extensible option types can be used for <literal>enum</literal>
111+ options that affects multiple modules, or as an alternative to
112+ related <literal>enable</literal> options.
113+ </para>
114+ <para>
115+ As an example, we will take the case of display managers. There is
116+ a central display manager module for generic display manager
117+ options and a module file per display manager backend (sddm, gdm
118+ ...).
119+ </para>
120+ <para>
121+ There are two approach to this module structure:
122+ </para>
123+ <itemizedlist>
124+ <listitem>
163125 <para>
164− You can omit the default path if the name of the option is
165− also attribute path in nixpkgs.
126+ Managing the display managers independently by adding an
127+ enable option to every display manager module backend. (NixOS)
166128 </para>
167− <anchor xml:id="ex-options-declarations-util-mkPackageOption" />
129+ </listitem>
130+ <listitem>
168131 <para>
169− Examples:
132+ Managing the display managers in the central module by adding
133+ an option to select which display manager backend to use.
170134 </para>
171− <anchor xml:id="ex-options-declarations-util-mkPackageOption-hello" />
172− <programlisting language="bash">
173−lib.mkPackageOption pkgs &quot;hello&quot; { }
174−# is like
175−lib.mkOption {
176− type = lib.types.package;
177− default = pkgs.hello;
178− defaultText = lib.literalExpression &quot;pkgs.hello&quot;;
179− description = &quot;The hello package to use.&quot;;
180−}
181−</programlisting>
182− <anchor xml:id="ex-options-declarations-util-mkPackageOption-ghc" />
183− <programlisting language="bash">
184−lib.mkPackageOption pkgs &quot;GHC&quot; {
185− default = [ &quot;ghc&quot; ];
186− example = &quot;pkgs.haskell.package.ghc922.ghc.withPackages (hkgs: [ hkgs.primes ])&quot;;
187−}
188−# is like
189−lib.mkOption {
190− type = lib.types.package;
191− default = pkgs.ghc;
192− defaultText = lib.literalExpression &quot;pkgs.ghc&quot;;
193− example = lib.literalExpression &quot;pkgs.haskell.package.ghc922.ghc.withPackages (hkgs: [ hkgs.primes ])&quot;;
194− description = &quot;The GHC package to use.&quot;;
195−}
196−</programlisting>
197− <section xml:id="sec-option-declarations-eot">
198− <title>Extensible Option Types</title>
199− <para>
200− Extensible option types is a feature that allow to extend
201− certain types declaration through multiple module files.
202− This feature only work with a restricted set of types,
203− namely <literal>enum</literal> and
204− <literal>submodules</literal> and any composed forms of
205− them.
206− </para>
207− <para>
208− Extensible option types can be used for
209− <literal>enum</literal> options that affects multiple
210− modules, or as an alternative to related
211− <literal>enable</literal> options.
212− </para>
213− <para>
214− As an example, we will take the case of display managers.
215− There is a central display manager module for generic
216− display manager options and a module file per display
217− manager backend (sddm, gdm ...).
218− </para>
219− <para>
220− There are two approaches we could take with this module
221− structure:
222− </para>
223− <itemizedlist>
224− <listitem>
225− <para>
226− Configuring the display managers independently by adding
227− an enable option to every display manager module
228− backend. (NixOS)
229− </para>
230− </listitem>
231− <listitem>
232− <para>
233− Configuring the display managers in the central module
234− by adding an option to select which display manager
235− backend to use.
236− </para>
237− </listitem>
238− </itemizedlist>
239− <para>
240− Both approaches have problems.
241− </para>
242− <para>
243− Making backends independent can quickly become hard to
244− manage. For display managers, there can only be one enabled
245− at a time, but the type system cannot enforce this
246− restriction as there is no relation between each backend’s
247− <literal>enable</literal> option. As a result, this
248− restriction has to be done explicitly by adding assertions
249− in each display manager backend module.
250− </para>
251− <para>
252− On the other hand, managing the display manager backends in
253− the central module will require changing the central module
254− option every time a new backend is added or removed.
255− </para>
256− <para>
257− By using extensible option types, it is possible to create a
258− placeholder option in the central module
259− (<link linkend="ex-option-declaration-eot-service">Example:
260− Extensible type placeholder in the service module</link>),
261− and to extend it in each backend module
262− (<link linkend="ex-option-declaration-eot-backend-gdm">Example:
263− Extending
264− <literal>services.xserver.displayManager.enable</literal> in
265− the <literal>gdm</literal> module</link>,
266− <link linkend="ex-option-declaration-eot-backend-sddm">Example:
267− Extending
268− <literal>services.xserver.displayManager.enable</literal> in
269− the <literal>sddm</literal> module</link>).
270− </para>
271− <para>
272− As a result, <literal>displayManager.enable</literal> option
273− values can be added without changing the main service module
274− file and the type system automatically enforces that there
275− can only be a single display manager enabled.
276− </para>
277− <anchor xml:id="ex-option-declaration-eot-service" />
278− <para>
279− <emphasis role="strong">Example: Extensible type placeholder
280− in the service module</emphasis>
281− </para>
282− <programlisting language="bash">
135+ </listitem>
136+ </itemizedlist>
137+ <para>
138+ Both approaches have problems.
139+ </para>
140+ <para>
141+ Making backends independent can quickly become hard to manage. For
142+ display managers, there can be only one enabled at a time, but the
143+ type system can not enforce this restriction as there is no
144+ relation between each backend <literal>enable</literal> option. As
145+ a result, this restriction has to be done explicitely by adding
146+ assertions in each display manager backend module.
147+ </para>
148+ <para>
149+ On the other hand, managing the display managers backends in the
150+ central module will require to change the central module option
151+ every time a new backend is added or removed.
152+ </para>
153+ <para>
154+ By using extensible option types, it is possible to create a
155+ placeholder option in the central module
156+ (<link linkend="ex-option-declaration-eot-service">Example:
157+ Extensible type placeholder in the service module</link>), and to
158+ extend it in each backend module
159+ (<link linkend="ex-option-declaration-eot-backend-gdm">Example:
160+ Extending
161+ <literal>services.xserver.displayManager.enable</literal> in the
162+ <literal>gdm</literal> module</link>,
163+ <link linkend="ex-option-declaration-eot-backend-sddm">Example:
164+ Extending
165+ <literal>services.xserver.displayManager.enable</literal> in the
166+ <literal>sddm</literal> module</link>).
167+ </para>
168+ <para>
169+ As a result, <literal>displayManager.enable</literal> option
170+ values can be added without changing the main service module file
171+ and the type system automatically enforce that there can only be a
172+ single display manager enabled.
173+ </para>
174+ <anchor xml:id="ex-option-declaration-eot-service" />
175+ <para>
176+ <emphasis role="strong">Example: Extensible type placeholder in
177+ the service module</emphasis>
178+ </para>
179+ <programlisting language="bash">
283180services.xserver.displayManager.enable = mkOption {
284181 description = &quot;Display manager to use&quot;;
285182 type = with types; nullOr (enum [ ]);
286183};
287184</programlisting>
288− <anchor xml:id="ex-option-declaration-eot-backend-gdm" />
289− <para>
290− <emphasis role="strong">Example: Extending
291− <literal>services.xserver.displayManager.enable</literal> in
292− the <literal>gdm</literal> module</emphasis>
293− </para>
294− <programlisting language="bash">
185+ <anchor xml:id="ex-option-declaration-eot-backend-gdm" />
186+ <para>
187+ <emphasis role="strong">Example: Extending
188+ <literal>services.xserver.displayManager.enable</literal> in the
189+ <literal>gdm</literal> module</emphasis>
190+ </para>
191+ <programlisting language="bash">
295192services.xserver.displayManager.enable = mkOption {
296193 type = with types; nullOr (enum [ &quot;gdm&quot; ]);
297194};
298195</programlisting>
299− <anchor xml:id="ex-option-declaration-eot-backend-sddm" />
300− <para>
301− <emphasis role="strong">Example: Extending
302− <literal>services.xserver.displayManager.enable</literal> in
303− the <literal>sddm</literal> module</emphasis>
304− </para>
305− <programlisting language="bash">
196+ <anchor xml:id="ex-option-declaration-eot-backend-sddm" />
197+ <para>
198+ <emphasis role="strong">Example: Extending
199+ <literal>services.xserver.displayManager.enable</literal> in the
200+ <literal>sddm</literal> module</emphasis>
201+ </para>
202+ <programlisting language="bash">
306203services.xserver.displayManager.enable = mkOption {
307204 type = with types; nullOr (enum [ &quot;sddm&quot; ]);
308205};
309206</programlisting>
310− <para>
311− The placeholder declaration is a standard
312− <literal>mkOption</literal> declaration, but it is important
313− that extensible option declarations only use the
314− <literal>type</literal> argument.
315− </para>
316− <para>
317− Extensible option types work with any of the composed
318− variants of <literal>enum</literal> such as
319− <literal>with types; nullOr (enum [ &quot;foo&quot; &quot;bar&quot; ])</literal>
320− or
321− <literal>with types; listOf (enum [ &quot;foo&quot; &quot;bar&quot; ])</literal>.
322− </para>
323− </section>
324− </section>
325− </section>
207+ <para>
208+ The placeholder declaration is a standard
209+ <literal>mkOption</literal> declaration, but it is important that
210+ extensible option declarations only use the
211+ <literal>type</literal> argument.
212+ </para>
213+ <para>
214+ Extensible option types work with any of the composed variants of
215+ <literal>enum</literal> such as
216+ <literal>with types; nullOr (enum [ &quot;foo&quot; &quot;bar&quot; ])</literal>
217+ or
218+ <literal>with types; listOf (enum [ &quot;foo&quot; &quot;bar&quot; ])</literal>.
219+ </para>
326220 </section>
327221</section>
nixos/doc/manual/from_md/development/option-types.section.xml+5−56
@@ -30,10 +30,10 @@
3030 </term>
3131 <listitem>
3232 <para>
33− A filesystem path is anything that starts with a slash when
34− coerced to a string. Even if derivations can be considered
35− as paths, the more specific <literal>types.package</literal>
36− should be preferred.
33+ A filesystem path, defined as anything that when coerced to
34+ a string starts with a slash. Even if derivations can be
35+ considered as path, the more specific
36+ <literal>types.package</literal> should be preferred.
3737 </para>
3838 </listitem>
3939 </varlistentry>
@@ -43,9 +43,7 @@
4343 </term>
4444 <listitem>
4545 <para>
46− A top-level store path. This can be an attribute set
47− pointing to a store path, like a derivation or a flake
48− input.
46+ A derivation or a store path.
4947 </para>
5048 </listitem>
5149 </varlistentry>
@@ -94,39 +92,6 @@
9492</programlisting>
9593 </listitem>
9694 </varlistentry>
97− <varlistentry>
98− <term>
99− <literal>types.raw</literal>
100− </term>
101− <listitem>
102− <para>
103− A type which doesn’t do any checking, merging or nested
104− evaluation. It accepts a single arbitrary value that is not
105− recursed into, making it useful for values coming from
106− outside the module system, such as package sets or arbitrary
107− data. Options of this type are still evaluated according to
108− priorities and conditionals, so <literal>mkForce</literal>,
109− <literal>mkIf</literal> and co. still work on the option
110− value itself, but not for any value nested within it. This
111− type should only be used when checking, merging and nested
112− evaluation are not desirable.
113− </para>
114− </listitem>
115− </varlistentry>
116− <varlistentry>
117− <term>
118− <literal>types.optionType</literal>
119− </term>
120− <listitem>
121− <para>
122− The type of an option’s type. Its merging operation ensures
123− that nested options have the correct file location
124− annotated, and that if possible, multiple option definitions
125− are correctly merged together. The main use case is as the
126− type of the <literal>_module.freeformType</literal> option.
127− </para>
128− </listitem>
129− </varlistentry>
13095 <varlistentry>
13196 <term>
13297 <literal>types.attrs</literal>
@@ -531,22 +496,6 @@
531496 </para>
532497 </listitem>
533498 </varlistentry>
534− <varlistentry>
535− <term>
536− <literal>types.unique</literal>
537− <literal>{ message = m }</literal>
538− <emphasis><literal>t</literal></emphasis>
539− </term>
540− <listitem>
541− <para>
542− Ensures that type <emphasis><literal>t</literal></emphasis>
543− cannot be merged. Prints the message
544− <emphasis><literal>m</literal></emphasis>, after the line
545− <literal>The option &lt;option path&gt; is defined multiple times.</literal>
546− and before a list of definition locations.
547− </para>
548− </listitem>
549− </varlistentry>
550499 <varlistentry>
551500 <term>
552501 <literal>types.either</literal>
nixos/doc/manual/from_md/development/running-nixos-tests-interactively.section.xml+2−2
@@ -6,7 +6,7 @@
66 </para>
77 <programlisting>
88$ nix-build . -A nixosTests.login.driverInteractive
9−$ ./result/bin/nixos-test-driver
9+$ ./result/bin/nixos-test-driver --interactive
1010[...]
1111&gt;&gt;&gt;
1212</programlisting>
@@ -30,7 +30,7 @@ $ ./result/bin/nixos-test-driver
3030 the <literal>--keep-vm-state</literal> flag.
3131 </para>
3232 <programlisting>
33−$ ./result/bin/nixos-test-driver --keep-vm-state
33+$ ./result/bin/nixos-test-driver --interactive --keep-vm-state
3434</programlisting>
3535 <para>
3636 The machine state is stored in the
nixos/doc/manual/from_md/development/running-nixos-tests.section.xml+2−2
@@ -26,9 +26,9 @@ machine: QEMU running (pid 8841)
2626 perform a build that starts a QEMU/KVM virtual machine containing a
2727 NixOS system. The virtual machine mounts the Nix store of the host;
2828 this makes VM creation very fast, as no disk image needs to be
29− created. Afterwards, you can view a log of the test:
29+ created. Afterwards, you can view a pretty-printed log of the test:
3030 </para>
3131 <programlisting>
32−$ nix-store --read-log result
32+$ firefox result/log.html
3333</programlisting>
3434</section>
nixos/doc/manual/from_md/development/settings-options.section.xml−136
@@ -53,38 +53,6 @@
5353 <literal>pkgs.formats</literal>:
5454 </para>
5555 <variablelist>
56− <varlistentry>
57− <term>
58− <literal>pkgs.formats.javaProperties</literal> {
59− <emphasis><literal>comment</literal></emphasis> ?
60− <literal>&quot;Generated with Nix&quot;</literal> }
61− </term>
62− <listitem>
63− <para>
64− A function taking an attribute set with values
65− </para>
66− <variablelist>
67− <varlistentry>
68− <term>
69− <literal>comment</literal>
70− </term>
71− <listitem>
72− <para>
73− A string to put at the start of the file in a comment.
74− It can have multiple lines.
75− </para>
76− </listitem>
77− </varlistentry>
78− </variablelist>
79− <para>
80− It returns the <literal>type</literal>:
81− <literal>attrsOf str</literal> and a function
82− <literal>generate</literal> to build a Java
83− <literal>.properties</literal> file, taking care of the
84− correct escaping, etc.
85− </para>
86− </listitem>
87− </varlistentry>
8856 <varlistentry>
8957 <term>
9058 <literal>pkgs.formats.json</literal> { }
@@ -169,97 +137,6 @@
169137 </para>
170138 </listitem>
171139 </varlistentry>
172− <varlistentry>
173− <term>
174− <literal>pkgs.formats.elixirConf { elixir ? pkgs.elixir }</literal>
175− </term>
176− <listitem>
177− <para>
178− A function taking an attribute set with values
179− </para>
180− <variablelist>
181− <varlistentry>
182− <term>
183− <literal>elixir</literal>
184− </term>
185− <listitem>
186− <para>
187− The Elixir package which will be used to format the
188− generated output
189− </para>
190− </listitem>
191− </varlistentry>
192− </variablelist>
193− <para>
194− It returns a set with Elixir-Config-specific attributes
195− <literal>type</literal>, <literal>lib</literal>, and
196− <literal>generate</literal> as specified
197− <link linkend="pkgs-formats-result">below</link>.
198− </para>
199− <para>
200− The <literal>lib</literal> attribute contains functions to
201− be used in settings, for generating special Elixir values:
202− </para>
203− <variablelist>
204− <varlistentry>
205− <term>
206− <literal>mkRaw elixirCode</literal>
207− </term>
208− <listitem>
209− <para>
210− Outputs the given string as raw Elixir code
211− </para>
212− </listitem>
213− </varlistentry>
214− <varlistentry>
215− <term>
216− <literal>mkGetEnv { envVariable, fallback ? null }</literal>
217− </term>
218− <listitem>
219− <para>
220− Makes the configuration fetch an environment variable
221− at runtime
222− </para>
223− </listitem>
224− </varlistentry>
225− <varlistentry>
226− <term>
227− <literal>mkAtom atom</literal>
228− </term>
229− <listitem>
230− <para>
231− Outputs the given string as an Elixir atom, instead of
232− the default Elixir binary string. Note: lowercase
233− atoms still needs to be prefixed with
234− <literal>:</literal>
235− </para>
236− </listitem>
237− </varlistentry>
238− <varlistentry>
239− <term>
240− <literal>mkTuple array</literal>
241− </term>
242− <listitem>
243− <para>
244− Outputs the given array as an Elixir tuple, instead of
245− the default Elixir list
246− </para>
247− </listitem>
248− </varlistentry>
249− <varlistentry>
250− <term>
251− <literal>mkMap attrset</literal>
252− </term>
253− <listitem>
254− <para>
255− Outputs the given attribute set as an Elixir map,
256− instead of the default Elixir keyword list
257− </para>
258− </listitem>
259− </varlistentry>
260− </variablelist>
261− </listitem>
262− </varlistentry>
263140 </variablelist>
264141 <para xml:id="pkgs-formats-result">
265142 These functions all return an attribute set with these values:
@@ -275,19 +152,6 @@
275152 </para>
276153 </listitem>
277154 </varlistentry>
278− <varlistentry>
279− <term>
280− <literal>lib</literal>
281− </term>
282− <listitem>
283− <para>
284− Utility functions for convenience, or special interactions
285− with the format. This attribute is optional. It may contain
286− inside a <literal>types</literal> attribute containing types
287− specific to this format.
288− </para>
289− </listitem>
290− </varlistentry>
291155 <varlistentry>
292156 <term>
293157 <literal>generate</literal>
nixos/doc/manual/from_md/development/unit-handling.section.xmldeleted−131
@@ -1,131 +0,0 @@
1−<section xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="sec-unit-handling">
2− <title>Unit handling</title>
3− <para>
4− To figure out what units need to be
5− started/stopped/restarted/reloaded, the script first checks the
6− current state of the system, similar to what
7− <literal>systemctl list-units</literal> shows. For each of the
8− units, the script goes through the following checks:
9− </para>
10− <itemizedlist>
11− <listitem>
12− <para>
13− Is the unit file still in the new system? If not,
14− <emphasis role="strong">stop</emphasis> the service unless it
15− sets <literal>X-StopOnRemoval</literal> in the
16− <literal>[Unit]</literal> section to <literal>false</literal>.
17− </para>
18− </listitem>
19− <listitem>
20− <para>
21− Is it a <literal>.target</literal> unit? If so,
22− <emphasis role="strong">start</emphasis> it unless it sets
23− <literal>RefuseManualStart</literal> in the
24− <literal>[Unit]</literal> section to <literal>true</literal> or
25− <literal>X-OnlyManualStart</literal> in the
26− <literal>[Unit]</literal> section to <literal>true</literal>.
27− Also <emphasis role="strong">stop</emphasis> the unit again
28− unless it sets <literal>X-StopOnReconfiguration</literal> to
29− <literal>false</literal>.
30− </para>
31− </listitem>
32− <listitem>
33− <para>
34− Are the contents of the unit files different? They are compared
35− by parsing them and comparing their contents. If they are
36− different but only <literal>X-Reload-Triggers</literal> in the
37− <literal>[Unit]</literal> section is changed,
38− <emphasis role="strong">reload</emphasis> the unit. The NixOS
39− module system allows setting these triggers with the option
40− <link linkend="opt-systemd.services">systemd.services.&lt;name&gt;.reloadTriggers</link>.
41− There are some additional keys in the <literal>[Unit]</literal>
42− section that are ignored as well. If the unit files differ in
43− any way, the following actions are performed:
44− </para>
45− <itemizedlist>
46− <listitem>
47− <para>
48− <literal>.path</literal> and <literal>.slice</literal> units
49− are ignored. There is no need to restart them since changes
50− in their values are applied by systemd when systemd is
51− reloaded.
52− </para>
53− </listitem>
54− <listitem>
55− <para>
56− <literal>.mount</literal> units are
57− <emphasis role="strong">reload</emphasis>ed. These mostly
58− come from the <literal>/etc/fstab</literal> parser.
59− </para>
60− </listitem>
61− <listitem>
62− <para>
63− <literal>.socket</literal> units are currently ignored. This
64− is to be fixed at a later point.
65− </para>
66− </listitem>
67− <listitem>
68− <para>
69− The rest of the units (mostly <literal>.service</literal>
70− units) are then <emphasis role="strong">reload</emphasis>ed
71− if <literal>X-ReloadIfChanged</literal> in the
72− <literal>[Service]</literal> section is set to
73− <literal>true</literal> (exposed via
74− <link linkend="opt-systemd.services">systemd.services.&lt;name&gt;.reloadIfChanged</link>).
75− A little exception is done for units that were deactivated
76− in the meantime, for example because they require a unit
77− that got stopped before. These are
78− <emphasis role="strong">start</emphasis>ed instead of
79− reloaded.
80− </para>
81− </listitem>
82− <listitem>
83− <para>
84− If the reload flag is not set, some more flags decide if the
85− unit is skipped. These flags are
86− <literal>X-RestartIfChanged</literal> in the
87− <literal>[Service]</literal> section (exposed via
88− <link linkend="opt-systemd.services">systemd.services.&lt;name&gt;.restartIfChanged</link>),
89− <literal>RefuseManualStop</literal> in the
90− <literal>[Unit]</literal> section, and
91− <literal>X-OnlyManualStart</literal> in the
92− <literal>[Unit]</literal> section.
93− </para>
94− </listitem>
95− <listitem>
96− <para>
97− Further behavior depends on the unit having
98− <literal>X-StopIfChanged</literal> in the
99− <literal>[Service]</literal> section set to
100− <literal>true</literal> (exposed via
101− <link linkend="opt-systemd.services">systemd.services.&lt;name&gt;.stopIfChanged</link>).
102− This is set to <literal>true</literal> by default and must
103− be explicitly turned off if not wanted. If the flag is
104− enabled, the unit is
105− <emphasis role="strong">stop</emphasis>ped and then
106− <emphasis role="strong">start</emphasis>ed. If not, the unit
107− is <emphasis role="strong">restart</emphasis>ed. The goal of
108− the flag is to make sure that the new unit never runs in the
109− old environment which is still in place before the
110− activation script is run. This behavior is different when
111− the service is socket-activated, as outlined in the
112− following steps.
113− </para>
114− </listitem>
115− <listitem>
116− <para>
117− The last thing that is taken into account is whether the
118− unit is a service and socket-activated. If
119− <literal>X-StopIfChanged</literal> is
120− <emphasis role="strong">not</emphasis> set, the service is
121− <emphasis role="strong">restart</emphasis>ed with the
122− others. If it is set, both the service and the socket are
123− <emphasis role="strong">stop</emphasis>ped and the socket is
124− <emphasis role="strong">start</emphasis>ed, leaving socket
125− activation to start the service when it’s needed.
126− </para>
127− </listitem>
128− </itemizedlist>
129− </listitem>
130− </itemizedlist>
131−</section>
nixos/doc/manual/from_md/development/what-happens-during-a-system-switch.chapter.xmldeleted−122
@@ -1,122 +0,0 @@
1−<chapter xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude" xml:id="sec-switching-systems">
2− <title>What happens during a system switch?</title>
3− <para>
4− Running <literal>nixos-rebuild switch</literal> is one of the more
5− common tasks under NixOS. This chapter explains some of the
6− internals of this command to make it simpler for new module
7− developers to configure their units correctly and to make it easier
8− to understand what is happening and why for curious administrators.
9− </para>
10− <para>
11− <literal>nixos-rebuild</literal>, like many deployment solutions,
12− calls <literal>switch-to-configuration</literal> which resides in a
13− NixOS system at <literal>$out/bin/switch-to-configuration</literal>.
14− The script is called with the action that is to be performed like
15− <literal>switch</literal>, <literal>test</literal>,
16− <literal>boot</literal>. There is also the
17− <literal>dry-activate</literal> action which does not really perform
18− the actions but rather prints what it would do if you called it with
19− <literal>test</literal>. This feature can be used to check what
20− service states would be changed if the configuration was switched
21− to.
22− </para>
23− <para>
24− If the action is <literal>switch</literal> or
25− <literal>boot</literal>, the bootloader is updated first so the
26− configuration will be the next one to boot. Unless
27− <literal>NIXOS_NO_SYNC</literal> is set to <literal>1</literal>,
28− <literal>/nix/store</literal> is synced to disk.
29− </para>
30− <para>
31− If the action is <literal>switch</literal> or
32− <literal>test</literal>, the currently running system is inspected
33− and the actions to switch to the new system are calculated. This
34− process takes two data sources into account:
35− <literal>/etc/fstab</literal> and the current systemd status. Mounts
36− and swaps are read from <literal>/etc/fstab</literal> and the
37− corresponding actions are generated. If a new mount is added, for
38− example, the proper <literal>.mount</literal> unit is marked to be
39− started. The current systemd state is inspected, the difference
40− between the current system and the desired configuration is
41− calculated and actions are generated to get to this state. There are
42− a lot of nuances that can be controlled by the units which are
43− explained here.
44− </para>
45− <para>
46− After calculating what should be done, the actions are carried out.
47− The order of actions is always the same:
48− </para>
49− <itemizedlist spacing="compact">
50− <listitem>
51− <para>
52− Stop units (<literal>systemctl stop</literal>)
53− </para>
54− </listitem>
55− <listitem>
56− <para>
57− Run activation script (<literal>$out/activate</literal>)
58− </para>
59− </listitem>
60− <listitem>
61− <para>
62− See if the activation script requested more units to restart
63− </para>
64− </listitem>
65− <listitem>
66− <para>
67− Restart systemd if needed
68− (<literal>systemd daemon-reexec</literal>)
69− </para>
70− </listitem>
71− <listitem>
72− <para>
73− Forget about the failed state of units
74− (<literal>systemctl reset-failed</literal>)
75− </para>
76− </listitem>
77− <listitem>
78− <para>
79− Reload systemd (<literal>systemctl daemon-reload</literal>)
80− </para>
81− </listitem>
82− <listitem>
83− <para>
84− Reload systemd user instances
85− (<literal>systemctl --user daemon-reload</literal>)
86− </para>
87− </listitem>
88− <listitem>
89− <para>
90− Set up tmpfiles (<literal>systemd-tmpfiles --create</literal>)
91− </para>
92− </listitem>
93− <listitem>
94− <para>
95− Reload units (<literal>systemctl reload</literal>)
96− </para>
97− </listitem>
98− <listitem>
99− <para>
100− Restart units (<literal>systemctl restart</literal>)
101− </para>
102− </listitem>
103− <listitem>
104− <para>
105− Start units (<literal>systemctl start</literal>)
106− </para>
107− </listitem>
108− <listitem>
109− <para>
110− Inspect what changed during these actions and print units that
111− failed and that were newly started
112− </para>
113− </listitem>
114− </itemizedlist>
115− <para>
116− Most of these actions are either self-explaining but some of them
117− have to do with our units or the activation script. For this reason,
118− these topics are explained in the next sections.
119− </para>
120− <xi:include href="unit-handling.section.xml" />
121− <xi:include href="activation-script.section.xml" />
122−</chapter>
nixos/doc/manual/from_md/development/writing-modules.chapter.xml−49
@@ -122,25 +122,6 @@
122122 services) and <literal>systemd.timers</literal> (the list of
123123 commands to be executed periodically by <literal>systemd</literal>).
124124 </para>
125− <para>
126− Care must be taken when writing systemd services using
127− <literal>Exec*</literal> directives. By default systemd performs
128− substitution on <literal>%&lt;char&gt;</literal> specifiers in these
129− directives, expands environment variables from
130− <literal>$FOO</literal> and <literal>${FOO}</literal>, splits
131− arguments on whitespace, and splits commands on
132− <literal>;</literal>. All of these must be escaped to avoid
133− unexpected substitution or splitting when interpolating into an
134− <literal>Exec*</literal> directive, e.g. when using an
135− <literal>extraArgs</literal> option to pass additional arguments to
136− the service. The functions
137− <literal>utils.escapeSystemdExecArg</literal> and
138− <literal>utils.escapeSystemdExecArgs</literal> are provided for
139− this, see <link linkend="exec-escaping-example">Example: Escaping in
140− Exec directives</link> for an example. When using these functions
141− system environment substitution should <emphasis>not</emphasis> be
142− disabled explicitly.
143− </para>
144125 <anchor xml:id="locate-example" />
145126 <para>
146127 <emphasis role="strong">Example: NixOS Module for the
@@ -202,36 +183,6 @@ in {
202183 };
203184 };
204185}
205−</programlisting>
206− <anchor xml:id="exec-escaping-example" />
207− <para>
208− <emphasis role="strong">Example: Escaping in Exec
209− directives</emphasis>
210− </para>
211− <programlisting language="bash">
212−{ config, lib, pkgs, utils, ... }:
213−
214−with lib;
215−
216−let
217− cfg = config.services.echo;
218− echoAll = pkgs.writeScript &quot;echo-all&quot; ''
219− #! ${pkgs.runtimeShell}
220− for s in &quot;$@&quot;; do
221− printf '%s\n' &quot;$s&quot;
222− done
223− '';
224− args = [ &quot;a%Nything&quot; &quot;lang=\${LANG}&quot; &quot;;&quot; &quot;/bin/sh -c date&quot; ];
225−in {
226− systemd.services.echo =
227− { description = &quot;Echo to the journal&quot;;
228− wantedBy = [ &quot;multi-user.target&quot; ];
229− serviceConfig.Type = &quot;oneshot&quot;;
230− serviceConfig.ExecStart = ''
231− ${echoAll} ${utils.escapeSystemdExecArgs args}
232− '';
233− };
234−}
235186</programlisting>
236187 <xi:include href="option-declarations.section.xml" />
237188 <xi:include href="option-types.section.xml" />
nixos/doc/manual/from_md/development/writing-nixos-tests.section.xml+56−95
@@ -6,9 +6,15 @@
66 <programlisting language="bash">
77import ./make-test-python.nix {
88
9− # One or more machines:
9+ # Either the configuration of a single machine:
10+ machine =
11+ { config, pkgs, ... }:
12+ { configuration…
13+ };
14+
15+ # Or a set of machines:
1016 nodes =
11− { machine =
17+ { machine1 =
1218 { config, pkgs, ... }: { … };
1319 machine2 =
1420 { config, pkgs, ... }: { … };
@@ -25,18 +31,18 @@ import ./make-test-python.nix {
2531 The attribute <literal>testScript</literal> is a bit of Python code
2632 that executes the test (described below). During the test, it will
2733 start one or more virtual machines, the configuration of which is
28− described by the attribute <literal>nodes</literal>.
29− </para>
30− <para>
31− An example of a single-node test is
32− <link xlink:href="https://github.com/NixOS/nixpkgs/blob/master/nixos/tests/login.nix"><literal>login.nix</literal></link>.
33− It only needs a single machine to test whether users can log in on
34− the virtual console, whether device ownership is correctly
35− maintained when switching between consoles, and so on. An
36− interesting multi-node test is
37− <link xlink:href="https://github.com/NixOS/nixpkgs/blob/master/nixos/tests/nfs/simple.nix"><literal>nfs/simple.nix</literal></link>.
38− It uses two client nodes to test correct locking across server
39− crashes.
34+ described by the attribute <literal>machine</literal> (if you need
35+ only one machine in your test) or by the attribute
36+ <literal>nodes</literal> (if you need multiple machines). For
37+ instance,
38+ <link xlink:href="https://github.com/NixOS/nixpkgs/blob/master/nixos/tests/login.nix"><literal>login.nix</literal></link>
39+ only needs a single machine to test whether users can log in on the
40+ virtual console, whether device ownership is correctly maintained
41+ when switching between consoles, and so on. On the other hand,
42+ <link xlink:href="https://github.com/NixOS/nixpkgs/blob/master/nixos/tests/nfs/simple.nix"><literal>nfs/simple.nix</literal></link>,
43+ which tests NFS client and server functionality in the Linux kernel
44+ (including whether locks are maintained across server crashes),
45+ requires three machines: a server and two clients.
4046 </para>
4147 <para>
4248 There are a few special NixOS configuration options for test VMs:
@@ -88,8 +94,9 @@ import ./make-test-python.nix {
8894 various actions, such as starting VMs, executing commands in the
8995 VMs, and so on. Each virtual machine is represented as an object
9096 stored in the variable <literal>name</literal> if this is also the
91− identifier of the machine in the declarative config. If you
92− specified a node <literal>nodes.machine</literal>, the following
97+ identifier of the machine in the declarative config. If you didn't
98+ specify multiple machines using the <literal>nodes</literal>
99+ attribute, it is just <literal>machine</literal>. The following
93100 example starts the machine, waits until it has finished booting,
94101 then executes a command and checks that the output is more-or-less
95102 correct:
@@ -101,7 +108,7 @@ if not &quot;Linux&quot; in machine.succeed(&quot;uname&quot;):
101108 raise Exception(&quot;Wrong OS&quot;)
102109</programlisting>
103110 <para>
104− The first line is technically unnecessary; machines are implicitly
111+ The first line is actually unnecessary; machines are implicitly
105112 started when you first execute an action on them (such as
106113 <literal>wait_for_unit</literal> or <literal>succeed</literal>). If
107114 you have multiple machines, you can speed up the test by starting
@@ -256,27 +263,40 @@ start_all()
256263 </varlistentry>
257264 <varlistentry>
258265 <term>
259− <literal>send_console</literal>
266+ <literal>execute</literal>
260267 </term>
261268 <listitem>
262269 <para>
263− Send keys to the kernel console. This allows interaction
264− with the systemd emergency mode, for example. Takes a string
265− that is sent, e.g.,
266− <literal>send_console(&quot;\n\nsystemctl default\n&quot;)</literal>.
270+ Execute a shell command, returning a list
271+ <literal>(status, stdout)</literal>. If the command
272+ detaches, it must close stdout, as
273+ <literal>execute</literal> will wait for this to consume all
274+ output reliably. This can be achieved by redirecting stdout
275+ to stderr <literal>&gt;&amp;2</literal>, to
276+ <literal>/dev/console</literal>,
277+ <literal>/dev/null</literal> or a file. Examples of
278+ detaching commands are <literal>sleep 365d &amp;</literal>,
279+ where the shell forks a new process that can write to stdout
280+ and <literal>xclip -i</literal>, where the
281+ <literal>xclip</literal> command itself forks without
282+ closing stdout. Takes an optional parameter
283+ <literal>check_return</literal> that defaults to
284+ <literal>True</literal>. Setting this parameter to
285+ <literal>False</literal> will not check for the return code
286+ and return -1 instead. This can be used for commands that
287+ shut down the VM and would therefore break the pipe that
288+ would be used for retrieving the return code.
267289 </para>
268290 </listitem>
269291 </varlistentry>
270292 <varlistentry>
271293 <term>
272− <literal>execute</literal>
294+ <literal>succeed</literal>
273295 </term>
274296 <listitem>
275297 <para>
276− Execute a shell command, returning a list
277− <literal>(status, stdout)</literal>.
278− </para>
279− <para>
298+ Execute a shell command, raising an exception if the exit
299+ status is not zero, otherwise returning the standard output.
280300 Commands are run with <literal>set -euo pipefail</literal>
281301 set:
282302 </para>
@@ -291,63 +311,22 @@ start_all()
291311 <listitem>
292312 <para>
293313 For pipelines, the last non-zero exit status will be
294− returned (if there is one; otherwise zero will be
295− returned).
314+ returned (if there is one, zero will be returned
315+ otherwise).
296316 </para>
297317 </listitem>
298318 <listitem>
299319 <para>
300− Dereferencing unset variables fails the command.
320+ Dereferencing unset variables fail the command.
301321 </para>
302322 </listitem>
303323 <listitem>
304324 <para>
305− It will wait for stdout to be closed.
325+ It will wait for stdout to be closed. See
326+ <literal>execute</literal> for the implications.
306327 </para>
307328 </listitem>
308329 </itemizedlist>
309− <para>
310− If the command detaches, it must close stdout, as
311− <literal>execute</literal> will wait for this to consume all
312− output reliably. This can be achieved by redirecting stdout
313− to stderr <literal>&gt;&amp;2</literal>, to
314− <literal>/dev/console</literal>,
315− <literal>/dev/null</literal> or a file. Examples of
316− detaching commands are <literal>sleep 365d &amp;</literal>,
317− where the shell forks a new process that can write to stdout
318− and <literal>xclip -i</literal>, where the
319− <literal>xclip</literal> command itself forks without
320− closing stdout.
321− </para>
322− <para>
323− Takes an optional parameter <literal>check_return</literal>
324− that defaults to <literal>True</literal>. Setting this
325− parameter to <literal>False</literal> will not check for the
326− return code and return -1 instead. This can be used for
327− commands that shut down the VM and would therefore break the
328− pipe that would be used for retrieving the return code.
329− </para>
330− <para>
331− A timeout for the command can be specified (in seconds)
332− using the optional <literal>timeout</literal> parameter,
333− e.g., <literal>execute(cmd, timeout=10)</literal> or
334− <literal>execute(cmd, timeout=None)</literal>. The default
335− is 900 seconds.
336− </para>
337− </listitem>
338− </varlistentry>
339− <varlistentry>
340− <term>
341− <literal>succeed</literal>
342− </term>
343− <listitem>
344− <para>
345− Execute a shell command, raising an exception if the exit
346− status is not zero, otherwise returning the standard output.
347− Similar to <literal>execute</literal>, except that the
348− timeout is <literal>None</literal> by default. See
349− <literal>execute</literal> for details on command execution.
350− </para>
351330 </listitem>
352331 </varlistentry>
353332 <varlistentry>
@@ -368,10 +347,7 @@ start_all()
368347 <listitem>
369348 <para>
370349 Repeat a shell command with 1-second intervals until it
371− succeeds. Has a default timeout of 900 seconds which can be
372− modified, e.g.
373− <literal>wait_until_succeeds(cmd, timeout=10)</literal>. See
374− <literal>execute</literal> for details on command execution.
350+ succeeds.
375351 </para>
376352 </listitem>
377353 </varlistentry>
@@ -381,8 +357,8 @@ start_all()
381357 </term>
382358 <listitem>
383359 <para>
384− Like <literal>wait_until_succeeds</literal>, but repeating
385− the command until it fails.
360+ Repeat a shell command with 1-second intervals until it
361+ fails.
386362 </para>
387363 </listitem>
388364 </varlistentry>
@@ -526,21 +502,6 @@ machine.systemctl(&quot;list-jobs --no-pager&quot;, &quot;any-user&quot;) # spaw
526502 </para>
527503 </listitem>
528504 </varlistentry>
529− <varlistentry>
530− <term>
531− <literal>console_interact</literal>
532− </term>
533− <listitem>
534− <para>
535− Allows you to directly interact with QEMU’s stdin. This
536− should only be used during test development, not in
537− production tests. Output from QEMU is only read line-wise.
538− <literal>Ctrl-c</literal> kills QEMU and
539− <literal>Ctrl-d</literal> closes console and returns to the
540− test runner.
541− </para>
542− </listitem>
543− </varlistentry>
544505 </variablelist>
545506 <para>
546507 To test user units declared by
@@ -565,7 +526,7 @@ machine.wait_for_unit(&quot;xautolock.service&quot;, &quot;x-session-user&quot;)
565526 <programlisting language="bash">
566527import ./make-test-python.nix {
567528 skipLint = true;
568− nodes.machine =
529+ machine =
569530 { config, pkgs, ... }:
570531 { configuration…
571532 };
nixos/doc/manual/from_md/installation/building-nixos.chapter.xmldeleted−106
@@ -1,106 +0,0 @@
1−<chapter xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="sec-building-image">
2− <title>Building a NixOS (Live) ISO</title>
3− <para>
4− Default live installer configurations are available inside
5− <literal>nixos/modules/installer/cd-dvd</literal>. For building
6− other system images,
7− <link xlink:href="https://github.com/nix-community/nixos-generators">nixos-generators</link>
8− is a good place to start looking at.
9− </para>
10− <para>
11− You have two options:
12− </para>
13− <itemizedlist spacing="compact">
14− <listitem>
15− <para>
16− Use any of those default configurations as is
17− </para>
18− </listitem>
19− <listitem>
20− <para>
21− Combine them with (any of) your host config(s)
22− </para>
23− </listitem>
24− </itemizedlist>
25− <para>
26− System images, such as the live installer ones, know how to enforce
27− configuration settings on wich they immediately depend in order to
28− work correctly.
29− </para>
30− <para>
31− However, if you are confident, you can opt to override those
32− enforced values with <literal>mkForce</literal>.
33− </para>
34− <section xml:id="sec-building-image-instructions">
35− <title>Practical Instructions</title>
36− <programlisting>
37−$ git clone https://github.com/NixOS/nixpkgs.git
38−$ cd nixpkgs/nixos
39−$ nix-build -A config.system.build.isoImage -I nixos-config=modules/installer/cd-dvd/installation-cd-minimal.nix default.nix
40−</programlisting>
41− <para>
42− To check the content of an ISO image, mount it like so:
43− </para>
44− <programlisting>
45−# mount -o loop -t iso9660 ./result/iso/cd.iso /mnt/iso
46−</programlisting>
47− </section>
48− <section xml:id="sec-building-image-drivers">
49− <title>Additional drivers or firmware</title>
50− <para>
51− If you need additional (non-distributable) drivers or firmware in
52− the installer, you might want to extend these configurations.
53− </para>
54− <para>
55− For example, to build the GNOME graphical installer ISO, but with
56− support for certain WiFi adapters present in some MacBooks, you
57− can create the following file at
58− <literal>modules/installer/cd-dvd/installation-cd-graphical-gnome-macbook.nix</literal>:
59− </para>
60− <programlisting language="bash">
61−{ config, ... }:
62−
63−{
64− imports = [ ./installation-cd-graphical-gnome.nix ];
65−
66− boot.initrd.kernelModules = [ &quot;wl&quot; ];
67−
68− boot.kernelModules = [ &quot;kvm-intel&quot; &quot;wl&quot; ];
69− boot.extraModulePackages = [ config.boot.kernelPackages.broadcom_sta ];
70−}
71−</programlisting>
72− <para>
73− Then build it like in the example above:
74− </para>
75− <programlisting>
76−$ git clone https://github.com/NixOS/nixpkgs.git
77−$ cd nixpkgs/nixos
78−$ export NIXPKGS_ALLOW_UNFREE=1
79−$ nix-build -A config.system.build.isoImage -I nixos-config=modules/installer/cd-dvd/installation-cd-graphical-gnome-macbook.nix default.nix
80−</programlisting>
81− </section>
82− <section xml:id="sec-building-image-tech-notes">
83− <title>Technical Notes</title>
84− <para>
85− The config value enforcement is implemented via
86− <literal>mkImageMediaOverride = mkOverride 60;</literal> and
87− therefore primes over simple value assignments, but also yields to
88− <literal>mkForce</literal>.
89− </para>
90− <para>
91− This property allows image designers to implement in semantically
92− correct ways those configuration values upon which the correct
93− functioning of the image depends.
94− </para>
95− <para>
96− For example, the iso base image overrides those file systems which
97− it needs at a minimum for correct functioning, while the installer
98− base image overrides the entire file system layout because there
99− can’t be any other guarantees on a live medium than those given by
100− the live medium itself. The latter is especially true befor
101− formatting the target block device(s). On the other hand, the
102− netboot iso only overrides its minimum dependencies since netboot
103− images are always made-to-target.
104− </para>
105− </section>
106−</chapter>
nixos/doc/manual/from_md/installation/installing-pxe.section.xml+2−2
@@ -7,11 +7,11 @@
77 <para>
88 These instructions assume that you have an existing PXE or iPXE
99 infrastructure and simply want to add the NixOS installer as another
10− option. To build the necessary files from your current version of
10+ option. To build the necessary files from a recent version of
1111 nixpkgs, you can run:
1212 </para>
1313 <programlisting>
14−nix-build -A netboot.x86_64-linux '&lt;nixpkgs/nixos/release.nix&gt;'
14+nix-build -A netboot.x86_64-linux nixos/release.nix
1515</programlisting>
1616 <para>
1717 This will create a <literal>result</literal> directory containing: *
nixos/doc/manual/from_md/installation/installing-usb.section.xml+1−1
@@ -17,7 +17,7 @@ $ diskutil list
1717[..]
1818$ diskutil unmountDisk diskN
1919Unmount of all volumes on diskN was successful
20−$ sudo dd if=nix.iso of=/dev/rdiskN bs=1M
20+$ sudo dd if=nix.iso of=/dev/rdiskN
2121</programlisting>
2222 <para>
2323 Using the 'raw' <literal>rdiskN</literal> device instead of
nixos/doc/manual/from_md/installation/installing.chapter.xml+7−7
@@ -411,13 +411,6 @@ OK
411411 specify on which disk the GRUB boot loader is to be
412412 installed. Without it, NixOS cannot boot.
413413 </para>
414− <para>
415− If there are other operating systems running on the
416− machine before installing NixOS, the
417− <xref linkend="opt-boot.loader.grub.useOSProber" />
418− option can be set to <literal>true</literal> to
419− automatically add them to the grub menu.
420− </para>
421414 </listitem>
422415 </varlistentry>
423416 <varlistentry>
@@ -443,6 +436,13 @@ OK
443436 </listitem>
444437 </varlistentry>
445438 </variablelist>
439+ <para>
440+ If there are other operating systems running on the machine
441+ before installing NixOS, the
442+ <xref linkend="opt-boot.loader.grub.useOSProber" /> option can
443+ be set to <literal>true</literal> to automatically add them to
444+ the grub menu.
445+ </para>
446446 <para>
447447 If you need to configure networking for your machine the
448448 configuration options are described in
nixos/doc/manual/from_md/release-notes/rl-1803.section.xml−8
@@ -866,14 +866,6 @@
866866 package.
867867 </para>
868868 </listitem>
869− <listitem>
870− <para>
871− The vim/kakoune plugin updater now reads from a CSV file:
872− check
873− <literal>pkgs/applications/editors/vim/plugins/vim-plugin-names</literal>
874− out to see the new format
875− </para>
876− </listitem>
877869 </itemizedlist>
878870 </section>
879871</section>
nixos/doc/manual/from_md/release-notes/rl-2111.section.xml+2−50
@@ -26,36 +26,8 @@
2626 </listitem>
2727 <listitem>
2828 <para>
29− <literal>iptables</literal> is now using
30− <literal>nf_tables</literal> under the hood, by using
31− <literal>iptables-nft</literal>, similar to
32− <link xlink:href="https://wiki.debian.org/nftables#Current_status">Debian</link>
33− and
34− <link xlink:href="https://fedoraproject.org/wiki/Changes/iptables-nft-default">Fedora</link>.
35− This means, <literal>ip[6]tables</literal>,
36− <literal>arptables</literal> and <literal>ebtables</literal>
37− commands will actually show rules from some specific tables in
38− the <literal>nf_tables</literal> kernel subsystem. In case
39− you’re migrating from an older release without rebooting,
40− there might be cases where you end up with iptable rules
41− configured both in the legacy <literal>iptables</literal>
42− kernel backend, as well as in the <literal>nf_tables</literal>
43− backend. This can lead to confusing firewall behaviour. An
44− <literal>iptables-save</literal> after switching will complain
45− about <quote>iptables-legacy tables present</quote>. It’s
46− probably best to reboot after the upgrade, or manually
47− removing all legacy iptables rules (via the
48− <literal>iptables-legacy</literal> package).
49− </para>
50− </listitem>
51− <listitem>
52− <para>
53− systemd got an <literal>nftables</literal> backend, and
54− configures (networkd) rules in their own
55− <literal>io.systemd.*</literal> tables. Check
56− <literal>nft list ruleset</literal> to see these rules, not
57− <literal>iptables-save</literal> (which only shows
58− <literal>iptables</literal>-created rules.
29+ <literal>iptables</literal> now uses
30+ <literal>nf_tables</literal> backend.
5931 </para>
6032 </listitem>
6133 <listitem>
@@ -1448,26 +1420,6 @@ Superuser created successfully.
14481420 for those who want to have all RetroArch cores available.
14491421 </para>
14501422 </listitem>
1451− <listitem>
1452− <para>
1453− The Linux kernel for security reasons now restricts access to
1454− BPF syscalls via <literal>BPF_UNPRIV_DEFAULT_OFF=y</literal>.
1455− Unprivileged access can be reenabled via the
1456− <literal>kernel.unprivileged_bpf_disabled</literal> sysctl
1457− knob.
1458− </para>
1459− </listitem>
1460− <listitem>
1461− <para>
1462− <literal>/usr</literal> will always be included in the initial
1463− ramdisk. See the
1464− <literal>fileSystems.&lt;name&gt;.neededForBoot</literal>
1465− option. If any files exist under <literal>/usr</literal>
1466− (which is not typical for NixOS), they will be included in the
1467− initial ramdisk, increasing its size to a possibly problematic
1468− extent.
1469− </para>
1470− </listitem>
14711423 </itemizedlist>
14721424 </section>
14731425 <section xml:id="sec-release-21.11-notable-changes">
nixos/doc/manual/from_md/release-notes/rl-2205.section.xml+149−2280
@@ -15,14 +15,6 @@
1515 <section xml:id="sec-release-22.05-highlights">
1616 <title>Highlights</title>
1717 <itemizedlist>
18− <listitem>
19− <para>
20− The <literal>firefox</literal> browser on
21− <literal>x86_64-linux</literal> is now making use of
22− profile-guided optimization resulting in a much more
23− responsive browsing experience.
24− </para>
25− </listitem>
2618 <listitem>
2719 <para>
2820 <literal>security.acme.defaults</literal> has been added to
@@ -33,43 +25,6 @@
3325 <literal>services.nginx.virtualHosts.*.enableACME</literal>).
3426 </para>
3527 </listitem>
36− <listitem>
37− <para>
38− GNOME has been upgraded to 42. Please take a look at their
39− <link xlink:href="https://release.gnome.org/42/">Release
40− Notes</link> for details. Notably, it replaces gedit with
41− GNOME Text Editor, GNOME Terminal with GNOME Console (formerly
42− King’s Cross), and GNOME Screenshot with a tool built into the
43− Shell.
44− </para>
45− </listitem>
46− <listitem>
47− <para>
48− <literal>stdenv.mkDerivation</literal> now supports a
49− self-referencing <literal>finalAttrs:</literal> parameter
50− containing the final <literal>mkDerivation</literal> arguments
51− including overrides. <literal>drv.overrideAttrs</literal> now
52− supports two parameters
53− <literal>finalAttrs: previousAttrs:</literal>. This allows
54− packaging configuration to be overridden in a consistent
55− manner by providing an alternative to
56− <literal>rec {}</literal> syntax.
57− </para>
58− <para>
59− Additionally, <literal>passthru</literal> can now reference
60− <literal>finalAttrs.finalPackage</literal> containing the
61− final package, including attributes such as the output paths
62− and <literal>overrideAttrs</literal>.
63− </para>
64− <para>
65− New language integrations can be simplified by overriding a
66− <quote>prototype</quote> package containing the
67− language-specific logic. This removes the need for a extra
68− layer of overriding for the <quote>generic builder</quote>
69− arguments, thus removing a usability problem and source of
70− error.
71− </para>
72− </listitem>
7328 <listitem>
7429 <para>
7530 PHP 8.1 is now available
@@ -77,86 +32,10 @@
7732 </listitem>
7833 <listitem>
7934 <para>
80− Mattermost has been updated to extended support release 6.3,
81− as the previously packaged extended support release 5.37 is
82− <link xlink:href="https://docs.mattermost.com/upgrade/extended-support-release.html">reaching
83− its end of life</link>. Migrations may take a while, see the
84− <link xlink:href="https://docs.mattermost.com/install/self-managed-changelog.html#release-v6-3-extended-support-release">changelog</link>
85− and
86− <link xlink:href="https://docs.mattermost.com/upgrade/important-upgrade-notes.html">important
87− upgrade notes</link>.
88− </para>
89− </listitem>
90− <listitem>
91− <para>
92− systemd services can now set
93− <link linkend="opt-systemd.services">systemd.services.&lt;name&gt;.reloadTriggers</link>
94− instead of <literal>reloadIfChanged</literal> for a more
95− granular distinction between reloads and restarts.
96− </para>
97− </listitem>
98− <listitem>
99− <para>
100− Systemd has been upgraded to the version 250.
101− </para>
102− </listitem>
103− <listitem>
104− <para>
105− Pulseaudio has been upgraded to version 15.0 and now
106− optionally
107− <link xlink:href="https://www.freedesktop.org/wiki/Software/PulseAudio/Notes/15.0/#supportforldacandaptxbluetoothcodecsplussbcxqsbcwithhigher-qualityparameters">supports
108− additional Bluetooth audio codecs</link> like aptX or LDAC,
109− with codec switching support being available in
110− <literal>pavucontrol</literal>. This feature is disabled by
111− default but can be enabled by using
112− <literal>hardware.pulseaudio.package = pkgs.pulseaudioFull;</literal>.
113− Existing 3rd party modules that provided similar
114− functionality, like <literal>pulseaudio-modules-bt</literal>
115− or <literal>pulseaudio-hsphfpd</literal> are deprecated and
116− have been removed.
117− </para>
118− </listitem>
119− <listitem>
120− <para>
121− The new
122− <link xlink:href="https://nixos.org/manual/nixpkgs/stable/#sec-postgresqlTestHook"><literal>postgresqlTestHook</literal></link>
123− runs a PostgreSQL server for the duration of package checks.
124− </para>
125− </listitem>
126− <listitem>
127− <para>
128− <link xlink:href="https://kops.sigs.k8s.io"><literal>kops</literal></link>
129− defaults to 1.22.4, which will enable
130− <link xlink:href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-instance-metadata-service.html">Instance
131− Metadata Service Version 2</link> and require tokens on new
132− clusters with Kubernetes 1.22. This will increase security by
133− default, but may break some types of workloads. See the
134− <link xlink:href="https://kops.sigs.k8s.io/releases/1.22-notes/">release
135− notes</link> for details.
136− </para>
137− </listitem>
138− <listitem>
139− <para>
140− Module authors can use
141− <literal>mkRenamedOptionModuleWith</literal> to automate the
142− deprecation cycle without annoying out-of-tree module authors
143− and their users.
144− </para>
145− </listitem>
146− <listitem>
147− <para>
148− The default GHC version has been updated from 8.10.7 to 9.0.2.
149− <literal>pkgs.haskellPackages</literal> and
150− <literal>pkgs.ghc</literal> will now use this version by
151− default.
152− </para>
153− </listitem>
154− <listitem>
155− <para>
156− The GNOME and Plasma installation CDs now use
157− <literal>pkgs.calamares</literal> and
158− <literal>pkgs.calamares-nixos-extensions</literal> to allow
159− users to easily install and set up NixOS with a GUI.
35+ Mattermost has been updated to version 6.2. Migrations may
36+ take a while, see the
37+ <link xlink:href="https://docs.mattermost.com/install/self-managed-changelog.html#release-v6.2-feature-release">upgrade
38+ notes</link>.
16039 </para>
16140 </listitem>
16241 </itemizedlist>
@@ -188,13 +67,6 @@
18867 <link xlink:href="option.html#opt-services.matrix-conduit.enable">services.matrix-conduit</link>.
18968 </para>
19069 </listitem>
191− <listitem>
192− <para>
193− <link xlink:href="https://github.com/vvilhonen/nethoscope">nethoscope</link>,
194− listen to your network traffic. Available as
195− <link linkend="opt-programs.nethoscope.enable">programs.nethoscope</link>.
196− </para>
197− </listitem>
19870 <listitem>
19971 <para>
20072 <link xlink:href="https://www.elastic.co/guide/en/beats/filebeat/current/filebeat-overview.html">filebeat</link>,
@@ -203,20 +75,6 @@
20375 <link linkend="opt-services.filebeat.enable">services.filebeat</link>.
20476 </para>
20577 </listitem>
206− <listitem>
207− <para>
208− <link xlink:href="https://github.com/linux-apfs/linux-apfs-rw">apfs</link>,
209− a kernel module for mounting the Apple File System (APFS).
210− </para>
211− </listitem>
212− <listitem>
213− <para>
214− <link xlink:href="https://frrouting.org/">FRRouting</link>, a
215− popular suite of Internet routing protocol daemons (BGP, BFD,
216− OSPF, IS-IS, VRRP and others). Available as
217− <link linkend="opt-services.frr.babel.enable">services.frr</link>
218− </para>
219− </listitem>
22078 <listitem>
22179 <para>
22280 <link xlink:href="https://github.com/hifi/heisenbridge">heisenbridge</link>,
@@ -224,20 +82,6 @@
22482 <link xlink:href="options.html#opt-services.heisenbridge.enable">services.heisenbridge</link>.
22583 </para>
22684 </listitem>
227− <listitem>
228− <para>
229− <link xlink:href="https://snowflake.torproject.org/">snowflake-proxy</link>,
230− a system to defeat internet censorship. Available as
231− <link xlink:href="options.html#opt-services.snowflake-proxy.enable">services.snowflake-proxy</link>.
232− </para>
233− </listitem>
234− <listitem>
235− <para>
236− <link xlink:href="https://ergo.chat">ergochat</link>, a modern
237− IRC with IRCv3 features. Available as
238− <link xlink:href="options.html#opt-services.ergochat.enable">services.ergochat</link>.
239− </para>
240− </listitem>
24185 <listitem>
24286 <para>
24387 <link xlink:href="https://github.com/ngoduykhanh/PowerDNS-Admin">PowerDNS-Admin</link>,
@@ -245,29 +89,6 @@
24589 <link xlink:href="options.html#opt-services.powerdns-admin.enable">services.powerdns-admin</link>.
24690 </para>
24791 </listitem>
248− <listitem>
249− <para>
250− <link xlink:href="https://github.com/postgres/pgadmin4">pgadmin4</link>,
251− an admin interface for the PostgreSQL database. Available at
252− <link xlink:href="options.html#opt-services.pgadmin.enable">services.pgadmin</link>.
253− </para>
254− </listitem>
255− <listitem>
256− <para>
257− <link xlink:href="https://github.com/sezanzeb/input-remapper">input-remapper</link>,
258− an easy to use tool to change the mapping of your input device
259− buttons. Available at
260− <link xlink:href="options.html#opt-services.input-remapper.enable">services.input-remapper</link>.
261− </para>
262− </listitem>
263− <listitem>
264− <para>
265− <link xlink:href="https://invoiceplane.com">InvoicePlane</link>,
266− web application for managing and creating invoices. Available
267− at
268− <link xlink:href="options.html#opt-services.invoiceplane.enable">services.invoiceplane</link>.
269− </para>
270− </listitem>
27192 <listitem>
27293 <para>
27394 <link xlink:href="https://maddy.email">maddy</link>, a
@@ -277,1873 +98,233 @@
27798 </listitem>
27899 <listitem>
279100 <para>
280− <link xlink:href="https://www.scorchworks.com/K40whisperer/k40whisperer.html">K40-Whisperer</link>,
281− a program to control cheap Chinese laser cutters. Available as
282− <link xlink:href="options.html#opt-programs.k4-whisperer.enable">programs.k40-whisperer.enable</link>.
283− Users must add themselves to the <literal>k40</literal> group
284− to be able to access the device.
285− </para>
286− </listitem>
287− <listitem>
288− <para>
289− <link xlink:href="https://github.com/mozilla-mobile/mozilla-vpn-client">mozillavpn</link>,
290− the client for the
291− <link xlink:href="https://vpn.mozilla.org/">Mozilla VPN</link>
292− service. Available as
293− <link xlink:href="options.html#opt-services.mozillavpn">services.mozillavpn</link>.
294− </para>
295− </listitem>
296− <listitem>
297− <para>
298− <link xlink:href="https://github.com/mgumz/mtr-exporter">mtr-exporter</link>,
299− a Prometheus exporter for mtr metrics. Available as
300− <link xlink:href="options.html#opt-services.mtr-exporter.enable">services.mtr-exporter</link>.
101+ <link xlink:href="https://tetrd.app">tetrd</link>, share your
102+ internet connection from your device to your PC and vice versa
103+ through a USB cable. Available at
104+ <link linkend="opt-services.tetrd.enable">services.tetrd</link>.
301105 </para>
302106 </listitem>
107+ </itemizedlist>
108+ </section>
109+ <section xml:id="sec-release-22.05-incompatibilities">
110+ <title>Backward Incompatibilities</title>
111+ <itemizedlist>
303112 <listitem>
304113 <para>
305− <link xlink:href="https://github.com/prometheus-pve/prometheus-pve-exporter">prometheus-pve-exporter</link>,
306− a tool that exposes information from the Proxmox VE API for
307− use by Prometheus. Available as
308− <link xlink:href="options.html#opt-services.prometheus.exporters.pve">services.prometheus.exporters.pve</link>.
114+ <literal>pkgs.ghc</literal> now refers to
115+ <literal>pkgs.targetPackages.haskellPackages.ghc</literal>.
116+ This <emphasis>only</emphasis> makes a difference if you are
117+ cross-compiling and will ensure that
118+ <literal>pkgs.ghc</literal> always runs on the host platform
119+ and compiles for the target platform (similar to
120+ <literal>pkgs.gcc</literal> for example).
121+ <literal>haskellPackages.ghc</literal> still behaves as
122+ before, running on the build platform and compiling for the
123+ host platform (similar to <literal>stdenv.cc</literal>). This
124+ means you don’t have to adjust your derivations if you use
125+ <literal>haskellPackages.callPackage</literal>, but when using
126+ <literal>pkgs.callPackage</literal> and taking
127+ <literal>ghc</literal> as an input, you should now use
128+ <literal>buildPackages.ghc</literal> instead to ensure cross
129+ compilation keeps working (or switch to
130+ <literal>haskellPackages.callPackage</literal>).
309131 </para>
310132 </listitem>
311133 <listitem>
312134 <para>
313− <link xlink:href="https://github.com/netbox-community/netbox">netbox</link>,
314− infrastructure resource modeling (IRM) tool. Available as
315− <link xlink:href="options.html#opt-services.netbox.enable">services.netbox</link>.
135+ <literal>pkgs.emacsPackages.orgPackages</literal> is removed
136+ because org elpa is deprecated. The packages in the top level
137+ of <literal>pkgs.emacsPackages</literal>, such as org and
138+ org-contrib, refer to the ones in
139+ <literal>pkgs.emacsPackages.elpaPackages</literal> and
140+ <literal>pkgs.emacsPackages.nongnuPackages</literal> where the
141+ new versions will release.
316142 </para>
317143 </listitem>
318144 <listitem>
319145 <para>
320− <link xlink:href="https://tetrd.app">tetrd</link>, share your
321− internet connection from your device to your PC and vice versa
322− through a USB cable. Available at
323− <link linkend="opt-services.tetrd.enable">services.tetrd</link>.
146+ <literal>services.kubernetes.addons.dashboard</literal> was
147+ removed due to it being an outdated version.
324148 </para>
325149 </listitem>
326150 <listitem>
327151 <para>
328− <link xlink:href="https://github.com/mbrubeck/agate">agate</link>,
329− a very simple server for the Gemini hypertext protocol.
330− Available as
331− <link xlink:href="options.html#opt-services.agate.enable">services.agate</link>.
152+ The MoinMoin wiki engine
153+ (<literal>services.moinmoin</literal>) has been removed,
154+ because Python 2 is being retired from nixpkgs.
332155 </para>
333156 </listitem>
334157 <listitem>
335158 <para>
336− <link xlink:href="https://github.com/JustArchiNET/ArchiSteamFarm">ArchiSteamFarm</link>,
337− a C# application with primary purpose of idling Steam cards
338− from multiple accounts simultaneously. Available as
339− <link xlink:href="options.html#opt-services.archisteamfarm.enable">services.archisteamfarm</link>.
159+ The <literal>wafHook</literal> hook now honors
160+ <literal>NIX_BUILD_CORES</literal> when
161+ <literal>enableParallelBuilding</literal> is not set
162+ explicitly. Packages can restore the old behaviour by setting
163+ <literal>enableParallelBuilding=false</literal>.
340164 </para>
341165 </listitem>
342166 <listitem>
343167 <para>
344− <link xlink:href="https://goteleport.com">teleport</link>,
345− allows engineers and security professionals to unify access
346− for SSH servers, Kubernetes clusters, web applications, and
347− databases across all environments. Available at
348− <link linkend="opt-services.teleport.enable">services.teleport</link>.
168+ <literal>pkgs.claws-mail-gtk2</literal>, representing Claws
169+ Mail’s older release version three, was removed in order to
170+ get rid of Python 2. Please switch to
171+ <literal>claws-mail</literal>, which is Claws Mail’s latest
172+ release based on GTK+3 and Python 3.
349173 </para>
350174 </listitem>
351175 <listitem>
352176 <para>
353− <link xlink:href="https://loic-sharma.github.io/BaGet/">BaGet</link>,
354− a lightweight NuGet and symbol server. Available at
355− <link linkend="opt-services.baget.enable">services.baget</link>.
177+ The <literal>writers.writePython2</literal> and corresponding
178+ <literal>writers.writePython2Bin</literal> convenience
179+ functions to create executable Python 2 scripts in the store
180+ were removed in preparation of removal of the Python 2
181+ interpreter. Scripts have to be converted to Python 3 for use
182+ with <literal>writers.writePython3</literal> or
183+ <literal>writers.writePyPy2</literal> needs to be used.
356184 </para>
357185 </listitem>
358186 <listitem>
359187 <para>
360− <link xlink:href="https://moosefs.com">moosefs</link>, fault
361− tolerant petabyte distributed file system. Available as
362− <link linkend="opt-services.moosefs.client.enable">moosefs</link>.
188+ If you previously used
189+ <literal>/etc/docker/daemon.json</literal>, you need to
190+ incorporate the changes into the new option
191+ <literal>virtualisation.docker.daemon.settings</literal>.
363192 </para>
364193 </listitem>
365194 <listitem>
366195 <para>
367− <link xlink:href="https://github.com/ThomasLeister/prosody-filer">prosody-filer</link>,
368− a server for handling XMPP HTTP Upload requests. Available at
369− <link linkend="opt-services.prosody-filer.enable">services.prosody-filer</link>.
196+ The <literal>autorestic</literal> package has been upgraded
197+ from 1.3.0 to 1.5.0 which introduces breaking changes in
198+ config file, check
199+ <link xlink:href="https://autorestic.vercel.app/migration/1.4_1.5">their
200+ migration guide</link> for more details.
370201 </para>
371202 </listitem>
372203 <listitem>
373204 <para>
374− <link xlink:href="https://github.com/rfjakob/systembus-notify">systembus-notify</link>,
375− allow system level notifications to reach the users. Available
376− as
377− <link xlink:href="opt-services.systembus-notify.enable">services.systembus-notify</link>.
378− Please keep in mind that this service should only be enabled
379− on machines with fully trusted users, as any local user is
380− able to DoS user sessions by spamming notifications.
205+ For <literal>pkgs.python3.pkgs.ipython</literal>, its direct
206+ dependency
207+ <literal>pkgs.python3.pkgs.matplotlib-inline</literal> (which
208+ is really an adapter to integrate matplotlib in ipython if it
209+ is installed) does not depend on
210+ <literal>pkgs.python3.pkgs.matplotlib</literal> anymore. This
211+ is closer to a non-Nix install of ipython. This has the added
212+ benefit to reduce the closure size of
213+ <literal>ipython</literal> from ~400MB to ~160MB (including
214+ ~100MB for python itself).
381215 </para>
382216 </listitem>
383217 <listitem>
384218 <para>
385− <link xlink:href="https://github.com/audreyt/ethercalc">ethercalc</link>,
386− an online collaborative spreadsheet. Available as
387− <link xlink:href="options.html#opt-services.ethercalc.enable">services.ethercalc</link>.
219+ <literal>documentation.man</literal> has been refactored to
220+ support choosing a man implementation other than GNU’s
221+ <literal>man-db</literal>. For this,
222+ <literal>documentation.man.manualPages</literal> has been
223+ renamed to
224+ <literal>documentation.man.man-db.manualPages</literal>. If
225+ you want to use the new alternative man implementation
226+ <literal>mandoc</literal>, add
227+ <literal>documentation.man = { enable = true; man-db.enable = false; mandoc.enable = true; }</literal>
228+ to your configuration.
388229 </para>
389230 </listitem>
231+ </itemizedlist>
232+ </section>
233+ <section xml:id="sec-release-22.05-notable-changes">
234+ <title>Other Notable Changes</title>
235+ <itemizedlist>
390236 <listitem>
391237 <para>
392− <link xlink:href="https://nbd.sourceforge.io/">nbd</link>, a
393− Network Block Device server. Available as
394− <link xlink:href="options.html#opt-services.nbd.server.enable">services.nbd</link>.
238+ The option
239+ <link linkend="opt-services.redis.servers">services.redis.servers</link>
240+ was added to support per-application
241+ <literal>redis-server</literal> which is more secure since
242+ Redis databases are only mere key prefixes without any
243+ configuration or ACL of their own. Backward-compatibility is
244+ preserved by mapping old
245+ <literal>services.redis.settings</literal> to
246+ <literal>services.redis.servers.&quot;&quot;.settings</literal>,
247+ but you are strongly encouraged to name each
248+ <literal>redis-server</literal> instance after the application
249+ using it, instead of keeping that nameless one. Except for the
250+ nameless
251+ <literal>services.redis.servers.&quot;&quot;</literal> still
252+ accessible at <literal>127.0.0.1:6379</literal>, and to the
253+ members of the Unix group <literal>redis</literal> through the
254+ Unix socket <literal>/run/redis/redis.sock</literal>, all
255+ other <literal>services.redis.servers.${serverName}</literal>
256+ are only accessible by default to the members of the Unix
257+ group <literal>redis-${serverName}</literal> through the Unix
258+ socket <literal>/run/redis-${serverName}/redis.sock</literal>.
395259 </para>
396260 </listitem>
397261 <listitem>
398262 <para>
399− <link xlink:href="https://github.com/Mic92/nix-ld">nix-ld</link>,
400− Run unpatched dynamic binaries on NixOS. Available as
401− <link xlink:href="options.html#opt-programs.nix-ld.enable">programs.nix-ld</link>.
263+ The
264+ <literal>writers.writePyPy2</literal>/<literal>writers.writePyPy3</literal>
265+ and corresponding
266+ <literal>writers.writePyPy2Bin</literal>/<literal>writers.writePyPy3Bin</literal>
267+ convenience functions to create executable Python 2/3 scripts
268+ using the PyPy interpreter were added.
402269 </para>
403270 </listitem>
404271 <listitem>
405272 <para>
406− <link xlink:href="https://timetagger.app">timetagger</link>,
407− an open source time-tracker with an intuitive user experience
408− and powerful reporting.
409− <link xlink:href="options.html#opt-services.timetagger.enable">services.timetagger</link>.
273+ The <literal>influxdb2</literal> package was split into
274+ <literal>influxdb2-server</literal> and
275+ <literal>influxdb2-cli</literal>, matching the split that took
276+ place upstream. A combined <literal>influxdb2</literal>
277+ package is still provided in this release for backwards
278+ compatibilty, but will be removed at a later date.
410279 </para>
411280 </listitem>
412281 <listitem>
413282 <para>
414− <link xlink:href="https://www.rstudio.com/products/rstudio/#rstudio-server">rstudio-server</link>,
415− a browser-based version of the RStudio IDE for the R
416− programming language. Available as
417− <link xlink:href="options.html#opt-services.rstudio-server.enable">services.rstudio-server</link>.
283+ The <literal>services.unifi.openPorts</literal> option default
284+ value of <literal>true</literal> is now deprecated and will be
285+ changed to <literal>false</literal> in 22.11. Configurations
286+ using this default will print a warning when rebuilt.
418287 </para>
419288 </listitem>
420289 <listitem>
421290 <para>
422− <link xlink:href="https://github.com/juanfont/headscale">headscale</link>,
423− an Open Source implementation of the
424− <link xlink:href="https://tailscale.io">Tailscale</link>
425− Control Server. Available as
426− <link xlink:href="options.html#opt-services.headscale.enable">services.headscale</link>
291+ <literal>security.acme</literal> certificates will now
292+ correctly check for CA revokation before reaching their
293+ minimum age.
427294 </para>
428295 </listitem>
429296 <listitem>
430297 <para>
431− <link xlink:href="https://github.com/lakinduakash/linux-wifi-hotspot">create_ap</link>,
432− a module for creating wifi hotspots using the program
433− linux-wifi-hotspot. Available as
434− <link xlink:href="options.html#opt-services.create_ap.enable">services.create_ap</link>.
298+ Removing domains from
299+ <literal>security.acme.certs._name_.extraDomainNames</literal>
300+ will now correctly remove those domains during rebuild/renew.
435301 </para>
436302 </listitem>
437303 <listitem>
438304 <para>
439− <link xlink:href="https://0xerr0r.github.io/blocky/">blocky</link>,
440− fast and lightweight DNS proxy as ad-blocker for local network
441− with many features.
305+ The option
306+ <link linkend="opt-programs.ssh.enableAskPassword">programs.ssh.enableAskPassword</link>
307+ was added, decoupling the setting of
308+ <literal>SSH_ASKPASS</literal> from
309+ <literal>services.xserver.enable</literal>. This allows easy
310+ usage in non-X11 environments, e.g. Wayland.
442311 </para>
443312 </listitem>
444313 <listitem>
445314 <para>
446− <link xlink:href="https://clusterlabs.org/pacemaker/">pacemaker</link>
447− cluster resource manager
315+ The <literal>services.stubby</literal> module was converted to
316+ a
317+ <link xlink:href="https://github.com/NixOS/rfcs/blob/master/rfcs/0042-config-option.md">settings-style</link>
318+ configuration.
448319 </para>
449320 </listitem>
450321 <listitem>
451322 <para>
452− <link xlink:href="https://nifi.apache.org">nifi</link>, an
453− easy to use, powerful, and reliable system to process and
454− distribute data. Available as
455− <link xlink:href="options.html#opt-services.nifi.enable">services.nifi</link>.
323+ The option <literal>services.duplicati.dataDir</literal> has
324+ been added to allow changing the location of duplicati’s
325+ files.
456326 </para>
457327 </listitem>
458− </itemizedlist>
459− </section>
460− <section xml:id="sec-release-22.05-incompatibilities">
461− <title>Backward Incompatibilities</title>
462− <itemizedlist>
463− <listitem>
464− <para>
465− <literal>pkgs.ghc</literal> now refers to
466− <literal>pkgs.targetPackages.haskellPackages.ghc</literal>.
467− This <emphasis>only</emphasis> makes a difference if you are
468− cross-compiling and will ensure that
469− <literal>pkgs.ghc</literal> always runs on the host platform
470− and compiles for the target platform (similar to
471− <literal>pkgs.gcc</literal> for example).
472− <literal>haskellPackages.ghc</literal> still behaves as
473− before, running on the build platform and compiling for the
474− host platform (similar to <literal>stdenv.cc</literal>). This
475− means you don’t have to adjust your derivations if you use
476− <literal>haskellPackages.callPackage</literal>, but when using
477− <literal>pkgs.callPackage</literal> and taking
478− <literal>ghc</literal> as an input, you should now use
479− <literal>buildPackages.ghc</literal> instead to ensure cross
480− compilation keeps working (or switch to
481− <literal>haskellPackages.callPackage</literal>).
482− </para>
483− </listitem>
484− <listitem>
485− <para>
486− <literal>pkgs.ghc.withPackages</literal> as well as
487− <literal>haskellPackages.ghcWithPackages</literal> etc. now
488− needs be overridden directly, as opposed to overriding the
489− result of calling it. Additionally, the
490− <literal>withLLVM</literal> parameter has been renamed to
491− <literal>useLLVM</literal>. So instead of
492− <literal>(ghc.withPackages (p: [])).override { withLLVM = true; }</literal>,
493− one needs to use
494− <literal>(ghc.withPackages.override { useLLVM = true; }) (p: [])</literal>.
495− </para>
496− </listitem>
497− <listitem>
498− <para>
499− The <literal>home-assistant</literal> module now requires
500− users that don’t want their configuration to be managed
501− declaratively to set
502− <literal>services.home-assistant.config = null;</literal>.
503− This is required due to the way default settings are handled
504− with the new settings style.
505− </para>
506− <para>
507− Additionally the default list of
508− <literal>extraComponents</literal> now includes the minimal
509− dependencies to successfully complete the
510− <link xlink:href="https://www.home-assistant.io/getting-started/onboarding/">onboarding</link>
511− procedure.
512− </para>
513− </listitem>
514− <listitem>
515− <para>
516− <literal>pkgs.emacsPackages.orgPackages</literal> is removed
517− because org elpa is deprecated. The packages in the top level
518− of <literal>pkgs.emacsPackages</literal>, such as org and
519− org-contrib, refer to the ones in
520− <literal>pkgs.emacsPackages.elpaPackages</literal> and
521− <literal>pkgs.emacsPackages.nongnuPackages</literal> where the
522− new versions will release.
523− </para>
524− </listitem>
525− <listitem>
526− <para>
527− The configuration and state directories used by
528− <literal>nixos-containers</literal> have been moved from
529− <literal>/etc/containers</literal> and
530− <literal>/var/lib/containers</literal> to
531− <literal>/etc/nixos-containers</literal> and
532− <literal>/var/lib/nixos-containers</literal>.
533− </para>
534− <para>
535− If you are changing <literal>system.stateVersion</literal> to
536− <literal>&quot;22.05&quot;</literal> manually on an existing
537− system you are responsible for migrating these directories
538− yourself.
539− </para>
540− <para>
541− This is to improve compatibility with
542− <literal>libcontainer</literal> based software such as Podman
543− and Skopeo which assumes they have ownership over
544− <literal>/etc/containers</literal>.
545− </para>
546− </listitem>
547− <listitem>
548− <para>
549− For new installations
550− <literal>virtualisation.oci-containers.backend</literal> is
551− now set to <literal>podman</literal> by default. If you still
552− want to use Docker on systems where
553− <literal>system.stateVersion</literal> is set to to
554− <literal>&quot;22.05&quot;</literal> set
555− <literal>virtualisation.oci-containers.backend = &quot;docker&quot;;</literal>.Old
556− systems with older <literal>stateVersion</literal>s stay with
557− <quote>docker</quote>.
558− </para>
559− </listitem>
560− <listitem>
561− <para>
562− <literal>security.klogd</literal> was removed. Logging of
563− kernel messages is handled by systemd since Linux 3.5.
564− </para>
565− </listitem>
566− <listitem>
567− <para>
568− <literal>pkgs.ssmtp</literal> has been dropped due to the
569− program being unmaintained. <literal>pkgs.msmtp</literal> can
570− be used instead as a substitute <literal>sendmail</literal>
571− implementation. The corresponding options
572− <literal>services.ssmtp.*</literal> have been removed as well.
573− <literal>programs.msmtp.*</literal> can be used instead for an
574− equivalent setup. For example:
575− </para>
576− <programlisting language="bash">
577−{
578− # Original ssmtp configuration:
579− services.ssmtp = {
580− enable = true;
581− useTLS = true;
582− useSTARTTLS = true;
583− hostName = &quot;smtp.example:587&quot;;
584− authUser = &quot;someone&quot;;
585− authPassFile = &quot;/secrets/password.txt&quot;;
586− };
587−
588− # Equivalent msmtp configuration:
589− programs.msmtp = {
590− enable = true;
591− accounts.default = {
592− tls = true;
593− tls_starttls = true;
594− auth = true;
595− host = &quot;smtp.example&quot;;
596− port = 587;
597− user = &quot;someone&quot;;
598− passwordeval = &quot;cat /secrets/password.txt&quot;;
599− };
600− };
601−}
602−</programlisting>
603− </listitem>
604− <listitem>
605− <para>
606− <literal>services.kubernetes.addons.dashboard</literal> was
607− removed due to it being an outdated version.
608− </para>
609− </listitem>
610− <listitem>
611− <para>
612− <literal>services.kubernetes.scheduler.{port,address}</literal>
613− now set <literal>--secure-port</literal> and
614− <literal>--bind-address</literal> instead of
615− <literal>--port</literal> and <literal>--address</literal>,
616− since the former have been deprecated and are no longer
617− functional in kubernetes&gt;=1.23. Ensure that you are not
618− relying on the insecure behaviour before upgrading.
619− </para>
620− </listitem>
621− <listitem>
622− <para>
623− In the PowerDNS Recursor module
624− (<literal>services.pdns-recursor</literal>), default values of
625− several IP address-related NixOS options have been updated to
626− match the default upstream behavior. In particular, Recursor
627− by default will:
628− </para>
629− <itemizedlist spacing="compact">
630− <listitem>
631− <para>
632− listen on (and allows connections from) both IPv4 and IPv6
633− addresses
634− (<literal>services.pdns-recursor.dns.address</literal>,
635− <literal>services.pdns-recursor.dns.allowFrom</literal>);
636− </para>
637− </listitem>
638− <listitem>
639− <para>
640− allow only local connections to the REST API server
641− (<literal>services.pdns-recursor.api.allowFrom</literal>).
642− </para>
643− </listitem>
644− </itemizedlist>
645− </listitem>
646− <listitem>
647− <para>
648− In the ncdns module, the default value of
649− <literal>services.ncdns.address</literal> has been changed to
650− the IPv6 loopback address (<literal>::1</literal>).
651− </para>
652− </listitem>
653− <listitem>
654− <para>
655− <literal>openssh</literal> has been update to 8.9p1, changing
656− the FIDO security key middleware interface.
657− </para>
658− </listitem>
659− <listitem>
660− <para>
661− <literal>git</literal> no longer hardcodes the path to
662− openssh’ ssh binary to reduce the amount of rebuilds. If you
663− are using git with ssh remotes and do not have a ssh binary in
664− your enviroment consider adding <literal>openssh</literal> to
665− it or switching to <literal>gitFull</literal>.
666− </para>
667− </listitem>
668− <listitem>
669− <para>
670− <literal>services.k3s.enable</literal> no longer implies
671− <literal>systemd.enableUnifiedCgroupHierarchy = false</literal>,
672− and will default to the <quote>systemd</quote> cgroup driver
673− when using <literal>services.k3s.docker = true</literal>. This
674− change may require a reboot to take effect, and k3s may not be
675− able to run if the boot cgroup hierarchy does not match its
676− configuration. The previous behavior may be retained by
677− explicitly setting
678− <literal>systemd.enableUnifiedCgroupHierarchy = false</literal>
679− in your configuration.
680− </para>
681− </listitem>
682− <listitem>
683− <para>
684− <literal>fonts.fonts</literal> no longer includes ancient
685− bitmap fonts when both
686− <literal>config.services.xserver.enable</literal> and
687− <literal>config.nixpkgs.config.allowUnfree</literal> are
688− enabled. If you still want these fonts, use:
689− </para>
690− <programlisting language="bash">
691−{
692− fonts.fonts = [
693− pkgs.xorg.fontbhlucidatypewriter100dpi
694− pkgs.xorg.fontbhlucidatypewriter75dpi
695− pkgs.xorg.fontbh100dpi
696− ];
697−}
698−</programlisting>
699− </listitem>
700− <listitem>
701− <para>
702− <literal>services.prometheus.alertManagerTimeout</literal> has
703− been removed as it has been deprecated upstream and has no
704− effect.
705− </para>
706− </listitem>
707− <listitem>
708− <para>
709− The DHCP server (<literal>services.dhcpd4</literal>,
710− <literal>services.dhcpd6</literal>) has been hardened. The
711− service is now using the systemd’s
712− <literal>DynamicUser</literal> mechanism to run as an
713− unprivileged dynamically-allocated user with limited
714− capabilities. The dhcpd state files are now always stored in
715− <literal>/var/lib/dhcpd{4,6}</literal> and the
716− <literal>services.dhcpd4.stateDir</literal> and
717− <literal>service.dhcpd6.stateDir</literal> options have been
718− removed. If you were depending on root privileges or
719− set{uid,gid,cap} binaries in dhcpd shell hooks, you may give
720− dhcpd more capabilities with e.g.
721− <literal>systemd.services.dhcpd6.serviceConfig.AmbientCapabilities</literal>.
722− </para>
723− </listitem>
724− <listitem>
725− <para>
726− The <literal>mailpile</literal> email webclient
727− (<literal>services.mailpile</literal>) has been removed due to
728− its reliance on python2.
729− </para>
730− </listitem>
731− <listitem>
732− <para>
733− <literal>services.ipfs.extraFlags</literal> is now escaped
734− with <literal>utils.escapeSystemdExecArgs</literal>. If you
735− rely on systemd interpolating <literal>extraFlags</literal> in
736− the service <literal>ExecStart</literal>, this will no longer
737− work.
738− </para>
739− </listitem>
740− <listitem>
741− <para>
742− <literal>hbase</literal> version 0.98.24 has been removed. The
743− package now defaults to version 2.4.11. Versions 1.7.1 and
744− 3.0.0-alpha-2 are also available.
745− </para>
746− </listitem>
747− <listitem>
748− <para>
749− <literal>services.paperless-ng</literal> was renamed to
750− <literal>services.paperless</literal>. Accordingly, the
751− <literal>paperless-ng-manage</literal> script (located in
752− <literal>dataDir</literal>) was renamed to
753− <literal>paperless-manage</literal>.
754− <literal>services.paperless</literal> now uses
755− <literal>paperless-ngx</literal>.
756− </para>
757− </listitem>
758− <listitem>
759− <para>
760− The <literal>matrix-synapse</literal> service
761− (<literal>services.matrix-synapse</literal>) has been
762− converted to use the <literal>settings</literal> option
763− defined in RFC42. This means that options that are part of
764− your <literal>homeserver.yaml</literal> configuration, and
765− that were specified at the top-level of the module
766− (<literal>services.matrix-synapse</literal>) now need to be
767− moved into
768− <literal>services.matrix-synapse.settings</literal>. And while
769− not all options you may use are defined in there, they are
770− still supported, because you can set arbitrary values in this
771− freeform type.
772− </para>
773− <para>
774− The <literal>listeners.*.bind_address</literal> option was
775− renamed to <literal>bind_addresses</literal> in order to match
776− the upstream <literal>homeserver.yaml</literal> option name.
777− It is now also a list of strings instead of a string.
778− </para>
779− <para>
780− An example to make the required migration clearer:
781− </para>
782− <para>
783− Before:
784− </para>
785− <programlisting language="bash">
786−{
787− services.matrix-synapse = {
788− enable = true;
789−
790− server_name = &quot;example.com&quot;;
791− public_baseurl = &quot;https://example.com:8448&quot;;
792−
793− enable_registration = false;
794− registration_shared_secret = &quot;xohshaeyui8jic7uutuDogahkee3aehuaf6ei3Xouz4iicie5thie6nohNahceut&quot;;
795− macaroon_secret_key = &quot;xoo8eder9seivukaiPh1cheikohquuw8Yooreid0The4aifahth3Ou0aiShaiz4l&quot;;
796−
797− tls_certificate_path = &quot;/var/lib/acme/example.com/fullchain.pem&quot;;
798− tls_certificate_path = &quot;/var/lib/acme/example.com/fullchain.pem&quot;;
799−
800− listeners = [ {
801− port = 8448;
802− bind_address = &quot;&quot;;
803− type = &quot;http&quot;;
804− tls = true;
805− resources = [ {
806− names = [ &quot;client&quot; ];
807− compress = true;
808− } {
809− names = [ &quot;federation&quot; ];
810− compress = false;
811− } ];
812− } ];
813−
814− };
815−}
816−</programlisting>
817− <para>
818− After:
819− </para>
820− <programlisting language="bash">
821−{
822− services.matrix-synapse = {
823− enable = true;
824−
825− # this attribute set holds all values that go into your homeserver.yaml configuration
826− # See https://github.com/matrix-org/synapse/blob/develop/docs/sample_config.yaml for
827− # possible values.
828− settings = {
829− server_name = &quot;example.com&quot;;
830− public_baseurl = &quot;https://example.com:8448&quot;;
831−
832− enable_registration = false;
833− # pass `registration_shared_secret` and `macaroon_secret_key` via `extraConfigFiles` instead
834−
835− tls_certificate_path = &quot;/var/lib/acme/example.com/fullchain.pem&quot;;
836− tls_certificate_path = &quot;/var/lib/acme/example.com/fullchain.pem&quot;;
837−
838− listeners = [ {
839− port = 8448;
840− bind_addresses = [
841− &quot;::&quot;
842− &quot;0.0.0.0&quot;
843− ];
844− type = &quot;http&quot;;
845− tls = true;
846− resources = [ {
847− names = [ &quot;client&quot; ];
848− compress = true;
849− } {
850− names = [ &quot;federation&quot; ];
851− compress = false;
852− } ];
853− } ];
854− };
855−
856− extraConfigFiles = [
857− /run/keys/matrix-synapse/secrets.yaml
858− ];
859− };
860−}
861−</programlisting>
862− <para>
863− The secrets in your original config should be migrated into a
864− YAML file that is included via
865− <literal>extraConfigFiles</literal>.
866− </para>
867− <para>
868− Additionally a few option defaults have been synced up with
869− upstream default values, for example the
870− <literal>max_upload_size</literal> grew from
871− <literal>10M</literal> to <literal>50M</literal>. For the same
872− reason, the default <literal>media_store_path</literal> was
873− changed from <literal>${dataDir}/media</literal> to
874− <literal>${dataDir}/media_store</literal> if
875− <literal>system.stateVersion</literal> is at least
876− <literal>22.05</literal>. Files will need to be manually moved
877− to the new location if the <literal>stateVersion</literal> is
878− updated.
879− </para>
880− <para>
881− As of Synapse 1.58.0, the old groups/communities feature has
882− been disabled by default. It will be completely removed with
883− Synapse 1.61.0.
884− </para>
885− </listitem>
886− <listitem>
887− <para>
888− The Keycloak package (<literal>pkgs.keycloak</literal>) has
889− been switched from the Wildfly version, which will soon be
890− deprecated, to the Quarkus based version. The Keycloak service
891− (<literal>services.keycloak</literal>) has been updated to
892− accommodate the change and now differs from the previous
893− version in a few ways:
894− </para>
895− <itemizedlist>
896− <listitem>
897− <para>
898− <literal>services.keycloak.extraConfig</literal> has been
899− removed in favor of the new
900− <link xlink:href="https://github.com/NixOS/rfcs/blob/master/rfcs/0042-config-option.md">settings-style</link>
901− <link linkend="opt-services.keycloak.settings"><literal>services.keycloak.settings</literal></link>
902− option. The available options correspond directly to
903− parameters in <literal>conf/keycloak.conf</literal>. Some
904− of the most important parameters are documented as
905− suboptions, the rest can be found in the
906− <link xlink:href="https://www.keycloak.org/server/all-config">All
907− configuration section of the Keycloak Server Installation
908− and Configuration Guide</link>. While the new
909− configuration is much simpler and cleaner than the old
910− JBoss CLI one, this unfortunately mean that there’s no
911− straightforward way to convert an old configuration to the
912− new format and some settings may not even be available
913− anymore.
914− </para>
915− </listitem>
916− <listitem>
917− <para>
918− <literal>services.keycloak.frontendUrl</literal> was
919− removed and the frontend URL is now configured through the
920− <literal>hostname</literal> family of settings in
921− <link linkend="opt-services.keycloak.settings"><literal>services.keycloak.settings</literal></link>
922− instead. See the
923− <link xlink:href="https://www.keycloak.org/server/hostname">Hostname
924− section of the Keycloak Server Installation and
925− Configuration Guide</link> for more details. Additionally,
926− <literal>/auth</literal> was removed from the default
927− context path and needs to be added back in
928− <link linkend="opt-services.keycloak.settings.http-relative-path"><literal>services.keycloak.settings.http-relative-path</literal></link>
929− if you want to keep compatibility with your current
930− clients.
931− </para>
932− </listitem>
933− <listitem>
934− <para>
935− <literal>services.keycloak.bindAddress</literal>,
936− <literal>services.keycloak.forceBackendUrlToFrontendUrl</literal>,
937− <literal>services.keycloak.httpPort</literal> and
938− <literal>services.keycloak.httpsPort</literal> have been
939− removed in favor of their equivalent options in
940− <link linkend="opt-services.keycloak.settings"><literal>services.keycloak.settings</literal></link>.
941− <literal>httpPort</literal> and
942− <literal>httpsPort</literal> have additionally had their
943− types changed from <literal>str</literal> to
944− <literal>port</literal>.
945− </para>
946− <para>
947− The new names are as follows:
948− </para>
949− <itemizedlist spacing="compact">
950− <listitem>
951− <para>
952− <literal>bindAddress</literal>:
953− <link linkend="opt-services.keycloak.settings.http-host"><literal>services.keycloak.settings.http-host</literal></link>
954− </para>
955− </listitem>
956− <listitem>
957− <para>
958− <literal>forceBackendUrlToFrontendUrl</literal>:
959− <link linkend="opt-services.keycloak.settings.hostname-strict-backchannel"><literal>services.keycloak.settings.hostname-strict-backchannel</literal></link>
960− </para>
961− </listitem>
962− <listitem>
963− <para>
964− <literal>httpPort</literal>:
965− <link linkend="opt-services.keycloak.settings.http-port"><literal>services.keycloak.settings.http-port</literal></link>
966− </para>
967− </listitem>
968− <listitem>
969− <para>
970− <literal>httpsPort</literal>:
971− <link linkend="opt-services.keycloak.settings.https-port"><literal>services.keycloak.settings.https-port</literal></link>
972− </para>
973− </listitem>
974− </itemizedlist>
975− </listitem>
976− </itemizedlist>
977− <para>
978− For example, when using a reverse proxy the migration could
979− look like this:
980− </para>
981− <para>
982− Before:
983− </para>
984− <programlisting language="bash">
985− services.keycloak = {
986− enable = true;
987− httpPort = &quot;8080&quot;;
988− frontendUrl = &quot;https://keycloak.example.com/auth&quot;;
989− database.passwordFile = &quot;/run/keys/db_password&quot;;
990− extraConfig = {
991− &quot;subsystem=undertow&quot;.&quot;server=default-server&quot;.&quot;http-listener=default&quot;.proxy-address-forwarding = true;
992− };
993− };
994−</programlisting>
995− <para>
996− After:
997− </para>
998− <programlisting language="bash">
999− services.keycloak = {
1000− enable = true;
1001− settings = {
1002− http-port = 8080;
1003− hostname = &quot;keycloak.example.com&quot;;
1004− http-relative-path = &quot;/auth&quot;;
1005− proxy = &quot;edge&quot;;
1006− };
1007− database.passwordFile = &quot;/run/keys/db_password&quot;;
1008− };
1009−</programlisting>
1010− </listitem>
1011− <listitem>
1012− <para>
1013− The MoinMoin wiki engine
1014− (<literal>services.moinmoin</literal>) has been removed,
1015− because Python 2 is being retired from nixpkgs.
1016− </para>
1017− </listitem>
1018− <listitem>
1019− <para>
1020− Services in the <literal>hadoop</literal> module previously
1021− set <literal>openFirewall</literal> to true by default. This
1022− has now been changed to false. Node definitions for multi-node
1023− clusters would need <literal>openFirewall = true;</literal> to
1024− be added to to hadoop services when upgrading from NixOS
1025− 21.11.
1026− </para>
1027− </listitem>
1028− <listitem>
1029− <para>
1030− <literal>services.hadoop.yarn.nodemanager</literal> now uses
1031− cgroup-based CPU limit enforcement by default. Additionally,
1032− the option <literal>useCGroups</literal> was added to
1033− nodemanagers as an easy way to switch back to the old
1034− behavior.
1035− </para>
1036− </listitem>
1037− <listitem>
1038− <para>
1039− The <literal>wafHook</literal> hook now honors
1040− <literal>NIX_BUILD_CORES</literal> when
1041− <literal>enableParallelBuilding</literal> is not set
1042− explicitly. Packages can restore the old behaviour by setting
1043− <literal>enableParallelBuilding=false</literal>.
1044− </para>
1045− </listitem>
1046− <listitem>
1047− <para>
1048− <literal>pkgs.claws-mail-gtk2</literal>, representing Claws
1049− Mail’s older release version three, was removed in order to
1050− get rid of Python 2. Please switch to
1051− <literal>claws-mail</literal>, which is Claws Mail’s latest
1052− release based on GTK+3 and Python 3.
1053− </para>
1054− </listitem>
1055− <listitem>
1056− <para>
1057− The <literal>writers.writePython2</literal> and corresponding
1058− <literal>writers.writePython2Bin</literal> convenience
1059− functions to create executable Python 2 scripts in the store
1060− were removed in preparation of removal of the Python 2
1061− interpreter. Scripts have to be converted to Python 3 for use
1062− with <literal>writers.writePython3</literal> or
1063− <literal>writers.writePyPy2</literal> needs to be used.
1064− </para>
1065− </listitem>
1066− <listitem>
1067− <para>
1068− <literal>buildGoModule</literal> was updated to use
1069− <literal>go_1_17</literal>, third party derivations that
1070− specify &gt;= go 1.17 in the main <literal>go.mod</literal>
1071− will need to regenerate their <literal>vendorSha256</literal>
1072− hash.
1073− </para>
1074− </listitem>
1075− <listitem>
1076− <para>
1077− The <literal>gnome-passwordsafe</literal> package updated to
1078− <link xlink:href="https://gitlab.gnome.org/World/secrets/-/tags/6.0">version
1079− 6.x</link> and renamed to <literal>gnome-secrets</literal>.
1080− </para>
1081− </listitem>
1082− <listitem>
1083− <para>
1084− <literal>services.gnome.experimental-features.realtime-scheduling</literal>
1085− option has been removed, as GNOME Shell now
1086− <link xlink:href="https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2060">uses
1087− rtkit</link>. Use
1088− <literal>security.rtkit.enable = true;</literal> instead. As
1089− before, you will need to have it enabled using GSettings.
1090− </para>
1091− </listitem>
1092− <listitem>
1093− <para>
1094− <literal>services.telepathy</literal> will no longer be
1095− enabled by default for GNOME desktops, one should enable it in
1096− their configs if using Empathy or Polari.
1097− </para>
1098− </listitem>
1099− <listitem>
1100− <para>
1101− If you previously used
1102− <literal>/etc/docker/daemon.json</literal>, you need to
1103− incorporate the changes into the new option
1104− <literal>virtualisation.docker.daemon.settings</literal>.
1105− </para>
1106− </listitem>
1107− <listitem>
1108− <para>
1109− Ntopng (<literal>services.ntopng</literal>) is updated to
1110− 5.2.1 and uses a separate Redis instance if
1111− <literal>system.stateVersion</literal> is at least
1112− <literal>22.05</literal>. Existing setups shouldn’t be
1113− affected.
1114− </para>
1115− </listitem>
1116− <listitem>
1117− <para>
1118− The backward compatibility in
1119− <literal>services.wordpress</literal> to configure sites with
1120− the old interface has been removed. Please use
1121− <literal>services.wordpress.sites</literal> instead.
1122− </para>
1123− </listitem>
1124− <listitem>
1125− <para>
1126− The backward compatibility in
1127− <literal>services.dokuwiki</literal> to configure sites with
1128− the old interface has been removed. Please use
1129− <literal>services.dokuwiki.sites</literal> instead.
1130− </para>
1131− </listitem>
1132− <listitem>
1133− <para>
1134− opensmtpd-extras is no longer build with python2 scripting
1135− support due to python2 deprecation in nixpkgs
1136− </para>
1137− </listitem>
1138− <listitem>
1139− <para>
1140− <literal>services.miniflux.adminCredentialFiles</literal> is
1141− now required, instead of defaulting to
1142− <literal>admin</literal> and <literal>password</literal>.
1143− </para>
1144− </listitem>
1145− <listitem>
1146− <para>
1147− The <literal>taskserver</literal> module no longer implicitly
1148− opens ports in the firewall configuration. This is now
1149− controlled through the option
1150− <literal>services.taskserver.openFirewall</literal>.
1151− </para>
1152− </listitem>
1153− <listitem>
1154− <para>
1155− The <literal>autorestic</literal> package has been upgraded
1156− from 1.3.0 to 1.5.0 which introduces breaking changes in
1157− config file, check
1158− <link xlink:href="https://autorestic.vercel.app/migration/1.4_1.5">their
1159− migration guide</link> for more details.
1160− </para>
1161− </listitem>
1162− <listitem>
1163− <para>
1164− For <literal>pkgs.python3.pkgs.ipython</literal>, its direct
1165− dependency
1166− <literal>pkgs.python3.pkgs.matplotlib-inline</literal> (which
1167− is really an adapter to integrate matplotlib in ipython if it
1168− is installed) does not depend on
1169− <literal>pkgs.python3.pkgs.matplotlib</literal> anymore. This
1170− is closer to a non-Nix install of ipython. This has the added
1171− benefit to reduce the closure size of
1172− <literal>ipython</literal> from ~400MB to ~160MB (including
1173− ~100MB for python itself).
1174− </para>
1175− </listitem>
1176− <listitem>
1177− <para>
1178− <literal>documentation.man</literal> has been refactored to
1179− support choosing a man implementation other than GNU’s
1180− <literal>man-db</literal>. For this,
1181− <literal>documentation.man.manualPages</literal> has been
1182− renamed to
1183− <literal>documentation.man.man-db.manualPages</literal>. If
1184− you want to use the new alternative man implementation
1185− <literal>mandoc</literal>, add
1186− <literal>documentation.man = { enable = true; man-db.enable = false; mandoc.enable = true; }</literal>
1187− to your configuration.
1188− </para>
1189− </listitem>
1190− <listitem>
1191− <para>
1192− Normal users (with <literal>isNormalUser = true</literal>)
1193− which have non-empty <literal>subUidRanges</literal> or
1194− <literal>subGidRanges</literal> set no longer have additional
1195− implicit ranges allocated. To enable automatic allocation back
1196− set <literal>autoSubUidGidRange = true</literal>.
1197− </para>
1198− </listitem>
1199− <listitem>
1200− <para>
1201− <literal>idris2</literal> now requires
1202− <literal>--package</literal> when using packages
1203− <literal>contrib</literal> and <literal>network</literal>,
1204− while previously these idris2 packages were automatically
1205− loaded.
1206− </para>
1207− </listitem>
1208− <listitem>
1209− <para>
1210− The iputils package, which is installed by default, no longer
1211− provides the legacy tools <literal>tftpd</literal> and
1212− <literal>traceroute6</literal>. More tools
1213− (<literal>ninfod</literal>, <literal>rarpd</literal>, and
1214− <literal>rdisc</literal>) are going to be removed in the next
1215− release. See
1216− <link xlink:href="https://github.com/iputils/iputils/releases/tag/20211215">upstream’s
1217− release notes</link> for more details and available
1218− replacements.
1219− </para>
1220− </listitem>
1221− <listitem>
1222− <para>
1223− <literal>services.thelounge.private</literal> was removed in
1224− favor of <literal>services.thelounge.public</literal>, to
1225− follow with upstream changes.
1226− </para>
1227− </listitem>
1228− <listitem>
1229− <para>
1230− <literal>pkgs.docbookrx</literal> was removed since it’s
1231− unmaintained
1232− </para>
1233− </listitem>
1234− <listitem>
1235− <para>
1236− <literal>pkgs._7zz</literal> is now correctly licensed as
1237− LGPL3+ and BSD3 with optional unfree unRAR licensed code
1238− </para>
1239− </listitem>
1240− <listitem>
1241− <para>
1242− The <literal>vim.customize</literal> function produced by
1243− <literal>vimUtils.makeCustomizable</literal> now has a
1244− slightly different interface:
1245− </para>
1246− <itemizedlist spacing="compact">
1247− <listitem>
1248− <para>
1249− The wrapper now includes everything in the given Vim
1250− derivation if <literal>name</literal> is
1251− <literal>&quot;vim&quot;</literal> (the default). This
1252− makes the <literal>wrapManual</literal> argument obsolete,
1253− but this behavior can be overriden by setting the
1254− <literal>standalone</literal> argument.
1255− </para>
1256− </listitem>
1257− <listitem>
1258− <para>
1259− All the executables present in the given derivation (or,
1260− in <literal>standalone</literal> mode, only the
1261− <literal>*vim</literal> ones) are wrapped. This makes the
1262− <literal>wrapGui</literal> argument obsolete.
1263− </para>
1264− </listitem>
1265− <listitem>
1266− <para>
1267− The <literal>vimExecutableName</literal> and
1268− <literal>gvimExecutableName</literal> arguments were
1269− replaced by a single <literal>executableName</literal>
1270− argument in which the shell variable
1271− <literal>$exe</literal> can be used to refer to the
1272− wrapped executable’s name.
1273− </para>
1274− </listitem>
1275− </itemizedlist>
1276− <para>
1277− See the comments in
1278− <literal>pkgs/applications/editors/vim/plugins/vim-utils.nix</literal>
1279− for more details.
1280− </para>
1281− <para>
1282− <literal>vimUtils.vimWithRC</literal> was removed. You should
1283− instead use <literal>customize</literal> on a Vim derivation,
1284− which now accepts <literal>vimrcFile</literal> and
1285− <literal>gvimrcFile</literal> arguments.
1286− </para>
1287− </listitem>
1288− <listitem>
1289− <para>
1290− <literal>tilp2</literal> was removed together with its module
1291− </para>
1292− </listitem>
1293− <listitem>
1294− <para>
1295− The F-PROT antivirus (<literal>fprot</literal> package) and
1296− its service module were removed because it reached
1297− <link xlink:href="https://kb.cyren.com/av-support/index.php?/Knowledgebase/Article/View/434/0/end-of-sale--end-of-life-for-f-prot-and-csam">end-of-life</link>.
1298− </para>
1299− </listitem>
1300− <listitem>
1301− <para>
1302− <literal>bird1</literal> and its modules
1303− <literal>services.bird</literal> as well as
1304− <literal>services.bird6</literal> have been removed. Upgrade
1305− to <literal>services.bird2</literal>.
1306− </para>
1307− </listitem>
1308− <listitem>
1309− <para>
1310− The options
1311− <literal>networking.interfaces.&lt;name&gt;.ipv4.routes</literal>
1312− and
1313− <literal>networking.interfaces.&lt;name&gt;.ipv6.routes</literal>
1314− are no longer ignored when using networkd instead of the
1315− default scripted network backend by setting
1316− <literal>networking.useNetworkd</literal> to
1317− <literal>true</literal>.
1318− </para>
1319− </listitem>
1320− <listitem>
1321− <para>
1322− The <literal>miller</literal> package has been upgraded from
1323− 5.10.3 to
1324− <link xlink:href="https://github.com/johnkerl/miller/releases/tag/v6.2.0">6.2.0</link>.
1325− See
1326− <link xlink:href="https://miller.readthedocs.io/en/latest/new-in-miller-6">What’s
1327− new in Miller 6</link>.
1328− </para>
1329− </listitem>
1330− <listitem>
1331− <para>
1332− MultiMC has been replaced with the fork PolyMC due to upstream
1333− developers being hostile to 3rd party package maintainers.
1334− PolyMC removes all MultiMC branding and is aimed at providing
1335− proper 3rd party packages like the one contained in Nixpkgs.
1336− This change affects the data folder where game instances and
1337− other save and configuration files are stored. Users with
1338− existing installations should rename
1339− <literal>~/.local/share/multimc</literal> to
1340− <literal>~/.local/share/polymc</literal>. The main config
1341− file’s path has also moved from
1342− <literal>~/.local/share/multimc/multimc.cfg</literal> to
1343− <literal>~/.local/share/polymc/polymc.cfg</literal>.
1344− </para>
1345− </listitem>
1346− <listitem>
1347− <para>
1348− <literal>systemd-nspawn@.service</literal> settings have been
1349− reverted to the default systemd behaviour. User namespaces are
1350− now activated by default. If you want to keep running nspawn
1351− containers without user namespaces you need to set
1352− <literal>systemd.nspawn.&lt;name&gt;.execConfig.PrivateUsers = false</literal>
1353− </para>
1354− </listitem>
1355− <listitem>
1356− <para>
1357− <literal>systemd-shutdown</literal> is now properly linked on
1358− shutdown to unmount all filesystems and device mapper devices
1359− cleanly. This can be disabled using
1360− <literal>systemd.shutdownRamfs.enable</literal>.
1361− </para>
1362− </listitem>
1363− <listitem>
1364− <para>
1365− The Tor SOCKS proxy is now actually disabled if
1366− <literal>services.tor.client.enable</literal> is set to
1367− <literal>false</literal> (the default). If you are using this
1368− functionality but didn’t change the setting or set it to
1369− <literal>false</literal>, you now need to set it to
1370− <literal>true</literal>.
1371− </para>
1372− </listitem>
1373− <listitem>
1374− <para>
1375− <literal>services.github-runner</literal> has been hardened.
1376− Notably address families and system calls have been
1377− restricted, which may adversely affect some kinds of testing,
1378− e.g. using <literal>AF_BLUETOOTH</literal> to test bluetooth
1379− devices.
1380− </para>
1381− </listitem>
1382− <listitem>
1383− <para>
1384− The terraform 0.12 compatibility has been removed and the
1385− <literal>terraform.withPlugins</literal> and
1386− <literal>terraform-providers.mkProvider</literal>
1387− implementations simplified. Providers now need to be stored
1388− under
1389− <literal>$out/libexec/terraform-providers/&lt;registry&gt;/&lt;owner&gt;/&lt;name&gt;/&lt;version&gt;/&lt;os&gt;_&lt;arch&gt;/terraform-provider-&lt;name&gt;_v&lt;version&gt;</literal>
1390− (which mkProvider does).
1391− </para>
1392− <para>
1393− This breaks back-compat so it’s not possible to mix-and-match
1394− with previous versions of nixpkgs. In exchange, it now becomes
1395− possible to use the providers from
1396− <link xlink:href="https://github.com/numtide/nixpkgs-terraform-providers-bin">nixpkgs-terraform-providers-bin</link>
1397− directly.
1398− </para>
1399− </listitem>
1400− <listitem>
1401− <para>
1402− The <literal>dendrite</literal> package has been upgraded from
1403− 0.5.1 to
1404− <link xlink:href="https://github.com/matrix-org/dendrite/releases/tag/v0.6.5">0.6.5</link>.
1405− Instances configured with split sqlite databases, which has
1406− been the default in NixOS, require merging of the federation
1407− sender and signing key databases. See upstream
1408− <link xlink:href="https://github.com/matrix-org/dendrite/releases/tag/v0.6.0">release
1409− notes</link> on version 0.6.0 for details on database changes.
1410− </para>
1411− </listitem>
1412− <listitem>
1413− <para>
1414− The existing <literal>pkgs.opentelemetry-collector</literal>
1415− has been moved to
1416− <literal>pkgs.opentelemetry-collector-contrib</literal> to
1417− match the actual source being the <quote>contrib</quote>
1418− edition. <literal>pkgs.opentelemetry-collector</literal> is
1419− now the actual core release of opentelemetry-collector. If you
1420− use the community contributions you should change the package
1421− you refer to. If you don’t need them update your commands from
1422− <literal>otelcontribcol</literal> to
1423− <literal>otelcorecol</literal> and enjoy a 7x smaller binary.
1424− </para>
1425− </listitem>
1426− <listitem>
1427− <para>
1428− <literal>services.zookeeper</literal> has a new option
1429− <literal>jre</literal> for specifying the JRE to start
1430− zookeeper with. It defaults to the JRE that
1431− <literal>pkgs.zookeeper</literal> was wrapped with, instead of
1432− <literal>pkgs.jre</literal>. This changes the JRE to
1433− <literal>pkgs.jdk11_headless</literal> by default.
1434− </para>
1435− </listitem>
1436− <listitem>
1437− <para>
1438− <literal>pkgs.pgadmin</literal> now refers to
1439− <literal>pkgs.pgadmin4</literal>. <literal>pgadmin3</literal>
1440− has been removed.
1441− </para>
1442− </listitem>
1443− <listitem>
1444− <para>
1445− <literal>pkgs.noto-fonts-cjk</literal> is now deprecated in
1446− favor of <literal>pkgs.noto-fonts-cjk-sans</literal> and
1447− <literal>pkgs.noto-fonts-cjk-serif</literal> because they each
1448− have different release schedules. To maintain compatibility
1449− with prior releases of Nixpkgs,
1450− <literal>pkgs.noto-fonts-cjk</literal> is currently an alias
1451− of <literal>pkgs.noto-fonts-cjk-sans</literal> and doesn’t
1452− include serif fonts.
1453− </para>
1454− </listitem>
1455− <listitem>
1456− <para>
1457− <literal>pkgs.epgstation</literal> has been upgraded from v1
1458− to v2, resulting in incompatible changes in the database
1459− scheme and configuration format.
1460− </para>
1461− </listitem>
1462− <listitem>
1463− <para>
1464− Some top-level settings under
1465− <link linkend="opt-services.epgstation.enable">services.epgstation</link>
1466− is now deprecated because it was redudant due to the same
1467− options being present in
1468− <link linkend="opt-services.epgstation.settings">services.epgstation.settings</link>.
1469− </para>
1470− </listitem>
1471− <listitem>
1472− <para>
1473− The option <literal>services.epgstation.basicAuth</literal>
1474− was removed because basic authentication support was dropped
1475− by upstream.
1476− </para>
1477− </listitem>
1478− <listitem>
1479− <para>
1480− The option
1481− <link linkend="opt-services.epgstation.database.passwordFile">services.epgstation.database.passwordFile</link>
1482− no longer has a default value. Make sure to set this option
1483− explicitly before upgrading. Change the database password if
1484− necessary.
1485− </para>
1486− </listitem>
1487− <listitem>
1488− <para>
1489− The
1490− <link linkend="opt-services.epgstation.settings">services.epgstation.settings</link>
1491− option now expects options for <literal>config.yml</literal>
1492− in EPGStation v2.
1493− </para>
1494− </listitem>
1495− <listitem>
1496− <para>
1497− Existing data for the
1498− <link linkend="opt-services.epgstation.enable">services.epgstation</link>
1499− module would have to be backed up prior to the upgrade. To
1500− back up exising data to
1501− <literal>/tmp/epgstation.bak</literal>, run
1502− <literal>sudo -u epgstation epgstation run backup /tmp/epgstation.bak</literal>.
1503− To import that data after to the upgrade, run
1504− <literal>sudo -u epgstation epgstation run v1migrate /tmp/epgstation.bak</literal>
1505− </para>
1506− </listitem>
1507− <listitem>
1508− <para>
1509− <literal>switch-to-configuration</literal> (the script that is
1510− run when running <literal>nixos-rebuild switch</literal> for
1511− example) has been reworked
1512− </para>
1513− <itemizedlist spacing="compact">
1514− <listitem>
1515− <para>
1516− The interface that allows activation scripts to restart
1517− units has been streamlined. Restarting and reloading is
1518− now done by a single file
1519− <literal>/run/nixos/activation-restart-list</literal> that
1520− honors <literal>restartIfChanged</literal> and
1521− <literal>reloadIfChanged</literal> of the units.
1522− </para>
1523− <itemizedlist spacing="compact">
1524− <listitem>
1525− <para>
1526− Preferring to reload instead of restarting can still
1527− be achieved using
1528− <literal>/run/nixos/activation-reload-list</literal>.
1529− </para>
1530− </listitem>
1531− </itemizedlist>
1532− </listitem>
1533− <listitem>
1534− <para>
1535− The script now uses a proper ini-file parser to parse
1536− systemd units. Some values are now only searched in one
1537− section instead of in the entire unit. This is only
1538− relevant for units that don’t use the NixOS systemd moule.
1539− </para>
1540− <itemizedlist spacing="compact">
1541− <listitem>
1542− <para>
1543− <literal>RefuseManualStop</literal>,
1544− <literal>X-OnlyManualStart</literal>,
1545− <literal>X-StopOnRemoval</literal>,
1546− <literal>X-StopOnReconfiguration</literal> are only
1547− searched in the <literal>[Unit]</literal> section
1548− </para>
1549− </listitem>
1550− <listitem>
1551− <para>
1552− <literal>X-ReloadIfChanged</literal>,
1553− <literal>X-RestartIfChanged</literal>,
1554− <literal>X-StopIfChanged</literal> are only searched
1555− in the <literal>[Service]</literal> section
1556− </para>
1557− </listitem>
1558− </itemizedlist>
1559− </listitem>
1560− </itemizedlist>
1561− </listitem>
1562− <listitem>
1563− <para>
1564− The <literal>services.bookstack.cacheDir</literal> option has
1565− been removed, since the cache directory is now handled by
1566− systemd.
1567− </para>
1568− </listitem>
1569− <listitem>
1570− <para>
1571− The <literal>services.bookstack.extraConfig</literal> option
1572− has been replaced by
1573− <literal>services.bookstack.config</literal> which implements
1574− a
1575− <link xlink:href="https://github.com/NixOS/rfcs/blob/master/rfcs/0042-config-option.md">settings-style</link>
1576− configuration.
1577− </para>
1578− </listitem>
1579− <listitem>
1580− <para>
1581− <literal>lib.assertMsg</literal> and
1582− <literal>lib.assertOneOf</literal> no longer return
1583− <literal>false</literal> if the passed condition is
1584− <literal>false</literal>, <literal>throw</literal>ing the
1585− given error message instead (which makes the resulting error
1586− message less cluttered). This will not impact the behaviour of
1587− code using these functions as intended, namely as top-level
1588− wrapper for <literal>assert</literal> conditions.
1589− </para>
1590− </listitem>
1591− <listitem>
1592− <para>
1593− The <literal>vpnc</literal> package has been changed to use
1594− GnuTLS instead of OpenSSL by default for licensing reasons.
1595− </para>
1596− </listitem>
1597− <listitem>
1598− <para>
1599− <literal>pkgs.vimPlugins.onedark-nvim</literal> now refers to
1600− <link xlink:href="https://github.com/navarasu/onedark.nvim">navarasu/onedark.nvim</link>
1601− (formerly refers to
1602− <link xlink:href="https://github.com/olimorris/onedarkpro.nvim">olimorris/onedarkpro.nvim</link>).
1603− </para>
1604− </listitem>
1605− <listitem>
1606− <para>
1607− <literal>services.pipewire.enable</literal> will default to
1608− enabling the WirePlumber session manager instead of
1609− pipewire-media-session. pipewire-media-session is deprecated
1610− by upstream and not recommended, but can still be manually
1611− enabled by setting
1612− <literal>services.pipewire.media-session.enable</literal> to
1613− <literal>true</literal> and
1614− <literal>services.pipewire.wireplumber.enable</literal> to
1615− <literal>false</literal>.
1616− </para>
1617− </listitem>
1618− <listitem>
1619− <para>
1620− <literal>pkgs.makeDesktopItem</literal> has been refactored to
1621− provide a more idiomatic API. Specifically:
1622− </para>
1623− <itemizedlist spacing="compact">
1624− <listitem>
1625− <para>
1626− All valid options as of FDO Desktop Entry specification
1627− version 1.4 can now be passed in as explicit arguments
1628− </para>
1629− </listitem>
1630− <listitem>
1631− <para>
1632− <literal>exec</literal> can now be null, for entries that
1633− are not of type Application
1634− </para>
1635− </listitem>
1636− <listitem>
1637− <para>
1638− <literal>mimeType</literal> argument is renamed to
1639− <literal>mimeTypes</literal> for consistency
1640− </para>
1641− </listitem>
1642− <listitem>
1643− <para>
1644− <literal>mimeTypes</literal>,
1645− <literal>categories</literal>,
1646− <literal>implements</literal>,
1647− <literal>keywords</literal>, <literal>onlyShowIn</literal>
1648− and <literal>notShowIn</literal> take lists of strings
1649− instead of one string with semicolon separators
1650− </para>
1651− </listitem>
1652− <listitem>
1653− <para>
1654− <literal>extraDesktopEntries</literal> renamed to
1655− <literal>extraConfig</literal> for consistency
1656− </para>
1657− </listitem>
1658− <listitem>
1659− <para>
1660− Actions should now be provided as an attrset
1661− <literal>actions</literal>, the <literal>Actions</literal>
1662− line will be autogenerated.
1663− </para>
1664− </listitem>
1665− <listitem>
1666− <para>
1667− <literal>extraEntries</literal> is removed.
1668− </para>
1669− </listitem>
1670− <listitem>
1671− <para>
1672− Additional validation is added both at eval time and at
1673− build time.
1674− </para>
1675− </listitem>
1676− </itemizedlist>
1677− <para>
1678− See the <literal>vscode</literal> package for a more detailed
1679− example.
1680− </para>
1681− </listitem>
1682− <listitem>
1683− <para>
1684− Existing <literal>resholve*</literal> functions have been
1685− renamed and nested under <literal>pkgs.resholve</literal>.
1686− Update uses to:
1687− </para>
1688− <itemizedlist spacing="compact">
1689− <listitem>
1690− <para>
1691− <literal>resholvePackage</literal> -&gt;
1692− <literal>resholve.mkDerivation</literal>
1693− </para>
1694− </listitem>
1695− <listitem>
1696− <para>
1697− <literal>resholveScript</literal> -&gt;
1698− <literal>resholve.writeScript</literal>
1699− </para>
1700− </listitem>
1701− <listitem>
1702− <para>
1703− <literal>resholveScriptBin</literal> -&gt;
1704− <literal>resholve.writeScriptBin</literal>
1705− </para>
1706− </listitem>
1707− </itemizedlist>
1708− </listitem>
1709− <listitem>
1710− <para>
1711− <literal>pkgs.cosmopolitan</literal> no longer provides the
1712− <literal>cosmoc</literal> command. It has been moved to
1713− <literal>pkgs.cosmoc</literal>.
1714− </para>
1715− </listitem>
1716− <listitem>
1717− <para>
1718− <literal>pkgs.graalvmXX-ce</literal> packages no longer
1719− provide support for Python/Ruby/WASM, instead focusing only in
1720− Java and Native Image Support. If you need to add support
1721− back, please see the
1722− <literal>pkgs.graalvmCEPackages.mkGraal</literal> function to
1723− create your own customized version of GraalVM with support for
1724− what you need.
1725− </para>
1726− </listitem>
1727− </itemizedlist>
1728− </section>
1729− <section xml:id="sec-release-22.05-notable-changes">
1730− <title>Other Notable Changes</title>
1731− <itemizedlist>
1732− <listitem>
1733− <para>
1734− The option
1735− <link linkend="opt-services.redis.servers">services.redis.servers</link>
1736− was added to support per-application
1737− <literal>redis-server</literal> which is more secure since
1738− Redis databases are only mere key prefixes without any
1739− configuration or ACL of their own. Backward-compatibility is
1740− preserved by mapping old
1741− <literal>services.redis.settings</literal> to
1742− <literal>services.redis.servers.&quot;&quot;.settings</literal>,
1743− but you are strongly encouraged to name each
1744− <literal>redis-server</literal> instance after the application
1745− using it, instead of keeping that nameless one. Except for the
1746− nameless
1747− <literal>services.redis.servers.&quot;&quot;</literal> still
1748− accessible at <literal>127.0.0.1:6379</literal>, and to the
1749− members of the Unix group <literal>redis</literal> through the
1750− Unix socket <literal>/run/redis/redis.sock</literal>, all
1751− other <literal>services.redis.servers.${serverName}</literal>
1752− are only accessible by default to the members of the Unix
1753− group <literal>redis-${serverName}</literal> through the Unix
1754− socket <literal>/run/redis-${serverName}/redis.sock</literal>.
1755− </para>
1756− </listitem>
1757− <listitem>
1758− <para>
1759− The option
1760− <link linkend="opt-virtualisation.vmVariant">virtualisation.vmVariant</link>
1761− was added to allow users to make changes to the
1762− <literal>nixos-rebuild build-vm</literal> configuration that
1763− do not apply to their normal system.
1764− </para>
1765− <para>
1766− The <literal>config.system.build.vm</literal> attribute now
1767− always exists and defaults to the value from
1768− <literal>vmVariant</literal>. Configurations that import the
1769− <literal>virtualisation/qemu-vm.nix</literal> module
1770− themselves will override this value, such that
1771− <literal>vmVariant</literal> is not used.
1772− </para>
1773− <para>
1774− Similarly
1775− <link linkend="opt-virtualisation.vmVariantWithBootLoader">virtualisation.vmVariantWithBootloader</link>
1776− was added.
1777− </para>
1778− </listitem>
1779− <listitem>
1780− <para>
1781− The configuration portion of the <literal>nix-daemon</literal>
1782− module has been reworked and exposed as
1783− <link xlink:href="options.html#opt-nix-settings">nix.settings</link>:
1784− </para>
1785− <itemizedlist spacing="compact">
1786− <listitem>
1787− <para>
1788− Legacy options have been mapped to the corresponding
1789− options under under
1790− <link xlink:href="options.html#opt-nix.settings">nix.settings</link>
1791− and will be deprecated when NixOS 21.11 reaches end of
1792− life.
1793− </para>
1794− </listitem>
1795− <listitem>
1796− <para>
1797− <link xlink:href="options.html#opt-nix.buildMachines.publicHostKey">nix.buildMachines.publicHostKey</link>
1798− has been added.
1799− </para>
1800− </listitem>
1801− </itemizedlist>
1802− </listitem>
1803− <listitem>
1804− <para>
1805− The
1806− <literal>writers.writePyPy2</literal>/<literal>writers.writePyPy3</literal>
1807− and corresponding
1808− <literal>writers.writePyPy2Bin</literal>/<literal>writers.writePyPy3Bin</literal>
1809− convenience functions to create executable Python 2/3 scripts
1810− using the PyPy interpreter were added.
1811− </para>
1812− </listitem>
1813− <listitem>
1814− <para>
1815− Some improvements have been made to the
1816− <literal>hadoop</literal> module:
1817− </para>
1818− <itemizedlist spacing="compact">
1819− <listitem>
1820− <para>
1821− A <literal>gatewayRole</literal> option has been added,
1822− for deploying hadoop cluster configuration files to a node
1823− that does not have any active services
1824− </para>
1825− </listitem>
1826− <listitem>
1827− <para>
1828− Support for older versions of hadoop have been added to
1829− the module
1830− </para>
1831− </listitem>
1832− <listitem>
1833− <para>
1834− Overriding and extending site XML files has been made
1835− easier
1836− </para>
1837− </listitem>
1838− </itemizedlist>
1839− </listitem>
1840− <listitem>
1841− <para>
1842− The auto-upgrade service now accepts persistent (default:
1843− true) parameter. By default auto-upgrade will now run
1844− immediately if it would have been triggered at least once
1845− during the time when the timer was inactive.
1846− </para>
1847− </listitem>
1848− <listitem>
1849− <para>
1850− If you are using Wayland you can choose to use the Ozone
1851− Wayland support in Chrome and several Electron apps by setting
1852− the environment variable <literal>NIXOS_OZONE_WL=1</literal>
1853− (for example via
1854− <literal>environment.sessionVariables.NIXOS_OZONE_WL = &quot;1&quot;</literal>).
1855− This is not enabled by default because Ozone Wayland is still
1856− under heavy development and behavior is not always flawless.
1857− Furthermore, not all Electron apps use the latest Electron
1858− versions.
1859− </para>
1860− </listitem>
1861− <listitem>
1862− <para>
1863− A new option group
1864− <literal>systemd.network.wait-online</literal> was added, with
1865− options to configure
1866− <literal>systemd-networkd-wait-online.service</literal>:
1867− </para>
1868− <itemizedlist spacing="compact">
1869− <listitem>
1870− <para>
1871− <literal>anyInterface</literal> allows specifying that the
1872− network should be considered online when <emphasis>at
1873− least one</emphasis> interface is online (useful on
1874− laptops)
1875− </para>
1876− </listitem>
1877− <listitem>
1878− <para>
1879− <literal>timeout</literal> defines how long to wait for
1880− the network to come online
1881− </para>
1882− </listitem>
1883− <listitem>
1884− <para>
1885− <literal>extraArgs</literal> for everything else
1886− </para>
1887− </listitem>
1888− </itemizedlist>
1889− </listitem>
1890− <listitem>
1891− <para>
1892− The <literal>influxdb2</literal> package was split into
1893− <literal>influxdb2-server</literal> and
1894− <literal>influxdb2-cli</literal>, matching the split that took
1895− place upstream. A combined <literal>influxdb2</literal>
1896− package is still provided in this release for backwards
1897− compatibilty, but will be removed at a later date.
1898− </para>
1899− </listitem>
1900− <listitem>
1901− <para>
1902− The <literal>unifi</literal> package was switched from
1903− <literal>unifi6</literal> to <literal>unifi7</literal>. Direct
1904− downgrades from Unifi 7 to Unifi 6 are not possible and
1905− require restoring from a backup made by Unifi 6.
1906− </para>
1907− </listitem>
1908− <listitem>
1909− <para>
1910− <literal>programs.zsh.autosuggestions.strategy</literal> now
1911− takes a list of strings instead of a string.
1912− </para>
1913− </listitem>
1914− <listitem>
1915− <para>
1916− The <literal>asterisk</literal> and
1917− <literal>asterisk-stable</literal> packages were switched from
1918− <literal>asterisk_18</literal> to the newly-packaged
1919− <literal>asterisk_19</literal>. Asterisk 13 and 17 have been
1920− removed as they have reached their end of life.
1921− </para>
1922− </listitem>
1923− <listitem>
1924− <para>
1925− The <literal>services.unifi.openPorts</literal> option default
1926− value of <literal>true</literal> is now deprecated and will be
1927− changed to <literal>false</literal> in 22.11. Configurations
1928− using this default will print a warning when rebuilt.
1929− </para>
1930− </listitem>
1931− <listitem>
1932− <para>
1933− The <literal>services.unifi-video.openPorts</literal> option
1934− default value of <literal>true</literal> is now deprecated and
1935− will be changed to <literal>false</literal> in 22.11.
1936− Configurations using this default will print a warning when
1937− rebuilt.
1938− </para>
1939− </listitem>
1940− <listitem>
1941− <para>
1942− <literal>security.acme</literal> certificates will now
1943− correctly check for CA revokation before reaching their
1944− minimum age.
1945− </para>
1946− </listitem>
1947− <listitem>
1948− <para>
1949− Removing domains from
1950− <literal>security.acme.certs._name_.extraDomainNames</literal>
1951− will now correctly remove those domains during rebuild/renew.
1952− </para>
1953− </listitem>
1954− <listitem>
1955− <para>
1956− MariaDB is now offered in several versions, not just the
1957− newest one. So if you have a need for running MariaDB 10.4 for
1958− example, you can now just set
1959− <literal>services.mysql.package = pkgs.mariadb_104;</literal>.
1960− In general, it is recommended to run the newest version, to
1961− get the newest features, while sticking with an LTS version
1962− will most likely provide a more stable experience. Sometimes
1963− software is also incompatible with the newest version of
1964− MariaDB.
1965− </para>
1966− </listitem>
1967− <listitem>
1968− <para>
1969− The option
1970− <link linkend="opt-programs.ssh.enableAskPassword">programs.ssh.enableAskPassword</link>
1971− was added, decoupling the setting of
1972− <literal>SSH_ASKPASS</literal> from
1973− <literal>services.xserver.enable</literal>. This allows easy
1974− usage in non-X11 environments, e.g. Wayland.
1975− </para>
1976− </listitem>
1977− <listitem>
1978− <para>
1979− <link linkend="opt-programs.ssh.knownHosts">programs.ssh.knownHosts</link>
1980− has gained an <literal>extraHostNames</literal> option to
1981− augment <literal>hostNames</literal>. It is now possible to
1982− use the attribute name of a <literal>knownHosts</literal>
1983− entry as the primary host name and specify secondary host
1984− names using <literal>extraHostNames</literal> without having
1985− to duplicate the primary host name.
1986− </para>
1987− </listitem>
1988− <listitem>
1989− <para>
1990− The <literal>services.stubby</literal> module was converted to
1991− a
1992− <link xlink:href="https://github.com/NixOS/rfcs/blob/master/rfcs/0042-config-option.md">settings-style</link>
1993− configuration.
1994− </para>
1995− </listitem>
1996− <listitem>
1997− <para>
1998− The option
1999− <link linkend="opt-services.xserver.desktopManager.runXdgAutostartIfNone">services.xserver.desktopManager.runXdgAutostartIfNone</link>
2000− was added in order to automatically run XDG autostart files
2001− for sessions without a desktop manager. This replaces helpers
2002− like the <literal>dex</literal> package.
2003− </para>
2004− </listitem>
2005− <listitem>
2006− <para>
2007− When setting
2008− <link linkend="opt-i18n.inputMethod.enabled">i18n.inputMethod.enabled</link>
2009− to <literal>fcitx5</literal>, it no longer creates
2010− corresponding systemd user services. It now relies on XDG
2011− autostart files to start and work properly in your desktop
2012− sessions. If you are using only a window manager without a
2013− desktop manager, you need to enable
2014− <literal>services.xserver.desktopManager.runXdgAutostartIfNone</literal>
2015− or using the <literal>dex</literal> package to make
2016− <literal>fcitx5</literal> work.
2017− </para>
2018− </listitem>
2019− <listitem>
2020− <para>
2021− A new module was added for the Envoy reverse proxy, providing
2022− the options <literal>services.envoy.enable</literal> and
2023− <literal>services.envoy.settings</literal>.
2024− </para>
2025− </listitem>
2026− <listitem>
2027− <para>
2028− The option <literal>services.duplicati.dataDir</literal> has
2029− been added to allow changing the location of duplicati’s
2030− files.
2031− </para>
2032− </listitem>
2033− <listitem>
2034− <para>
2035− The options <literal>boot.extraModprobeConfig</literal> and
2036− <literal>boot.blacklistedKernelModules</literal> now also take
2037− effect in the initrd by copying the file
2038− <literal>/etc/modprobe.d/nixos.conf</literal> into the initrd.
2039− </para>
2040− </listitem>
2041− <listitem>
2042− <para>
2043− <literal>nixos-generate-config</literal> now puts the dhcp
2044− configuration in <literal>hardware-configuration.nix</literal>
2045− instead of <literal>configuration.nix</literal>.
2046− </para>
2047− </listitem>
2048− <listitem>
2049− <para>
2050− ORY Kratos was updated to version 0.9.0-alpha.3, which
2051− introduces some breaking changes:
2052− </para>
2053− <itemizedlist spacing="compact">
2054− <listitem>
2055− <para>
2056− All endpoints at the Admin API are now exposed at
2057− <literal>/admin/</literal>. For example, endpoint
2058− <literal>https://kratos:4434/identities</literal> is now
2059− exposed at
2060− <literal>https://kratos:4434/admin/identities</literal>
2061− </para>
2062− </listitem>
2063− <listitem>
2064− <para>
2065− Configuration key
2066− <literal>selfservice.whitelisted_return_urls</literal> has
2067− been renamed to <literal>allowed_return_urls</literal>
2068− </para>
2069− </listitem>
2070− <listitem>
2071− <para>
2072− The <literal>password_identifier</literal> form field of
2073− the password login strategy has been renamed to
2074− <literal>identifier</literal> to make compatibility with
2075− passwordless flows possible.
2076− </para>
2077− </listitem>
2078− <listitem>
2079− <para>
2080− Instead of having a global
2081− <literal>default_schema_url</literal> which developers
2082− used to update their schema, you now need to define the
2083− <literal>default_schema_id</literal> which must reference
2084− schema ID in your config.
2085− </para>
2086− </listitem>
2087− <listitem>
2088− <para>
2089− Calling <literal>/self-service/recovery</literal> without
2090− flow ID or with an invalid flow ID while authenticated
2091− will now respond with an error instead of redirecting to
2092− the default page.
2093− </para>
2094− </listitem>
2095− <listitem>
2096− <para>
2097− If you are relying on the SQLite images, update your
2098− Docker Pull commands as follows:
2099− </para>
2100− <itemizedlist spacing="compact">
2101− <listitem>
2102− <para>
2103− <literal>docker pull oryd/kratos:{version}</literal>
2104− </para>
2105− </listitem>
2106− </itemizedlist>
2107− </listitem>
2108− <listitem>
2109− <para>
2110− Additionally, all passwords now have to be at least 8
2111− characters long.
2112− </para>
2113− </listitem>
2114− <listitem>
2115− <para>
2116− For more details, see:
2117− </para>
2118− <itemizedlist spacing="compact">
2119− <listitem>
2120− <para>
2121− <link xlink:href="https://github.com/ory/kratos/releases/tag/v0.8.1-alpha.1">Release
2122− Notes for v0.8.1-alpha-1</link>
2123− </para>
2124− </listitem>
2125− <listitem>
2126− <para>
2127− <link xlink:href="https://github.com/ory/kratos/releases/tag/v0.8.2-alpha.1">Release
2128− Notes for v0.8.2-alpha-1</link>
2129− </para>
2130− </listitem>
2131− <listitem>
2132− <para>
2133− <link xlink:href="https://github.com/ory/kratos/releases/tag/v0.9.0-alpha.1">Release
2134− Notes for v0.9.0-alpha-1</link>
2135− </para>
2136− </listitem>
2137− <listitem>
2138− <para>
2139− <link xlink:href="https://github.com/ory/kratos/releases/tag/v0.9.0-alpha.3">Release
2140− Notes for v0.9.0-alpha-3</link>
2141− </para>
2142− </listitem>
2143− </itemizedlist>
2144− </listitem>
2145− </itemizedlist>
2146− </listitem>
2147328 <listitem>
2148329 <para>
2149330 <literal>fetchFromSourcehut</literal> now allows fetching
@@ -2153,318 +334,6 @@
2153334 <literal>true</literal>.
2154335 </para>
2155336 </listitem>
2156− <listitem>
2157− <para>
2158− A module for declarative configuration of openconnect VPN
2159− profiles was added under
2160− <literal>networking.openconnect</literal>.
2161− </para>
2162− </listitem>
2163− <listitem>
2164− <para>
2165− The <literal>element-desktop</literal> package now has an
2166− <literal>useKeytar</literal> option (defaults to
2167− <literal>true</literal>), which allows disabling
2168− <literal>keytar</literal> and in turn
2169− <literal>libsecret</literal> usage (which binds to native
2170− credential managers / keychain libraries).
2171− </para>
2172− </listitem>
2173− <listitem>
2174− <para>
2175− The option <literal>services.thelounge.plugins</literal> has
2176− been added to allow installing plugins for The Lounge. Plugins
2177− can be found in
2178− <literal>pkgs.theLoungePlugins.plugins</literal> and
2179− <literal>pkgs.theLoungePlugins.themes</literal>.
2180− </para>
2181− </listitem>
2182− <listitem>
2183− <para>
2184− The option
2185− <literal>services.xserver.videoDriver = [ &quot;nvidia&quot; ];</literal>
2186− will now also install
2187− <link xlink:href="https://github.com/elFarto/nvidia-vaapi-driver">nvidia
2188− VA-API drivers</link> by default.
2189− </para>
2190− </listitem>
2191− <listitem>
2192− <para>
2193− The <literal>firmwareLinuxNonfree</literal> package has been
2194− renamed to <literal>linux-firmware</literal>.
2195− </para>
2196− </listitem>
2197− <listitem>
2198− <para>
2199− It is now possible to specify wordlists to include as handy to
2200− access environment variables using the
2201− <literal>config.environment.wordlist</literal> configuration
2202− options.
2203− </para>
2204− </listitem>
2205− <listitem>
2206− <para>
2207− The <literal>services.mbpfan</literal> module was converted to
2208− a
2209− <link xlink:href="https://github.com/NixOS/rfcs/blob/master/rfcs/0042-config-option.md">RFC
2210− 0042</link> configuration.
2211− </para>
2212− </listitem>
2213− <listitem>
2214− <para>
2215− The default value for
2216− <literal>programs.spacefm.settings.graphical_su</literal> got
2217− unset. It previously pointed to <literal>gksu</literal> which
2218− has been removed.
2219− </para>
2220− </listitem>
2221− <listitem>
2222− <para>
2223− A new module was added for the
2224− <link xlink:href="https://starship.rs/">Starship</link> shell
2225− prompt, providing the options
2226− <literal>programs.starship.enable</literal> and
2227− <literal>programs.starship.settings</literal>.
2228− </para>
2229− </listitem>
2230− <listitem>
2231− <para>
2232− The <link xlink:href="https://dino.im">Dino</link> XMPP client
2233− was updated to 0.3, adding support for audio and video calls.
2234− </para>
2235− </listitem>
2236− <listitem>
2237− <para>
2238− <literal>services.mattermost.plugins</literal> has been added
2239− to allow the declarative installation of Mattermost plugins.
2240− Plugins are automatically repackaged using autoPatchelf.
2241− </para>
2242− </listitem>
2243− <listitem>
2244− <para>
2245− <link linkend="opt-services.logrotate.enable">services.logrotate.enable</link>
2246− now defaults to true if any rotate path has been defined, and
2247− some paths have been added by default.
2248− </para>
2249− </listitem>
2250− <listitem>
2251− <para>
2252− The logrotate module also has been updated to freeform syntax:
2253− <link linkend="opt-services.logrotate.paths">services.logrotate.paths</link>
2254− and
2255− <link linkend="opt-services.logrotate.extraConfig">services.logrotate.extraConfig</link>
2256− will work, but issue deprecation warnings and
2257− <link linkend="opt-services.logrotate.settings">services.logrotate.settings</link>
2258− should now be used instead.
2259− </para>
2260− </listitem>
2261− <listitem>
2262− <para>
2263− <literal>security.pam.ussh</literal> has been added, which
2264− allows authorizing PAM sessions based on SSH
2265− <emphasis>certificates</emphasis> held within an SSH agent,
2266− using
2267− <link xlink:href="https://github.com/uber/pam-ussh">pam-ussh</link>.
2268− </para>
2269− </listitem>
2270− <listitem>
2271− <para>
2272− The <literal>vscode-extensions.ionide.ionide-fsharp</literal>
2273− package has been updated to 6.0.0 and now requires .NET 6.0.
2274− </para>
2275− </listitem>
2276− <listitem>
2277− <para>
2278− The <literal>zrepl</literal> package has been updated from
2279− 0.4.0 to 0.5:
2280− </para>
2281− <itemizedlist spacing="compact">
2282− <listitem>
2283− <para>
2284− The RPC protocol version was bumped; all zrepl daemons in
2285− a setup must be updated and restarted before replication
2286− can resume.
2287− </para>
2288− </listitem>
2289− <listitem>
2290− <para>
2291− A bug involving encrypt-on-receive has been fixed. Read
2292− the
2293− <link xlink:href="https://zrepl.github.io/configuration/sendrecvoptions.html#job-recv-options-placeholder">zrepl
2294− documentation</link> and check the output of
2295− <literal>zfs get -r encryption,zrepl:placeholder PATH_TO_ROOTFS</literal>
2296− on the receiver.
2297− </para>
2298− </listitem>
2299− </itemizedlist>
2300− </listitem>
2301− <listitem>
2302− <para>
2303− The <literal>polybar</literal> package has been updated from
2304− 3.5.7 to 3.6.2. See
2305− <link xlink:href="https://github.com/polybar/polybar/releases/tag/3.6.0">the
2306− changelog</link> for more details.
2307− </para>
2308− <itemizedlist spacing="compact">
2309− <listitem>
2310− <para>
2311− Breaking changes include changes to escaping rules in
2312− configuration values, changes in behavior when
2313− encountering invalid tag names, and changes to
2314− inter-process-messaging (IPC).
2315− </para>
2316− </listitem>
2317− </itemizedlist>
2318− </listitem>
2319− <listitem>
2320− <para>
2321− Renamed option
2322− <literal>services.openssh.challengeResponseAuthentication</literal>
2323− to
2324− <literal>services.openssh.kbdInteractiveAuthentication</literal>.
2325− Reason is that the old name has been deprecated upstream.
2326− Using the old option name will still work, but produce a
2327− warning.
2328− </para>
2329− </listitem>
2330− <listitem>
2331− <para>
2332− <literal>services.autorandr</literal> now allows for adding
2333− hooks and profiles declaratively.
2334− </para>
2335− </listitem>
2336− <listitem>
2337− <para>
2338− The <literal>pomerium-cli</literal> command has been moved out
2339− of the <literal>pomerium</literal> package into the
2340− <literal>pomerium-cli</literal> package, following upstream’s
2341− repository split. If you are using the
2342− <literal>pomerium-cli</literal> command, you should now
2343− install the <literal>pomerium-cli</literal> package.
2344− </para>
2345− </listitem>
2346− <listitem>
2347− <para>
2348− The option
2349− <link linkend="opt-networking.networkmanager.enableFccUnlock">services.networking.networkmanager.enableFccUnlock</link>
2350− was added to support FCC unlock procedures. Since release
2351− 1.18.4, the ModemManager daemon no longer automatically
2352− performs the FCC unlock procedure by default. See
2353− <link xlink:href="https://modemmanager.org/docs/modemmanager/fcc-unlock/">the
2354− docs</link> for more details.
2355− </para>
2356− </listitem>
2357− <listitem>
2358− <para>
2359− <literal>programs.tmux</literal> has a new option
2360− <literal>plugins</literal> that accepts a list of packages
2361− from the <literal>tmuxPlugins</literal> group. The specified
2362− packages are added to the system and loaded by
2363− <literal>tmux</literal>.
2364− </para>
2365− </listitem>
2366− <listitem>
2367− <para>
2368− The polkit service, available at
2369− <literal>security.polkit.enable</literal>, is now disabled by
2370− default. It will automatically be enabled through services and
2371− desktop environments as needed.
2372− </para>
2373− </listitem>
2374− <listitem>
2375− <para>
2376− xfsprogs was update to version 5.15, which enables inobtcount
2377− and bigtime by default on filesystem creation. Support for
2378− these features was added in kernel 5.10 and deemed stable in
2379− kernel 5.15. If you want to be able to mount XFS filesystems
2380− created with this release of xfsprogs on kernel releases older
2381− than 5.10, you need to format them with
2382− <literal>mkfs.xfs -m bigtime=0 -m inobtcount=0</literal>.
2383− </para>
2384− </listitem>
2385− <listitem>
2386− <para>
2387− <literal>services.xserver.desktopManager.xfce</literal> now
2388− includes Xfce’s screen locker,
2389− <literal>xfce4-screensaver</literal> that is enabled by
2390− default. You can disable it by setting
2391− <literal>false</literal> to
2392− <link linkend="opt-services.xserver.desktopManager.xfce.enableScreensaver">services.xserver.desktopManager.xfce.enableScreensaver</link>.
2393− </para>
2394− </listitem>
2395− <listitem>
2396− <para>
2397− The <literal>hadoop</literal> package has added support for
2398− <literal>aarch64-linux</literal> and
2399− <literal>aarch64-darwin</literal> as of 3.3.1
2400− (<link xlink:href="https://github.com/NixOS/nixpkgs/pull/158613">#158613</link>).
2401− </para>
2402− </listitem>
2403− <listitem>
2404− <para>
2405− The <literal>R</literal> package now builds again on
2406− <literal>aarch64-darwin</literal>
2407− (<link xlink:href="https://github.com/NixOS/nixpkgs/pull/158992">#158992</link>).
2408− </para>
2409− </listitem>
2410− <listitem>
2411− <para>
2412− The <literal>nss</literal> package was split into
2413− <literal>nss_esr</literal> and <literal>nss_latest</literal>,
2414− with <literal>nss</literal> being an alias for
2415− <literal>nss_esr</literal>. This was done to ease maintenance
2416− of <literal>nss</literal> and dependent high-profile packages
2417− like <literal>firefox</literal>.
2418− </para>
2419− </listitem>
2420− <listitem>
2421− <para>
2422− The Nextcloud module now supports to create a Mysql database
2423− automatically with
2424− <literal>services.nextcloud.database.createLocally</literal>
2425− enabled.
2426− </para>
2427− </listitem>
2428− <listitem>
2429− <para>
2430− The <literal>spark3</literal> package has been updated from
2431− 3.1.2 to 3.2.1
2432− (<link xlink:href="https://github.com/NixOS/nixpkgs/pull/160075">#160075</link>):
2433− </para>
2434− <itemizedlist spacing="compact">
2435− <listitem>
2436− <para>
2437− Testing has been enabled for
2438− <literal>aarch64-linux</literal> in addition to
2439− <literal>x86_64-linux</literal>.
2440− </para>
2441− </listitem>
2442− <listitem>
2443− <para>
2444− The <literal>spark3</literal> package is now usable on
2445− <literal>aarch64-darwin</literal> as a result of
2446− <link xlink:href="https://github.com/NixOS/nixpkgs/pull/158613">#158613</link>
2447− and
2448− <link xlink:href="https://github.com/NixOS/nixpkgs/pull/158992">#158992</link>.
2449− </para>
2450− </listitem>
2451− </itemizedlist>
2452− </listitem>
2453− <listitem>
2454− <para>
2455− The <literal>programs.nncp</literal> options were added for
2456− generating host-global NNCP configuration.
2457− </para>
2458− </listitem>
2459− <listitem>
2460− <para>
2461− The option <literal>services.snapserver.openFirewall</literal>
2462− will no longer default to <literal>true</literal> starting
2463− with NixOS 22.11. Enable it explicitly if you need to control
2464− Snapserver remotely or connect streamig clients from other
2465− hosts.
2466− </para>
2467− </listitem>
2468337 </itemizedlist>
2469338 </section>
2470339</section>
nixos/doc/manual/installation/building-nixos.chapter.mddeleted−77
@@ -1,77 +0,0 @@
1−# Building a NixOS (Live) ISO {#sec-building-image}
2−
3−Default live installer configurations are available inside `nixos/modules/installer/cd-dvd`.
4−For building other system images, [nixos-generators] is a good place to start looking at.
5−
6−You have two options:
7−
8−- Use any of those default configurations as is
9−- Combine them with (any of) your host config(s)
10−
11−System images, such as the live installer ones, know how to enforce configuration settings
12−on wich they immediately depend in order to work correctly.
13−
14−However, if you are confident, you can opt to override those
15−enforced values with `mkForce`.
16−
17−[nixos-generators]: https://github.com/nix-community/nixos-generators
18−
19−## Practical Instructions {#sec-building-image-instructions}
20−
21−```ShellSession
22−$ git clone https://github.com/NixOS/nixpkgs.git
23−$ cd nixpkgs/nixos
24−$ nix-build -A config.system.build.isoImage -I nixos-config=modules/installer/cd-dvd/installation-cd-minimal.nix default.nix
25−```
26−
27−To check the content of an ISO image, mount it like so:
28−
29−```ShellSession
30−# mount -o loop -t iso9660 ./result/iso/cd.iso /mnt/iso
31−```
32−
33−## Additional drivers or firmware {#sec-building-image-drivers}
34−
35−If you need additional (non-distributable) drivers or firmware in the
36−installer, you might want to extend these configurations.
37−
38−For example, to build the GNOME graphical installer ISO, but with support for
39−certain WiFi adapters present in some MacBooks, you can create the following
40−file at `modules/installer/cd-dvd/installation-cd-graphical-gnome-macbook.nix`:
41−
42−```nix
43−{ config, ... }:
44−
45−{
46− imports = [ ./installation-cd-graphical-gnome.nix ];
47−
48− boot.initrd.kernelModules = [ "wl" ];
49−
50− boot.kernelModules = [ "kvm-intel" "wl" ];
51− boot.extraModulePackages = [ config.boot.kernelPackages.broadcom_sta ];
52−}
53−```
54−
55−Then build it like in the example above:
56−
57−```ShellSession
58−$ git clone https://github.com/NixOS/nixpkgs.git
59−$ cd nixpkgs/nixos
60−$ export NIXPKGS_ALLOW_UNFREE=1
61−$ nix-build -A config.system.build.isoImage -I nixos-config=modules/installer/cd-dvd/installation-cd-graphical-gnome-macbook.nix default.nix
62−```
63−
64−## Technical Notes {#sec-building-image-tech-notes}
65−
66−The config value enforcement is implemented via `mkImageMediaOverride = mkOverride 60;`
67−and therefore primes over simple value assignments, but also yields to `mkForce`.
68−
69−This property allows image designers to implement in semantically correct ways those
70−configuration values upon which the correct functioning of the image depends.
71−
72−For example, the iso base image overrides those file systems which it needs at a minimum
73−for correct functioning, while the installer base image overrides the entire file system
74−layout because there can't be any other guarantees on a live medium than those given
75−by the live medium itself. The latter is especially true befor formatting the target
76−block device(s). On the other hand, the netboot iso only overrides its minimum dependencies
77−since netboot images are always made-to-target.
nixos/doc/manual/installation/installation.xml−1
@@ -14,5 +14,4 @@
1414 <xi:include href="../from_md/installation/installing.chapter.xml" />
1515 <xi:include href="../from_md/installation/changing-config.chapter.xml" />
1616 <xi:include href="../from_md/installation/upgrading.chapter.xml" />
17− <xi:include href="../from_md/installation/building-nixos.chapter.xml" />
1817</part>
nixos/doc/manual/installation/installing-pxe.section.md+2−2
@@ -5,11 +5,11 @@ setup.
55
66These instructions assume that you have an existing PXE or iPXE
77infrastructure and simply want to add the NixOS installer as another
8−option. To build the necessary files from your current version of nixpkgs,
8+option. To build the necessary files from a recent version of nixpkgs,
99you can run:
1010
1111```ShellSession
12−nix-build -A netboot.x86_64-linux '<nixpkgs/nixos/release.nix>'
12+nix-build -A netboot.x86_64-linux nixos/release.nix
1313```
1414
1515This will create a `result` directory containing: \* `bzImage` -- the
nixos/doc/manual/installation/installing-usb.section.md+1−1
@@ -18,7 +18,7 @@ $ diskutil list
1818[..]
1919$ diskutil unmountDisk diskN
2020Unmount of all volumes on diskN was successful
21−$ sudo dd if=nix.iso of=/dev/rdiskN bs=1M
21+$ sudo dd if=nix.iso of=/dev/rdiskN
2222```
2323
2424Using the \'raw\' `rdiskN` device instead of `diskN` completes in
nixos/doc/manual/installation/installing.chapter.md+5−5
@@ -296,11 +296,6 @@ Use the following commands:
296296 specify on which disk the GRUB boot loader is to be installed.
297297 Without it, NixOS cannot boot.
298298
299− : If there are other operating systems running on the machine before
300− installing NixOS, the [](#opt-boot.loader.grub.useOSProber)
301− option can be set to `true` to automatically add them to the grub
302− menu.
303−
304299 UEFI systems
305300
306301 : You *must* set the option [](#opt-boot.loader.systemd-boot.enable)
@@ -312,6 +307,11 @@ Use the following commands:
312307 [`boot.loader.systemd-boot`](#opt-boot.loader.systemd-boot.enable)
313308 as well.
314309
310+ If there are other operating systems running on the machine before
311+ installing NixOS, the [](#opt-boot.loader.grub.useOSProber)
312+ option can be set to `true` to automatically add them to the grub
313+ menu.
314+
315315 If you need to configure networking for your machine the
316316 configuration options are described in [](#sec-networking). In
317317 particular, while wifi is supported on the installation image, it is
nixos/doc/manual/man-nixos-rebuild.xml+1−27
@@ -91,10 +91,6 @@
9191 <option>--flake</option> <replaceable>flake-uri</replaceable>
9292 </arg>
9393
94− <arg>
95− <option>--no-flake</option>
96− </arg>
97−
9894 <arg>
9995 <option>--override-input</option> <replaceable>input-name</replaceable> <replaceable>flake-uri</replaceable>
10096 </arg>
@@ -457,7 +453,7 @@
457453 Allow ad-hoc remote builders for building the new system. This requires
458454 the user executing <command>nixos-rebuild</command> (usually root) to be
459455 configured as a trusted user in the Nix daemon. This can be achieved by
460− using the <literal>nix.settings.trusted-users</literal> NixOS option. Examples
456+ using the <literal>nix.trustedUsers</literal> NixOS option. Examples
461457 values for that option are described in the <literal>Remote builds
462458 chapter</literal> in the Nix manual, (i.e. <command>--builders
463459 "ssh://bigbrother x86_64-linux"</command>). By specifying an empty string
@@ -548,14 +544,6 @@
548544 (<replaceable>user@host</replaceable>). You can also set ssh options by
549545 defining the <envar>NIX_SSHOPTS</envar> environment variable.
550546 </para>
551−
552− <para>
553− Note that <command>nixos-rebuild</command> honors the
554− <literal>nixpkgs.crossSystem</literal> setting of the given configuration
555− but disregards the true architecture of the target host. Hence the
556− <literal>nixpkgs.crossSystem</literal> setting has to match the target
557− platform or else activation will fail.
558− </para>
559547 </listitem>
560548 </varlistentry>
561549
@@ -606,20 +594,6 @@
606594 </listitem>
607595 </varlistentry>
608596
609− <varlistentry>
610− <term>
611− <option>--no-flake</option>
612− </term>
613− <listitem>
614− <para>
615− Do not imply <option>--flake</option> if
616− <filename>/etc/nixos/flake.nix</filename> exists. With this
617− option, it is possible to build non-flake NixOS configurations
618− even if the current NixOS systems uses flakes.
619− </para>
620− </listitem>
621− </varlistentry>
622−
623597 </variablelist>
624598
625599 <para>
nixos/doc/manual/man-pages.xml+2−7
@@ -3,15 +3,10 @@
33 xmlns:xi="http://www.w3.org/2001/XInclude">
44 <title>NixOS Reference Pages</title>
55 <info>
6− <author>
7− <personname><firstname>Eelco</firstname><surname>Dolstra</surname></personname>
6+ <author><personname><firstname>Eelco</firstname><surname>Dolstra</surname></personname>
87 <contrib>Author</contrib>
98 </author>
10− <author>
11− <personname><othername>The Nixpkgs/NixOS contributors</othername></personname>
12− <contrib>Author</contrib>
13− </author>
14− <copyright><year>2007-2022</year><holder>Eelco Dolstra and the Nixpkgs/NixOS contributors</holder>
9+ <copyright><year>2007-2020</year><holder>Eelco Dolstra</holder>
1510 </copyright>
1611 </info>
1712 <xi:include href="man-configuration.xml" />
nixos/doc/manual/md-to-db.sh+1−1
@@ -1,5 +1,5 @@
11#! /usr/bin/env nix-shell
2−#! nix-shell -I nixpkgs=https://github.com/NixOS/nixpkgs/tarball/21.11 -i bash -p pandoc
2+#! nix-shell -I nixpkgs=channel:nixpkgs-unstable -i bash -p pandoc
33
44# This script is temporarily needed while we transition the manual to
55# CommonMark. It converts the .md files in the regular manual folder
nixos/doc/manual/release-notes/release-notes.xml−1
@@ -8,7 +8,6 @@
88 This section lists the release notes for each stable version of NixOS and
99 current unstable revision.
1010 </para>
11− <xi:include href="../from_md/release-notes/rl-2205.section.xml" />
1211 <xi:include href="../from_md/release-notes/rl-2111.section.xml" />
1312 <xi:include href="../from_md/release-notes/rl-2105.section.xml" />
1413 <xi:include href="../from_md/release-notes/rl-2009.section.xml" />
nixos/doc/manual/release-notes/rl-1803.section.md−2
@@ -282,5 +282,3 @@ When upgrading from a previous release, please be aware of the following incompa
282282- The NixOS test driver supports user services declared by `systemd.user.services`. The methods `waitForUnit`, `getUnitInfo`, `startJob` and `stopJob` provide an optional `$user` argument for that purpose.
283283
284284- Enabling bash completion on NixOS, `programs.bash.enableCompletion`, will now also enable completion for the Nix command line tools by installing the [nix-bash-completions](https://github.com/hedning/nix-bash-completions) package.
285−
286−- The vim/kakoune plugin updater now reads from a CSV file: check `pkgs/applications/editors/vim/plugins/vim-plugin-names` out to see the new format
nixos/doc/manual/release-notes/rl-2111.section.md+1−21
@@ -8,22 +8,7 @@ In addition to numerous new and upgraded packages, this release has the followin
88
99- Nix has been updated to version 2.4, reference its [release notes](https://discourse.nixos.org/t/nix-2-4-released/15822) for more information on what has changed. The previous version of Nix, 2.3.16, remains available for the time being in the `nix_2_3` package.
1010
11−- `iptables` is now using `nf_tables` under the hood, by using `iptables-nft`,
12− similar to [Debian](https://wiki.debian.org/nftables#Current_status) and
13− [Fedora](https://fedoraproject.org/wiki/Changes/iptables-nft-default).
14− This means, `ip[6]tables`, `arptables` and `ebtables` commands will actually
15− show rules from some specific tables in the `nf_tables` kernel subsystem.
16− In case you're migrating from an older release without rebooting, there might
17− be cases where you end up with iptable rules configured both in the legacy
18− `iptables` kernel backend, as well as in the `nf_tables` backend.
19− This can lead to confusing firewall behaviour. An `iptables-save` after
20− switching will complain about "iptables-legacy tables present".
21− It's probably best to reboot after the upgrade, or manually removing all
22− legacy iptables rules (via the `iptables-legacy` package).
23−
24−- systemd got an `nftables` backend, and configures (networkd) rules in their
25− own `io.systemd.*` tables. Check `nft list ruleset` to see these rules, not
26− `iptables-save` (which only shows `iptables`-created rules.
11+- `iptables` now uses `nf_tables` backend.
2712
2813- PHP now defaults to PHP 8.0, updated from 7.4.
2914
@@ -432,11 +417,6 @@ In addition to numerous new and upgraded packages, this release has the followin
432417
433418- `retroArchCores` has been removed. This means that using `nixpkgs.config.retroarch` to customize RetroArch cores is not supported anymore. Instead, use package overrides, for example: `retroarch.override { cores = with libretro; [ citra snes9x ]; };`. Also, `retroarchFull` derivation is available for those who want to have all RetroArch cores available.
434419
435−- The Linux kernel for security reasons now restricts access to BPF syscalls via `BPF_UNPRIV_DEFAULT_OFF=y`. Unprivileged access can be reenabled via the `kernel.unprivileged_bpf_disabled` sysctl knob.
436−
437−- `/usr` will always be included in the initial ramdisk. See the `fileSystems.<name>.neededForBoot` option.
438− If any files exist under `/usr` (which is not typical for NixOS), they will be included in the initial ramdisk, increasing its size to a possibly problematic extent.
439−
440420## Other Notable Changes {#sec-release-21.11-notable-changes}
441421
442422
nixos/doc/manual/release-notes/rl-2205.section.md+3−755
@@ -6,141 +6,37 @@ In addition to numerous new and upgraded packages, this release has the followin
66
77## Highlights {#sec-release-22.05-highlights}
88
9−- The `firefox` browser on `x86_64-linux` is now making use of
10− profile-guided optimization resulting in a much more responsive
11− browsing experience.
12−
139- `security.acme.defaults` has been added to simplify configuring
1410 settings for many certificates at once. This also opens up the
1511 the option to use DNS-01 validation when using `enableACME` on
1612 web server virtual hosts (e.g. `services.nginx.virtualHosts.*.enableACME`).
1713
18−- GNOME has been upgraded to 42. Please take a look at their [Release Notes](https://release.gnome.org/42/) for details. Notably, it replaces gedit with GNOME Text Editor, GNOME Terminal with GNOME Console (formerly King’s Cross), and GNOME Screenshot with a tool built into the Shell.
19−
20−- `stdenv.mkDerivation` now supports a self-referencing `finalAttrs:` parameter
21− containing the final `mkDerivation` arguments including overrides.
22− `drv.overrideAttrs` now supports two parameters `finalAttrs: previousAttrs:`.
23− This allows packaging configuration to be overridden in a consistent manner by
24− providing an alternative to `rec {}` syntax.
25−
26− Additionally, `passthru` can now reference `finalAttrs.finalPackage` containing
27− the final package, including attributes such as the output paths and
28− `overrideAttrs`.
29−
30− New language integrations can be simplified by overriding a "prototype"
31− package containing the language-specific logic. This removes the need for a
32− extra layer of overriding for the "generic builder" arguments, thus removing a
33− usability problem and source of error.
34−
3514- PHP 8.1 is now available
3615
37−- Mattermost has been updated to extended support release 6.3, as the previously packaged extended support release 5.37 is [reaching its end of life](https://docs.mattermost.com/upgrade/extended-support-release.html).
38− Migrations may take a while, see the [changelog](https://docs.mattermost.com/install/self-managed-changelog.html#release-v6-3-extended-support-release)
39− and [important upgrade notes](https://docs.mattermost.com/upgrade/important-upgrade-notes.html).
40−
41−- systemd services can now set [systemd.services.\<name\>.reloadTriggers](#opt-systemd.services) instead of `reloadIfChanged` for a more granular distinction between reloads and restarts.
42−
43−- Systemd has been upgraded to the version 250.
44−
45−- Pulseaudio has been upgraded to version 15.0 and now optionally [supports additional Bluetooth audio codecs](https://www.freedesktop.org/wiki/Software/PulseAudio/Notes/15.0/#supportforldacandaptxbluetoothcodecsplussbcxqsbcwithhigher-qualityparameters) like aptX or LDAC, with codec switching support being available in `pavucontrol`. This feature is disabled by default but can be enabled by using `hardware.pulseaudio.package = pkgs.pulseaudioFull;`.
46− Existing 3rd party modules that provided similar functionality, like `pulseaudio-modules-bt` or `pulseaudio-hsphfpd` are deprecated and have been removed.
47−
48−- The new [`postgresqlTestHook`](https://nixos.org/manual/nixpkgs/stable/#sec-postgresqlTestHook) runs a PostgreSQL server for the duration of package checks.
49−
50−- [`kops`](https://kops.sigs.k8s.io) defaults to 1.22.4, which will enable [Instance Metadata Service Version 2](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-instance-metadata-service.html) and require tokens on new clusters with Kubernetes 1.22. This will increase security by default, but may break some types of workloads. See the [release notes](https://kops.sigs.k8s.io/releases/1.22-notes/) for details.
51−
52−- Module authors can use `mkRenamedOptionModuleWith` to automate the deprecation cycle without annoying out-of-tree module authors and their users.
53−
54−- The default GHC version has been updated from 8.10.7 to 9.0.2. `pkgs.haskellPackages` and `pkgs.ghc` will now use this version by default.
55−
56−- The GNOME and Plasma installation CDs now use `pkgs.calamares` and `pkgs.calamares-nixos-extensions` to allow users to easily install and set up NixOS with a GUI.
16+- Mattermost has been updated to version 6.2. Migrations may take a while,
17+ see the [upgrade notes](https://docs.mattermost.com/install/self-managed-changelog.html#release-v6.2-feature-release).
5718
5819## New Services {#sec-release-22.05-new-services}
5920
6021- [aesmd](https://github.com/intel/linux-sgx#install-the-intelr-sgx-psw), the Intel SGX Architectural Enclave Service Manager. Available as [services.aesmd](#opt-services.aesmd.enable).
61−
6222- [rootless Docker](https://docs.docker.com/engine/security/rootless/), a `systemd --user` Docker service which runs without root permissions. Available as [virtualisation.docker.rootless.enable](options.html#opt-virtualisation.docker.rootless.enable).
6323
6424- [matrix-conduit](https://conduit.rs/), a simple, fast and reliable chat server powered by matrix. Available as [services.matrix-conduit](option.html#opt-services.matrix-conduit.enable).
6525
66−- [nethoscope](https://github.com/vvilhonen/nethoscope), listen to your network traffic. Available as [programs.nethoscope](#opt-programs.nethoscope.enable).
67−
6826- [filebeat](https://www.elastic.co/guide/en/beats/filebeat/current/filebeat-overview.html), a lightweight shipper for forwarding and centralizing log data. Available as [services.filebeat](#opt-services.filebeat.enable).
6927
70−- [apfs](https://github.com/linux-apfs/linux-apfs-rw), a kernel module for mounting the Apple File System (APFS).
71−
72−- [FRRouting](https://frrouting.org/), a popular suite of Internet routing protocol daemons (BGP, BFD, OSPF, IS-IS, VRRP and others). Available as [services.frr](#opt-services.frr.babel.enable)
73−
7428- [heisenbridge](https://github.com/hifi/heisenbridge), a bouncer-style Matrix IRC bridge. Available as [services.heisenbridge](options.html#opt-services.heisenbridge.enable).
7529
76−- [snowflake-proxy](https://snowflake.torproject.org/), a system to defeat internet censorship. Available as [services.snowflake-proxy](options.html#opt-services.snowflake-proxy.enable).
77−
78−- [ergochat](https://ergo.chat), a modern IRC with IRCv3 features. Available as [services.ergochat](options.html#opt-services.ergochat.enable).
79−
8030- [PowerDNS-Admin](https://github.com/ngoduykhanh/PowerDNS-Admin), a web interface for the PowerDNS server. Available at [services.powerdns-admin](options.html#opt-services.powerdns-admin.enable).
8131
82−- [pgadmin4](https://github.com/postgres/pgadmin4), an admin interface for the PostgreSQL database. Available at [services.pgadmin](options.html#opt-services.pgadmin.enable).
83−
84−- [input-remapper](https://github.com/sezanzeb/input-remapper), an easy to use tool to change the mapping of your input device buttons. Available at [services.input-remapper](options.html#opt-services.input-remapper.enable).
85−
86−- [InvoicePlane](https://invoiceplane.com), web application for managing and creating invoices. Available at [services.invoiceplane](options.html#opt-services.invoiceplane.enable).
87−
8832- [maddy](https://maddy.email), a composable all-in-one mail server. Available as [services.maddy](options.html#opt-services.maddy.enable).
8933
90−- [K40-Whisperer](https://www.scorchworks.com/K40whisperer/k40whisperer.html), a program to control cheap Chinese laser cutters. Available as [programs.k40-whisperer.enable](options.html#opt-programs.k4-whisperer.enable). Users must add themselves to the `k40` group to be able to access the device.
91−
92−- [mozillavpn](https://github.com/mozilla-mobile/mozilla-vpn-client), the client for the [Mozilla VPN](https://vpn.mozilla.org/) service. Available as [services.mozillavpn](options.html#opt-services.mozillavpn).
93−
94−- [mtr-exporter](https://github.com/mgumz/mtr-exporter), a Prometheus exporter for mtr metrics. Available as [services.mtr-exporter](options.html#opt-services.mtr-exporter.enable).
95−
96−- [prometheus-pve-exporter](https://github.com/prometheus-pve/prometheus-pve-exporter), a tool that exposes information from the Proxmox VE API for use by Prometheus. Available as [services.prometheus.exporters.pve](options.html#opt-services.prometheus.exporters.pve).
97−
98−- [netbox](https://github.com/netbox-community/netbox), infrastructure resource modeling (IRM) tool. Available as [services.netbox](options.html#opt-services.netbox.enable).
99−
10034- [tetrd](https://tetrd.app), share your internet connection from your device to your PC and vice versa through a USB cable. Available at [services.tetrd](#opt-services.tetrd.enable).
10135
102−- [agate](https://github.com/mbrubeck/agate), a very simple server for the Gemini hypertext protocol. Available as [services.agate](options.html#opt-services.agate.enable).
103−
104−- [ArchiSteamFarm](https://github.com/JustArchiNET/ArchiSteamFarm), a C# application with primary purpose of idling Steam cards from multiple accounts simultaneously. Available as [services.archisteamfarm](options.html#opt-services.archisteamfarm.enable).
105−
106−- [teleport](https://goteleport.com), allows engineers and security professionals to unify access for SSH servers, Kubernetes clusters, web applications, and databases across all environments. Available at [services.teleport](#opt-services.teleport.enable).
107−
108−- [BaGet](https://loic-sharma.github.io/BaGet/), a lightweight NuGet and symbol server. Available at [services.baget](#opt-services.baget.enable).
109−
110−- [moosefs](https://moosefs.com), fault tolerant petabyte distributed file system.
111− Available as [moosefs](#opt-services.moosefs.client.enable).
112−
113−- [prosody-filer](https://github.com/ThomasLeister/prosody-filer), a server for handling XMPP HTTP Upload requests. Available at [services.prosody-filer](#opt-services.prosody-filer.enable).
114−
115−- [systembus-notify](https://github.com/rfjakob/systembus-notify), allow system level notifications to reach the users. Available as [services.systembus-notify](opt-services.systembus-notify.enable). Please keep in mind that this service should only be enabled on machines with fully trusted users, as any local user is able to DoS user sessions by spamming notifications.
116−
117−- [ethercalc](https://github.com/audreyt/ethercalc), an online collaborative
118− spreadsheet. Available as [services.ethercalc](options.html#opt-services.ethercalc.enable).
119−
120−- [nbd](https://nbd.sourceforge.io/), a Network Block Device server. Available as [services.nbd](options.html#opt-services.nbd.server.enable).
121−
122−- [nix-ld](https://github.com/Mic92/nix-ld), Run unpatched dynamic binaries on NixOS. Available as [programs.nix-ld](options.html#opt-programs.nix-ld.enable).
123−
124−- [timetagger](https://timetagger.app), an open source time-tracker with an intuitive user experience and powerful reporting. [services.timetagger](options.html#opt-services.timetagger.enable).
125−
126−- [rstudio-server](https://www.rstudio.com/products/rstudio/#rstudio-server), a browser-based version of the RStudio IDE for the R programming language. Available as [services.rstudio-server](options.html#opt-services.rstudio-server.enable).
127−
128−- [headscale](https://github.com/juanfont/headscale), an Open Source implementation of the [Tailscale](https://tailscale.io) Control Server. Available as [services.headscale](options.html#opt-services.headscale.enable)
129−
130−- [create_ap](https://github.com/lakinduakash/linux-wifi-hotspot), a module for creating wifi hotspots using the program linux-wifi-hotspot. Available as [services.create_ap](options.html#opt-services.create_ap.enable).
131−
132−- [blocky](https://0xerr0r.github.io/blocky/), fast and lightweight DNS proxy as ad-blocker for local network with many features.
133−
134−- [pacemaker](https://clusterlabs.org/pacemaker/) cluster resource manager
135−
136−- [nifi](https://nifi.apache.org), an easy to use, powerful, and reliable system to process and distribute data. Available as [services.nifi](options.html#opt-services.nifi.enable).
137−
138−<!-- To avoid merge conflicts, consider adding your item at an arbitrary place in the list instead. -->
139−
14036## Backward Incompatibilities {#sec-release-22.05-incompatibilities}
14137
14238- `pkgs.ghc` now refers to `pkgs.targetPackages.haskellPackages.ghc`.
143− This _only_ makes a difference if you are cross-compiling and will
39+ This *only* makes a difference if you are cross-compiling and will
14440 ensure that `pkgs.ghc` always runs on the host platform and compiles
14541 for the target platform (similar to `pkgs.gcc` for example).
14642 `haskellPackages.ghc` still behaves as before, running on the build
@@ -151,304 +47,15 @@ In addition to numerous new and upgraded packages, this release has the followin
15147 instead to ensure cross compilation keeps working (or switch to
15248 `haskellPackages.callPackage`).
15349
154−- `pkgs.ghc.withPackages` as well as `haskellPackages.ghcWithPackages` etc.
155− now needs be overridden directly, as opposed to overriding the result of
156− calling it. Additionally, the `withLLVM` parameter has been renamed to
157− `useLLVM`. So instead of `(ghc.withPackages (p: [])).override { withLLVM = true; }`,
158− one needs to use `(ghc.withPackages.override { useLLVM = true; }) (p: [])`.
159−
160−- The `home-assistant` module now requires users that don't want their
161− configuration to be managed declaratively to set
162− `services.home-assistant.config = null;`. This is required
163− due to the way default settings are handled with the new settings style.
164−
165− Additionally the default list of `extraComponents` now includes the minimal
166− dependencies to successfully complete the [onboarding](https://www.home-assistant.io/getting-started/onboarding/)
167− procedure.
168−
16950- `pkgs.emacsPackages.orgPackages` is removed because org elpa is deprecated.
17051 The packages in the top level of `pkgs.emacsPackages`, such as org and
17152 org-contrib, refer to the ones in `pkgs.emacsPackages.elpaPackages` and
17253 `pkgs.emacsPackages.nongnuPackages` where the new versions will release.
17354
174−- The configuration and state directories used by `nixos-containers` have been
175− moved from `/etc/containers` and `/var/lib/containers` to
176− `/etc/nixos-containers` and `/var/lib/nixos-containers`.
177−
178− If you are changing `system.stateVersion` to `"22.05"` manually on an existing
179− system you are responsible for migrating these directories yourself.
180−
181− This is to improve compatibility with `libcontainer` based software such as Podman and Skopeo
182− which assumes they have ownership over `/etc/containers`.
183−
184−- For new installations `virtualisation.oci-containers.backend` is now set to `podman` by default.
185− If you still want to use Docker on systems where `system.stateVersion` is set to to `"22.05"` set `virtualisation.oci-containers.backend = "docker";`.Old systems with older `stateVersion`s stay with "docker".
186−
187−- `security.klogd` was removed. Logging of kernel messages is handled
188− by systemd since Linux 3.5.
189−
190−- `pkgs.ssmtp` has been dropped due to the program being unmaintained.
191− `pkgs.msmtp` can be used instead as a substitute `sendmail` implementation.
192− The corresponding options `services.ssmtp.*` have been removed as well.
193− `programs.msmtp.*` can be used instead for an equivalent setup. For example:
194−
195− ```nix
196− {
197− # Original ssmtp configuration:
198− services.ssmtp = {
199− enable = true;
200− useTLS = true;
201− useSTARTTLS = true;
202− hostName = "smtp.example:587";
203− authUser = "someone";
204− authPassFile = "/secrets/password.txt";
205− };
206−
207− # Equivalent msmtp configuration:
208− programs.msmtp = {
209− enable = true;
210− accounts.default = {
211− tls = true;
212− tls_starttls = true;
213− auth = true;
214− host = "smtp.example";
215− port = 587;
216− user = "someone";
217− passwordeval = "cat /secrets/password.txt";
218− };
219− };
220− }
221− ```
222−
22355- `services.kubernetes.addons.dashboard` was removed due to it being an outdated version.
22456
225−- `services.kubernetes.scheduler.{port,address}` now set `--secure-port` and `--bind-address` instead of `--port` and `--address`, since the former have been deprecated and are no longer functional in kubernetes>=1.23. Ensure that you are not relying on the insecure behaviour before upgrading.
226−
227−- In the PowerDNS Recursor module (`services.pdns-recursor`), default values of several IP address-related NixOS options have been updated to match the default upstream behavior.
228− In particular, Recursor by default will:
229− - listen on (and allows connections from) both IPv4 and IPv6 addresses
230− (`services.pdns-recursor.dns.address`, `services.pdns-recursor.dns.allowFrom`);
231− - allow only local connections to the REST API server (`services.pdns-recursor.api.allowFrom`).
232−
233−- In the ncdns module, the default value of `services.ncdns.address` has been changed to the IPv6 loopback address (`::1`).
234−
235−- `openssh` has been update to 8.9p1, changing the FIDO security key middleware interface.
236−
237−- `git` no longer hardcodes the path to openssh' ssh binary to reduce the amount of rebuilds. If you are using git with ssh remotes and do not have a ssh binary in your enviroment consider adding `openssh` to it or switching to `gitFull`.
238−
239−- `services.k3s.enable` no longer implies `systemd.enableUnifiedCgroupHierarchy = false`, and will default to the 'systemd' cgroup driver when using `services.k3s.docker = true`.
240− This change may require a reboot to take effect, and k3s may not be able to run if the boot cgroup hierarchy does not match its configuration.
241− The previous behavior may be retained by explicitly setting `systemd.enableUnifiedCgroupHierarchy = false` in your configuration.
242−
243−- `fonts.fonts` no longer includes ancient bitmap fonts when both `config.services.xserver.enable` and `config.nixpkgs.config.allowUnfree` are enabled.
244− If you still want these fonts, use:
245−
246− ```nix
247− {
248− fonts.fonts = [
249− pkgs.xorg.fontbhlucidatypewriter100dpi
250− pkgs.xorg.fontbhlucidatypewriter75dpi
251− pkgs.xorg.fontbh100dpi
252− ];
253− }
254− ```
255−
256−- `services.prometheus.alertManagerTimeout` has been removed as it has been deprecated upstream and has no effect.
257−
258−- The DHCP server (`services.dhcpd4`, `services.dhcpd6`) has been hardened.
259− The service is now using the systemd's `DynamicUser` mechanism to run as an unprivileged dynamically-allocated user with limited capabilities.
260− The dhcpd state files are now always stored in `/var/lib/dhcpd{4,6}` and the `services.dhcpd4.stateDir` and `service.dhcpd6.stateDir` options have been removed.
261− If you were depending on root privileges or set{uid,gid,cap} binaries in dhcpd shell hooks, you may give dhcpd more capabilities with e.g. `systemd.services.dhcpd6.serviceConfig.AmbientCapabilities`.
262−
263−- The `mailpile` email webclient (`services.mailpile`) has been removed due to its reliance on python2.
264−
265−- `services.ipfs.extraFlags` is now escaped with `utils.escapeSystemdExecArgs`. If you rely on systemd interpolating `extraFlags` in the service `ExecStart`, this will no longer work.
266−
267−- `hbase` version 0.98.24 has been removed. The package now defaults to version 2.4.11. Versions 1.7.1 and 3.0.0-alpha-2 are also available.
268−
269−- `services.paperless-ng` was renamed to `services.paperless`. Accordingly, the `paperless-ng-manage` script (located in `dataDir`) was renamed to `paperless-manage`. `services.paperless` now uses `paperless-ngx`.
270−
271−- The `matrix-synapse` service (`services.matrix-synapse`) has been converted to use the `settings` option defined in RFC42.
272− This means that options that are part of your `homeserver.yaml` configuration, and that were specified at the top-level of the
273− module (`services.matrix-synapse`) now need to be moved into `services.matrix-synapse.settings`. And while not all options you
274− may use are defined in there, they are still supported, because you can set arbitrary values in this freeform type.
275−
276− The `listeners.*.bind_address` option was renamed to `bind_addresses` in order to match the upstream `homeserver.yaml` option
277− name. It is now also a list of strings instead of a string.
278−
279− An example to make the required migration clearer:
280−
281− Before:
282− ```nix
283− {
284− services.matrix-synapse = {
285− enable = true;
286−
287− server_name = "example.com";
288− public_baseurl = "https://example.com:8448";
289−
290− enable_registration = false;
291− registration_shared_secret = "xohshaeyui8jic7uutuDogahkee3aehuaf6ei3Xouz4iicie5thie6nohNahceut";
292− macaroon_secret_key = "xoo8eder9seivukaiPh1cheikohquuw8Yooreid0The4aifahth3Ou0aiShaiz4l";
293−
294− tls_certificate_path = "/var/lib/acme/example.com/fullchain.pem";
295− tls_certificate_path = "/var/lib/acme/example.com/fullchain.pem";
296−
297− listeners = [ {
298− port = 8448;
299− bind_address = "";
300− type = "http";
301− tls = true;
302− resources = [ {
303− names = [ "client" ];
304− compress = true;
305− } {
306− names = [ "federation" ];
307− compress = false;
308− } ];
309− } ];
310−
311− };
312− }
313− ```
314−
315− After:
316− ```nix
317− {
318− services.matrix-synapse = {
319− enable = true;
320−
321− # this attribute set holds all values that go into your homeserver.yaml configuration
322− # See https://github.com/matrix-org/synapse/blob/develop/docs/sample_config.yaml for
323− # possible values.
324− settings = {
325− server_name = "example.com";
326− public_baseurl = "https://example.com:8448";
327−
328− enable_registration = false;
329− # pass `registration_shared_secret` and `macaroon_secret_key` via `extraConfigFiles` instead
330−
331− tls_certificate_path = "/var/lib/acme/example.com/fullchain.pem";
332− tls_certificate_path = "/var/lib/acme/example.com/fullchain.pem";
333−
334− listeners = [ {
335− port = 8448;
336− bind_addresses = [
337− "::"
338− "0.0.0.0"
339− ];
340− type = "http";
341− tls = true;
342− resources = [ {
343− names = [ "client" ];
344− compress = true;
345− } {
346− names = [ "federation" ];
347− compress = false;
348− } ];
349− } ];
350− };
351−
352− extraConfigFiles = [
353− /run/keys/matrix-synapse/secrets.yaml
354− ];
355− };
356− }
357− ```
358−
359− The secrets in your original config should be migrated into a YAML file that is included via `extraConfigFiles`.
360−
361− Additionally a few option defaults have been synced up with upstream default values, for example the `max_upload_size` grew from `10M` to `50M`. For the same reason, the default
362− `media_store_path` was changed from `${dataDir}/media` to `${dataDir}/media_store` if `system.stateVersion` is at least `22.05`. Files will need to be manually moved to the new
363− location if the `stateVersion` is updated.
364−
365− As of Synapse 1.58.0, the old groups/communities feature has been disabled by default. It will be completely removed with Synapse 1.61.0.
366−
367−- The Keycloak package (`pkgs.keycloak`) has been switched from the
368− Wildfly version, which will soon be deprecated, to the Quarkus based
369− version. The Keycloak service (`services.keycloak`) has been updated
370− to accommodate the change and now differs from the previous version
371− in a few ways:
372−
373− - `services.keycloak.extraConfig` has been removed in favor of the
374− new [settings-style](https://github.com/NixOS/rfcs/blob/master/rfcs/0042-config-option.md)
375− [`services.keycloak.settings`](#opt-services.keycloak.settings)
376− option. The available options correspond directly to parameters in
377− `conf/keycloak.conf`. Some of the most important parameters are
378− documented as suboptions, the rest can be found in the [All
379− configuration section of the Keycloak Server Installation and
380− Configuration
381− Guide](https://www.keycloak.org/server/all-config). While the new
382− configuration is much simpler and cleaner than the old JBoss CLI
383− one, this unfortunately mean that there's no straightforward way
384− to convert an old configuration to the new format and some
385− settings may not even be available anymore.
386−
387− - `services.keycloak.frontendUrl` was removed and the frontend URL
388− is now configured through the `hostname` family of settings in
389− [`services.keycloak.settings`](#opt-services.keycloak.settings)
390− instead. See the [Hostname section of the Keycloak Server
391− Installation and Configuration
392− Guide](https://www.keycloak.org/server/hostname) for more
393− details. Additionally, `/auth` was removed from the default
394− context path and needs to be added back in
395− [`services.keycloak.settings.http-relative-path`](#opt-services.keycloak.settings.http-relative-path)
396− if you want to keep compatibility with your current clients.
397−
398− - `services.keycloak.bindAddress`,
399− `services.keycloak.forceBackendUrlToFrontendUrl`,
400− `services.keycloak.httpPort` and `services.keycloak.httpsPort`
401− have been removed in favor of their equivalent options in
402− [`services.keycloak.settings`](#opt-services.keycloak.settings). `httpPort`
403− and `httpsPort` have additionally had their types changed from
404− `str` to `port`.
405−
406− The new names are as follows:
407− - `bindAddress`: [`services.keycloak.settings.http-host`](#opt-services.keycloak.settings.http-host)
408− - `forceBackendUrlToFrontendUrl`: [`services.keycloak.settings.hostname-strict-backchannel`](#opt-services.keycloak.settings.hostname-strict-backchannel)
409− - `httpPort`: [`services.keycloak.settings.http-port`](#opt-services.keycloak.settings.http-port)
410− - `httpsPort`: [`services.keycloak.settings.https-port`](#opt-services.keycloak.settings.https-port)
411−
412− For example, when using a reverse proxy the migration could look
413− like this:
414−
415− Before:
416− ```nix
417− services.keycloak = {
418− enable = true;
419− httpPort = "8080";
420− frontendUrl = "https://keycloak.example.com/auth";
421− database.passwordFile = "/run/keys/db_password";
422− extraConfig = {
423− "subsystem=undertow"."server=default-server"."http-listener=default".proxy-address-forwarding = true;
424− };
425− };
426− ```
427−
428− After:
429− ```nix
430− services.keycloak = {
431− enable = true;
432− settings = {
433− http-port = 8080;
434− hostname = "keycloak.example.com";
435− http-relative-path = "/auth";
436− proxy = "edge";
437− };
438− database.passwordFile = "/run/keys/db_password";
439− };
440− ```
441−
44257- The MoinMoin wiki engine (`services.moinmoin`) has been removed, because Python 2 is being retired from nixpkgs.
44358
444−- Services in the `hadoop` module previously set `openFirewall` to true by default.
445− This has now been changed to false. Node definitions for multi-node clusters would need
446− `openFirewall = true;` to be added to to hadoop services when upgrading from NixOS 21.11.
447−
448−- `services.hadoop.yarn.nodemanager` now uses cgroup-based CPU limit enforcement by default.
449− Additionally, the option `useCGroups` was added to nodemanagers as an easy way to switch
450− back to the old behavior.
451−
45259- The `wafHook` hook now honors `NIX_BUILD_CORES` when `enableParallelBuilding` is not set explicitly. Packages can restore the old behaviour by setting `enableParallelBuilding=false`.
45360
45461- `pkgs.claws-mail-gtk2`, representing Claws Mail's older release version three, was removed in order to get rid of Python 2.
@@ -457,33 +64,8 @@ In addition to numerous new and upgraded packages, this release has the followin
45764- The `writers.writePython2` and corresponding `writers.writePython2Bin` convenience functions to create executable Python 2 scripts in the store were removed in preparation of removal of the Python 2 interpreter.
45865 Scripts have to be converted to Python 3 for use with `writers.writePython3` or `writers.writePyPy2` needs to be used.
45966
460−- `buildGoModule` was updated to use `go_1_17`, third party derivations that specify >= go 1.17 in the main `go.mod` will need to regenerate their `vendorSha256` hash.
461−
462−- The `gnome-passwordsafe` package updated to [version 6.x](https://gitlab.gnome.org/World/secrets/-/tags/6.0) and renamed to `gnome-secrets`.
463−
464−- `services.gnome.experimental-features.realtime-scheduling` option has been removed, as GNOME Shell now [uses rtkit](https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2060). Use `security.rtkit.enable = true;` instead. As before, you will need to have it enabled using GSettings.
465−
466−- `services.telepathy` will no longer be enabled by default for GNOME desktops, one should enable it in their configs if using Empathy or Polari.
467−
46867- If you previously used `/etc/docker/daemon.json`, you need to incorporate the changes into the new option `virtualisation.docker.daemon.settings`.
46968
470−- Ntopng (`services.ntopng`) is updated to 5.2.1 and uses a separate Redis instance if `system.stateVersion` is at least `22.05`. Existing setups shouldn't be affected.
471−
472−- The backward compatibility in `services.wordpress` to configure sites with
473− the old interface has been removed. Please use `services.wordpress.sites`
474− instead.
475−
476−- The backward compatibility in `services.dokuwiki` to configure sites with the
477− old interface has been removed. Please use `services.dokuwiki.sites` instead.
478−
479−- opensmtpd-extras is no longer build with python2 scripting support due to python2 deprecation in nixpkgs
480−
481−- `services.miniflux.adminCredentialFiles` is now required, instead of defaulting to `admin` and `password`.
482−
483−- The `taskserver` module no longer implicitly opens ports in the firewall
484− configuration. This is now controlled through the option
485− `services.taskserver.openFirewall`.
486−
48769- The `autorestic` package has been upgraded from 1.3.0 to 1.5.0 which introduces breaking changes in config file, check [their migration guide](https://autorestic.vercel.app/migration/1.4_1.5) for more details.
48870
48971- For `pkgs.python3.pkgs.ipython`, its direct dependency `pkgs.python3.pkgs.matplotlib-inline`
@@ -495,159 +77,6 @@ In addition to numerous new and upgraded packages, this release has the followin
49577
49678- `documentation.man` has been refactored to support choosing a man implementation other than GNU's `man-db`. For this, `documentation.man.manualPages` has been renamed to `documentation.man.man-db.manualPages`. If you want to use the new alternative man implementation `mandoc`, add `documentation.man = { enable = true; man-db.enable = false; mandoc.enable = true; }` to your configuration.
49779
498−- Normal users (with `isNormalUser = true`) which have non-empty `subUidRanges` or `subGidRanges` set no longer have additional implicit ranges allocated. To enable automatic allocation back set `autoSubUidGidRange = true`.
499−
500−- `idris2` now requires `--package` when using packages `contrib` and `network`, while previously these idris2 packages were automatically loaded.
501−
502−- The iputils package, which is installed by default, no longer provides the
503− legacy tools `tftpd` and `traceroute6`. More tools (`ninfod`, `rarpd`, and
504− `rdisc`) are going to be removed in the next release. See
505− [upstream's release notes](https://github.com/iputils/iputils/releases/tag/20211215)
506− for more details and available replacements.
507−
508−- `services.thelounge.private` was removed in favor of `services.thelounge.public`, to follow with upstream changes.
509−
510−- `pkgs.docbookrx` was removed since it's unmaintained
511−
512−- `pkgs._7zz` is now correctly licensed as LGPL3+ and BSD3 with optional unfree unRAR licensed code
513−
514−- The `vim.customize` function produced by `vimUtils.makeCustomizable` now has a slightly different interface:
515− * The wrapper now includes everything in the given Vim derivation if `name` is `"vim"` (the default). This makes the `wrapManual` argument obsolete, but this behavior can be overriden by setting the `standalone` argument.
516− * All the executables present in the given derivation (or, in `standalone` mode, only the `*vim` ones) are wrapped. This makes the `wrapGui` argument obsolete.
517− * The `vimExecutableName` and `gvimExecutableName` arguments were replaced by a single `executableName` argument in which the shell variable `$exe` can be used to refer to the wrapped executable's name.
518−
519− See the comments in `pkgs/applications/editors/vim/plugins/vim-utils.nix` for more details.
520−
521− `vimUtils.vimWithRC` was removed. You should instead use `customize` on a Vim derivation, which now accepts `vimrcFile` and `gvimrcFile` arguments.
522−
523−- `tilp2` was removed together with its module
524−
525−- The F-PROT antivirus (`fprot` package) and its service module were removed because it
526− reached [end-of-life](https://kb.cyren.com/av-support/index.php?/Knowledgebase/Article/View/434/0/end-of-sale--end-of-life-for-f-prot-and-csam).
527−
528−- `bird1` and its modules `services.bird` as well as `services.bird6` have been removed. Upgrade to `services.bird2`.
529−
530−- The options `networking.interfaces.<name>.ipv4.routes` and `networking.interfaces.<name>.ipv6.routes` are no longer ignored when using networkd instead of the default scripted network backend by setting `networking.useNetworkd` to `true`.
531−
532−- The `miller` package has been upgraded from 5.10.3 to [6.2.0](https://github.com/johnkerl/miller/releases/tag/v6.2.0). See [What's new in Miller 6](https://miller.readthedocs.io/en/latest/new-in-miller-6).
533−
534−- MultiMC has been replaced with the fork PolyMC due to upstream developers being hostile to 3rd party package maintainers. PolyMC removes all MultiMC branding and is aimed at providing proper 3rd party packages like the one contained in Nixpkgs. This change affects the data folder where game instances and other save and configuration files are stored. Users with existing installations should rename `~/.local/share/multimc` to `~/.local/share/polymc`. The main config file's path has also moved from `~/.local/share/multimc/multimc.cfg` to `~/.local/share/polymc/polymc.cfg`.
535−
536−- `systemd-nspawn@.service` settings have been reverted to the default systemd behaviour. User namespaces are now activated by default. If you want to keep running nspawn containers without user namespaces you need to set `systemd.nspawn.<name>.execConfig.PrivateUsers = false`
537−
538−- `systemd-shutdown` is now properly linked on shutdown to unmount all filesystems and device mapper devices cleanly. This can be disabled using `systemd.shutdownRamfs.enable`.
539−
540−- The Tor SOCKS proxy is now actually disabled if `services.tor.client.enable` is set to `false` (the default). If you are using this functionality but didn't change the setting or set it to `false`, you now need to set it to `true`.
541−
542−- `services.github-runner` has been hardened. Notably address families and
543− system calls have been restricted, which may adversely affect some kinds of
544− testing, e.g. using `AF_BLUETOOTH` to test bluetooth devices.
545−
546−- The terraform 0.12 compatibility has been removed and the `terraform.withPlugins` and `terraform-providers.mkProvider` implementations simplified. Providers now need to be stored under
547−`$out/libexec/terraform-providers/<registry>/<owner>/<name>/<version>/<os>_<arch>/terraform-provider-<name>_v<version>` (which mkProvider does).
548−
549− This breaks back-compat so it's not possible to mix-and-match with previous versions of nixpkgs. In exchange, it now becomes possible to use the providers from [nixpkgs-terraform-providers-bin](https://github.com/numtide/nixpkgs-terraform-providers-bin) directly.
550−
551−- The `dendrite` package has been upgraded from 0.5.1 to
552− [0.6.5](https://github.com/matrix-org/dendrite/releases/tag/v0.6.5). Instances
553− configured with split sqlite databases, which has been the default
554− in NixOS, require merging of the federation sender and signing key
555− databases. See upstream [release
556− notes](https://github.com/matrix-org/dendrite/releases/tag/v0.6.0)
557− on version 0.6.0 for details on database changes.
558−
559−- The existing `pkgs.opentelemetry-collector` has been moved to
560− `pkgs.opentelemetry-collector-contrib` to match the actual source being the
561− "contrib" edition. `pkgs.opentelemetry-collector` is now the actual core
562− release of opentelemetry-collector. If you use the community contributions
563− you should change the package you refer to. If you don't need them update your
564− commands from `otelcontribcol` to `otelcorecol` and enjoy a 7x smaller binary.
565−
566−- `services.zookeeper` has a new option `jre` for specifying the JRE to start
567− zookeeper with. It defaults to the JRE that `pkgs.zookeeper` was wrapped with,
568− instead of `pkgs.jre`. This changes the JRE to `pkgs.jdk11_headless` by default.
569−
570−- `pkgs.pgadmin` now refers to `pkgs.pgadmin4`. `pgadmin3` has been removed.
571−
572−- `pkgs.noto-fonts-cjk` is now deprecated in favor of `pkgs.noto-fonts-cjk-sans`
573− and `pkgs.noto-fonts-cjk-serif` because they each have different release
574− schedules. To maintain compatibility with prior releases of Nixpkgs,
575− `pkgs.noto-fonts-cjk` is currently an alias of `pkgs.noto-fonts-cjk-sans` and
576− doesn't include serif fonts.
577−
578−- `pkgs.epgstation` has been upgraded from v1 to v2, resulting in incompatible
579− changes in the database scheme and configuration format.
580−
581−- Some top-level settings under [services.epgstation](#opt-services.epgstation.enable)
582− is now deprecated because it was redudant due to the same options being
583− present in [services.epgstation.settings](#opt-services.epgstation.settings).
584−
585−- The option `services.epgstation.basicAuth` was removed because basic
586− authentication support was dropped by upstream.
587−
588−- The option [services.epgstation.database.passwordFile](#opt-services.epgstation.database.passwordFile)
589− no longer has a default value. Make sure to set this option explicitly before
590− upgrading. Change the database password if necessary.
591−
592−- The [services.epgstation.settings](#opt-services.epgstation.settings)
593− option now expects options for `config.yml` in EPGStation v2.
594−
595−- Existing data for the [services.epgstation](#opt-services.epgstation.enable)
596− module would have to be backed up prior to the upgrade. To back up exising
597− data to `/tmp/epgstation.bak`, run
598− `sudo -u epgstation epgstation run backup /tmp/epgstation.bak`.
599− To import that data after to the upgrade, run
600− `sudo -u epgstation epgstation run v1migrate /tmp/epgstation.bak`
601−
602−- `switch-to-configuration` (the script that is run when running `nixos-rebuild switch` for example) has been reworked
603− * The interface that allows activation scripts to restart units has been streamlined. Restarting and reloading is now done by a single file `/run/nixos/activation-restart-list` that honors `restartIfChanged` and `reloadIfChanged` of the units.
604− * Preferring to reload instead of restarting can still be achieved using `/run/nixos/activation-reload-list`.
605− * The script now uses a proper ini-file parser to parse systemd units. Some values are now only searched in one section instead of in the entire unit. This is only relevant for units that don't use the NixOS systemd moule.
606− * `RefuseManualStop`, `X-OnlyManualStart`, `X-StopOnRemoval`, `X-StopOnReconfiguration` are only searched in the `[Unit]` section
607− * `X-ReloadIfChanged`, `X-RestartIfChanged`, `X-StopIfChanged` are only searched in the `[Service]` section
608−
609−- The `services.bookstack.cacheDir` option has been removed, since the
610− cache directory is now handled by systemd.
611−
612−- The `services.bookstack.extraConfig` option has been replaced by
613− `services.bookstack.config` which implements a
614− [settings-style](https://github.com/NixOS/rfcs/blob/master/rfcs/0042-config-option.md)
615− configuration.
616−
617−- `lib.assertMsg` and `lib.assertOneOf` no longer return `false` if the passed condition is `false`, `throw`ing the given error message instead (which makes the resulting error message less cluttered). This will not impact the behaviour of code using these functions as intended, namely as top-level wrapper for `assert` conditions.
618−
619−- The `vpnc` package has been changed to use GnuTLS instead of OpenSSL by default for licensing reasons.
620−
621−- `pkgs.vimPlugins.onedark-nvim` now refers to [navarasu/onedark.nvim](https://github.com/navarasu/onedark.nvim)
622− (formerly refers to [olimorris/onedarkpro.nvim](https://github.com/olimorris/onedarkpro.nvim)).
623−
624−- `services.pipewire.enable` will default to enabling the WirePlumber session manager instead of pipewire-media-session.
625− pipewire-media-session is deprecated by upstream and not recommended, but can still be manually enabled by setting
626− `services.pipewire.media-session.enable` to `true` and `services.pipewire.wireplumber.enable` to `false`.
627−
628−- `pkgs.makeDesktopItem` has been refactored to provide a more idiomatic API. Specifically:
629− - All valid options as of FDO Desktop Entry specification version 1.4 can now be passed in as explicit arguments
630− - `exec` can now be null, for entries that are not of type Application
631− - `mimeType` argument is renamed to `mimeTypes` for consistency
632− - `mimeTypes`, `categories`, `implements`, `keywords`, `onlyShowIn` and `notShowIn` take lists of strings instead of one string with semicolon separators
633− - `extraDesktopEntries` renamed to `extraConfig` for consistency
634− - Actions should now be provided as an attrset `actions`, the `Actions` line will be autogenerated.
635− - `extraEntries` is removed.
636− - Additional validation is added both at eval time and at build time.
637−
638− See the `vscode` package for a more detailed example.
639−
640−- Existing `resholve*` functions have been renamed and nested under `pkgs.resholve`. Update uses to:
641− - `resholvePackage` -> `resholve.mkDerivation`
642− - `resholveScript` -> `resholve.writeScript`
643− - `resholveScriptBin` -> `resholve.writeScriptBin`
644−
645−- `pkgs.cosmopolitan` no longer provides the `cosmoc` command. It has been moved to `pkgs.cosmoc`.
646−
647−- `pkgs.graalvmXX-ce` packages no longer provide support for Python/Ruby/WASM, instead focusing only in Java and Native Image Support. If you need to add support back, please see the `pkgs.graalvmCEPackages.mkGraal` function to create your own customized version of GraalVM with support for what you need.
648−
649−<!-- To avoid merge conflicts, consider adding your item at an arbitrary place in the list instead. -->
650−
65180## Other Notable Changes {#sec-release-22.05-notable-changes}
65281
65382- The option [services.redis.servers](#opt-services.redis.servers) was added
@@ -666,213 +95,32 @@ In addition to numerous new and upgraded packages, this release has the followin
66695 to the members of the Unix group `redis-${serverName}`
66796 through the Unix socket `/run/redis-${serverName}/redis.sock`.
66897
669−- The option [virtualisation.vmVariant](#opt-virtualisation.vmVariant) was added
670− to allow users to make changes to the `nixos-rebuild build-vm` configuration
671− that do not apply to their normal system.
672−
673− The `config.system.build.vm` attribute now always exists and defaults to the
674− value from `vmVariant`. Configurations that import the `virtualisation/qemu-vm.nix`
675− module themselves will override this value, such that `vmVariant` is not used.
676−
677− Similarly [virtualisation.vmVariantWithBootloader](#opt-virtualisation.vmVariantWithBootLoader) was added.
678−
679−- The configuration portion of the `nix-daemon` module has been reworked and exposed as [nix.settings](options.html#opt-nix-settings):
680− * Legacy options have been mapped to the corresponding options under under [nix.settings](options.html#opt-nix.settings) and will be deprecated when NixOS 21.11 reaches end of life.
681− * [nix.buildMachines.publicHostKey](options.html#opt-nix.buildMachines.publicHostKey) has been added.
682−
68398- The `writers.writePyPy2`/`writers.writePyPy3` and corresponding `writers.writePyPy2Bin`/`writers.writePyPy3Bin` convenience functions to create executable Python 2/3 scripts using the PyPy interpreter were added.
68499
685−- Some improvements have been made to the `hadoop` module:
686− - A `gatewayRole` option has been added, for deploying hadoop cluster configuration files to a node that does not have any active services
687− - Support for older versions of hadoop have been added to the module
688− - Overriding and extending site XML files has been made easier
689−
690−- The auto-upgrade service now accepts persistent (default: true) parameter.
691− By default auto-upgrade will now run immediately if it would have been triggered at least
692− once during the time when the timer was inactive.
693−
694−- If you are using Wayland you can choose to use the Ozone Wayland support
695− in Chrome and several Electron apps by setting the environment variable
696− `NIXOS_OZONE_WL=1` (for example via
697− `environment.sessionVariables.NIXOS_OZONE_WL = "1"`).
698− This is not enabled by default because Ozone Wayland is
699− still under heavy development and behavior is not always flawless.
700− Furthermore, not all Electron apps use the latest Electron versions.
701−
702−- A new option group `systemd.network.wait-online` was added, with options to configure `systemd-networkd-wait-online.service`:
703− - `anyInterface` allows specifying that the network should be considered online when *at least one* interface is online (useful on laptops)
704− - `timeout` defines how long to wait for the network to come online
705− - `extraArgs` for everything else
706−
707100- The `influxdb2` package was split into `influxdb2-server` and
708101 `influxdb2-cli`, matching the split that took place upstream. A
709102 combined `influxdb2` package is still provided in this release for
710103 backwards compatibilty, but will be removed at a later date.
711104
712−- The `unifi` package was switched from `unifi6` to `unifi7`.
713− Direct downgrades from Unifi 7 to Unifi 6 are not possible and require restoring from a backup made by Unifi 6.
714−
715−- `programs.zsh.autosuggestions.strategy` now takes a list of strings instead of a string.
716−
717−- The `asterisk` and `asterisk-stable` packages were switched from `asterisk_18` to the newly-packaged `asterisk_19`. Asterisk 13 and 17 have been removed as they have reached their end of life.
718−
719105- The `services.unifi.openPorts` option default value of `true` is now deprecated and will be changed to `false` in 22.11.
720106 Configurations using this default will print a warning when rebuilt.
721107
722−- The `services.unifi-video.openPorts` option default value of `true` is now deprecated and will be changed to `false` in 22.11.
723− Configurations using this default will print a warning when rebuilt.
724−
725108- `security.acme` certificates will now correctly check for CA
726109 revokation before reaching their minimum age.
727110
728111- Removing domains from `security.acme.certs._name_.extraDomainNames`
729112 will now correctly remove those domains during rebuild/renew.
730113
731−- MariaDB is now offered in several versions, not just the newest one.
732− So if you have a need for running MariaDB 10.4 for example, you can now just set `services.mysql.package = pkgs.mariadb_104;`.
733− In general, it is recommended to run the newest version, to get the newest features, while sticking with an LTS version will most likely provide a more stable experience.
734− Sometimes software is also incompatible with the newest version of MariaDB.
735−
736114- The option
737115 [programs.ssh.enableAskPassword](#opt-programs.ssh.enableAskPassword) was
738116 added, decoupling the setting of `SSH_ASKPASS` from
739117 `services.xserver.enable`. This allows easy usage in non-X11 environments,
740118 e.g. Wayland.
741119
742−- [programs.ssh.knownHosts](#opt-programs.ssh.knownHosts) has gained an `extraHostNames`
743− option to augment `hostNames`. It is now possible to use the attribute name of a `knownHosts`
744− entry as the primary host name and specify secondary host names using `extraHostNames` without
745− having to duplicate the primary host name.
746−
747120- The `services.stubby` module was converted to a [settings-style](https://github.com/NixOS/rfcs/blob/master/rfcs/0042-config-option.md) configuration.
748121
749−- The option
750− [services.xserver.desktopManager.runXdgAutostartIfNone](#opt-services.xserver.desktopManager.runXdgAutostartIfNone)
751− was added in order to automatically run XDG autostart files for sessions without a desktop manager.
752− This replaces helpers like the `dex` package.
753−
754−- When setting [i18n.inputMethod.enabled](#opt-i18n.inputMethod.enabled) to `fcitx5`,
755− it no longer creates corresponding systemd user services.
756− It now relies on XDG autostart files to start and work properly in your desktop sessions.
757− If you are using only a window manager without a desktop manager, you need to enable
758− `services.xserver.desktopManager.runXdgAutostartIfNone` or using the `dex` package to make `fcitx5` work.
759−
760−- A new module was added for the Envoy reverse proxy, providing the options `services.envoy.enable` and `services.envoy.settings`.
761−
762122- The option `services.duplicati.dataDir` has been added to allow changing the location of duplicati's files.
763123
764−- The options `boot.extraModprobeConfig` and `boot.blacklistedKernelModules` now also take effect in the initrd by copying the file `/etc/modprobe.d/nixos.conf` into the initrd.
765−
766−- `nixos-generate-config` now puts the dhcp configuration in `hardware-configuration.nix` instead of `configuration.nix`.
767−
768−- ORY Kratos was updated to version 0.9.0-alpha.3, which introduces some breaking changes:
769− - All endpoints at the Admin API are now exposed at `/admin/`. For example, endpoint `https://kratos:4434/identities` is now exposed at `https://kratos:4434/admin/identities`
770− - Configuration key `selfservice.whitelisted_return_urls` has been renamed to `allowed_return_urls`
771− - The `password_identifier` form field of the password login strategy has been renamed to `identifier` to make compatibility with passwordless flows possible.
772− - Instead of having a global `default_schema_url` which developers used to update their schema, you now need to define the `default_schema_id` which must reference schema ID in your config.
773− - Calling `/self-service/recovery` without flow ID or with an invalid flow ID while authenticated will now respond with an error instead of redirecting to the default page.
774− - If you are relying on the SQLite images, update your Docker Pull commands as follows:
775− - `docker pull oryd/kratos:{version}`
776− - Additionally, all passwords now have to be at least 8 characters long.
777− - For more details, see:
778− - [Release Notes for v0.8.1-alpha-1](https://github.com/ory/kratos/releases/tag/v0.8.1-alpha.1)
779− - [Release Notes for v0.8.2-alpha-1](https://github.com/ory/kratos/releases/tag/v0.8.2-alpha.1)
780− - [Release Notes for v0.9.0-alpha-1](https://github.com/ory/kratos/releases/tag/v0.9.0-alpha.1)
781− - [Release Notes for v0.9.0-alpha-3](https://github.com/ory/kratos/releases/tag/v0.9.0-alpha.3)
782−
783−
784124- `fetchFromSourcehut` now allows fetching repositories recursively
785125 using `fetchgit` or `fetchhg` if the argument `fetchSubmodules`
786126 is set to `true`.
787−
788−- A module for declarative configuration of openconnect VPN profiles was added under `networking.openconnect`.
789−
790−- The `element-desktop` package now has an `useKeytar` option (defaults to `true`),
791− which allows disabling `keytar` and in turn `libsecret` usage
792− (which binds to native credential managers / keychain libraries).
793−
794−- The option `services.thelounge.plugins` has been added to allow installing plugins for The Lounge. Plugins can be found in `pkgs.theLoungePlugins.plugins` and `pkgs.theLoungePlugins.themes`.
795−
796−- The option `services.xserver.videoDriver = [ "nvidia" ];` will now also install [nvidia VA-API drivers](https://github.com/elFarto/nvidia-vaapi-driver) by default.
797−
798−- The `firmwareLinuxNonfree` package has been renamed to `linux-firmware`.
799−
800−- It is now possible to specify wordlists to include as handy to access environment variables using the `config.environment.wordlist` configuration options.
801−
802−- The `services.mbpfan` module was converted to a [RFC 0042](https://github.com/NixOS/rfcs/blob/master/rfcs/0042-config-option.md) configuration.
803−
804−- The default value for `programs.spacefm.settings.graphical_su` got unset. It previously pointed to `gksu` which has been removed.
805−
806−- A new module was added for the [Starship](https://starship.rs/) shell prompt,
807− providing the options `programs.starship.enable` and `programs.starship.settings`.
808−
809−- The [Dino](https://dino.im) XMPP client was updated to 0.3, adding support for audio and video calls.
810−
811−- `services.mattermost.plugins` has been added to allow the declarative installation of Mattermost plugins.
812− Plugins are automatically repackaged using autoPatchelf.
813−
814−- [services.logrotate.enable](#opt-services.logrotate.enable) now defaults to true if any rotate path has
815− been defined, and some paths have been added by default.
816−- The logrotate module also has been updated to freeform syntax: [services.logrotate.paths](#opt-services.logrotate.paths)
817− and [services.logrotate.extraConfig](#opt-services.logrotate.extraConfig) will work, but issue deprecation
818− warnings and [services.logrotate.settings](#opt-services.logrotate.settings) should now be used instead.
819−
820−- `security.pam.ussh` has been added, which allows authorizing PAM sessions based on SSH _certificates_ held within an SSH agent, using [pam-ussh](https://github.com/uber/pam-ussh).
821−
822−- The `vscode-extensions.ionide.ionide-fsharp` package has been updated to 6.0.0 and now requires .NET 6.0.
823−
824−- The `zrepl` package has been updated from 0.4.0 to 0.5:
825−
826− - The RPC protocol version was bumped; all zrepl daemons in a setup must be updated and restarted before replication can resume.
827− - A bug involving encrypt-on-receive has been fixed. Read the [zrepl documentation](https://zrepl.github.io/configuration/sendrecvoptions.html#job-recv-options-placeholder) and check the output of `zfs get -r encryption,zrepl:placeholder PATH_TO_ROOTFS` on the receiver.
828−
829−- The `polybar` package has been updated from 3.5.7 to 3.6.2. See [the changelog](https://github.com/polybar/polybar/releases/tag/3.6.0) for more details.
830− - Breaking changes include changes to escaping rules in configuration values, changes in behavior when encountering invalid tag names, and changes to inter-process-messaging (IPC).
831−
832−- Renamed option `services.openssh.challengeResponseAuthentication` to `services.openssh.kbdInteractiveAuthentication`.
833− Reason is that the old name has been deprecated upstream.
834− Using the old option name will still work, but produce a warning.
835−
836−- `services.autorandr` now allows for adding hooks and profiles declaratively.
837−
838−- The `pomerium-cli` command has been moved out of the `pomerium` package into
839− the `pomerium-cli` package, following upstream's repository split. If you are
840− using the `pomerium-cli` command, you should now install the `pomerium-cli`
841− package.
842−
843−- The option
844− [services.networking.networkmanager.enableFccUnlock](#opt-networking.networkmanager.enableFccUnlock)
845− was added to support FCC unlock procedures. Since release 1.18.4, the ModemManager
846− daemon no longer automatically performs the FCC unlock procedure by default. See
847− [the docs](https://modemmanager.org/docs/modemmanager/fcc-unlock/) for more details.
848−
849−- `programs.tmux` has a new option `plugins` that accepts a list of packages from the `tmuxPlugins` group. The specified packages are added to the system and loaded by `tmux`.
850−
851−- The polkit service, available at `security.polkit.enable`, is now disabled by default. It will automatically be enabled through services and desktop environments as needed.
852−
853−- xfsprogs was update to version 5.15, which enables inobtcount and bigtime by default on filesystem creation. Support for these features was added in kernel 5.10 and deemed stable in kernel 5.15.
854− If you want to be able to mount XFS filesystems created with this release of xfsprogs on kernel releases older than 5.10, you need to format them with `mkfs.xfs -m bigtime=0 -m inobtcount=0`.
855−
856−- `services.xserver.desktopManager.xfce` now includes Xfce's screen locker, `xfce4-screensaver` that is enabled by default. You can disable it by setting `false` to [services.xserver.desktopManager.xfce.enableScreensaver](#opt-services.xserver.desktopManager.xfce.enableScreensaver).
857−
858−- The `hadoop` package has added support for `aarch64-linux` and `aarch64-darwin` as of 3.3.1 ([#158613](https://github.com/NixOS/nixpkgs/pull/158613)).
859−
860−- The `R` package now builds again on `aarch64-darwin` ([#158992](https://github.com/NixOS/nixpkgs/pull/158992)).
861−
862−- The `nss` package was split into `nss_esr` and `nss_latest`, with `nss` being an alias for `nss_esr`. This was done to ease maintenance of `nss` and dependent high-profile packages like `firefox`.
863−
864−- The Nextcloud module now supports to create a Mysql database automatically
865− with `services.nextcloud.database.createLocally` enabled.
866−
867−- The `spark3` package has been updated from 3.1.2 to 3.2.1 ([#160075](https://github.com/NixOS/nixpkgs/pull/160075)):
868−
869− - Testing has been enabled for `aarch64-linux` in addition to `x86_64-linux`.
870− - The `spark3` package is now usable on `aarch64-darwin` as a result of [#158613](https://github.com/NixOS/nixpkgs/pull/158613) and [#158992](https://github.com/NixOS/nixpkgs/pull/158992).
871−
872−- The `programs.nncp` options were added for generating host-global NNCP configuration.
873−
874−- The option `services.snapserver.openFirewall` will no longer default to
875− `true` starting with NixOS 22.11. Enable it explicitly if you need to control
876− Snapserver remotely or connect streamig clients from other hosts.
877−
878−<!-- To avoid merge conflicts, consider adding your item at an arbitrary place in the list instead. -->
nixos/lib/default.nixdeleted−33
@@ -1,33 +0,0 @@
1−let
2− # The warning is in a top-level let binding so it is only printed once.
3− minimalModulesWarning = warn "lib.nixos.evalModules is experimental and subject to change. See nixos/lib/default.nix" null;
4− inherit (nonExtendedLib) warn;
5− nonExtendedLib = import ../../lib;
6−in
7−{ # Optional. Allows an extended `lib` to be used instead of the regular Nixpkgs lib.
8− lib ? nonExtendedLib,
9−
10− # Feature flags allow you to opt in to unfinished code. These may change some
11− # behavior or disable warnings.
12− featureFlags ? {},
13−
14− # This file itself is rather new, so we accept unknown parameters to be forward
15− # compatible. This is generally not recommended, because typos go undetected.
16− ...
17−}:
18−let
19− seqIf = cond: if cond then builtins.seq else a: b: b;
20− # If cond, force `a` before returning any attr
21− seqAttrsIf = cond: a: lib.mapAttrs (_: v: seqIf cond a v);
22−
23− eval-config-minimal = import ./eval-config-minimal.nix { inherit lib; };
24−in
25−/*
26− This attribute set appears as lib.nixos in the flake, or can be imported
27− using a binding like `nixosLib = import (nixpkgs + "/nixos/lib") { }`.
28−*/
29−{
30− inherit (seqAttrsIf (!featureFlags?minimalModules) minimalModulesWarning eval-config-minimal)
31− evalModules
32− ;
33−}
nixos/lib/eval-config-minimal.nixdeleted−49
@@ -1,49 +0,0 @@
1−
2−# DO NOT IMPORT. Use nixpkgsFlake.lib.nixos, or import (nixpkgs + "/nixos/lib")
3−{ lib }: # read -^
4−
5−let
6−
7− /*
8− Invoke NixOS. Unlike traditional NixOS, this does not include all modules.
9− Any such modules have to be explicitly added via the `modules` parameter,
10− or imported using `imports` in a module.
11−
12− A minimal module list improves NixOS evaluation performance and allows
13− modules to be independently usable, supporting new use cases.
14−
15− Parameters:
16−
17− modules: A list of modules that constitute the configuration.
18−
19− specialArgs: An attribute set of module arguments. Unlike
20− `config._module.args`, these are available for use in
21− `imports`.
22− `config._module.args` should be preferred when possible.
23−
24− Return:
25−
26− An attribute set containing `config.system.build.toplevel` among other
27− attributes. See `lib.evalModules` in the Nixpkgs library.
28−
29− */
30− evalModules = {
31− prefix ? [],
32− modules ? [],
33− specialArgs ? {},
34− }:
35− # NOTE: Regular NixOS currently does use this function! Don't break it!
36− # Ideally we don't diverge, unless we learn that we should.
37− # In other words, only the public interface of nixos.evalModules
38− # is experimental.
39− lib.evalModules {
40− inherit prefix modules;
41− specialArgs = {
42− modulesPath = builtins.toString ../modules;
43− } // specialArgs;
44− };
45−
46−in
47−{
48− inherit evalModules;
49−}
nixos/lib/eval-config.nix+12−23
@@ -21,7 +21,6 @@ evalConfigArgs@
2121, # !!! See comment about args in lib/modules.nix
2222 specialArgs ? {}
2323, modules
24−, modulesLocation ? (builtins.unsafeGetAttrPos "modules" evalConfigArgs).file or null
2524, # !!! See comment about check in lib/modules.nix
2625 check ? true
2726, prefix ? []
@@ -34,12 +33,6 @@ let pkgs_ = pkgs;
3433in
3534
3635let
37− evalModulesMinimal = (import ./default.nix {
38− inherit lib;
39− # Implicit use of feature is noted in implementation.
40− featureFlags.minimalModules = { };
41− }).evalModules;
42−
4336 pkgsModule = rec {
4437 _file = ./eval-config.nix;
4538 key = _file;
@@ -75,22 +68,13 @@ let
7568 _module.check = lib.mkDefault check;
7669 };
7770 };
71+ allUserModules = modules ++ legacyModules;
7872
79− allUserModules =
80− let
81− # Add the invoking file (or specified modulesLocation) as error message location
82− # for modules that don't have their own locations; presumably inline modules.
83− locatedModules =
84− if modulesLocation == null then
85− modules
86− else
87− map (lib.setDefaultModuleLocation modulesLocation) modules;
88− in
89− locatedModules ++ legacyModules;
90−
91− noUserModules = evalModulesMinimal ({
92− inherit prefix specialArgs;
73+ noUserModules = lib.evalModules ({
74+ inherit prefix;
9375 modules = baseModules ++ extraModules ++ [ pkgsModule modulesModule ];
76+ specialArgs =
77+ { modulesPath = builtins.toString ../modules; } // specialArgs;
9478 });
9579
9680 # Extra arguments that are useful for constructing a similar configuration.
@@ -104,8 +88,13 @@ let
10488
10589 nixosWithUserModules = noUserModules.extendModules { modules = allUserModules; };
10690
107−in
108−withWarnings nixosWithUserModules // {
91+in withWarnings {
92+
93+ # Merge the option definitions in all modules, forming the full
94+ # system configuration.
95+ inherit (nixosWithUserModules) config options _module type;
96+
10997 inherit extraArgs;
98+
11099 inherit (nixosWithUserModules._module.args) pkgs;
111100}
nixos/lib/make-disk-image.nix−1
@@ -170,7 +170,6 @@ let format' = format; in let
170170 config.system.build.nixos-install
171171 config.system.build.nixos-enter
172172 nix
173− systemdMinimal
174173 ] ++ stdenv.initialPath);
175174
176175 # I'm preserving the line below because I'm going to search for it across nixpkgs to consolidate
nixos/lib/make-iso9660-image.sh−1
@@ -105,7 +105,6 @@ mkdir -p $out/iso
105105# version-5 UUID's work)
106106xorriso="xorriso
107107 -boot_image any gpt_disk_guid=$(uuid -v 5 daed2280-b91e-42c0-aed6-82c825ca41f3 $out | tr -d -)
108− -volume_date all_file_dates =$SOURCE_DATE_EPOCH
109108 -as mkisofs
110109 -iso-level 3
111110 -volid ${volumeID}
nixos/lib/make-options-doc/mergeJSON.py+2−11
@@ -48,9 +48,7 @@ overrides = pivot(json.load(open(sys.argv[2 + optOffset], 'r')))
4848
4949# fix up declaration paths in lazy options, since we don't eval them from a full nixpkgs dir
5050for (k, v) in options.items():
51− # The _module options are not declared in nixos/modules
52− if v.value['loc'][0] != "_module":
53− v.value['declarations'] = list(map(lambda s: f'nixos/modules/{s}', v.value['declarations']))
51+ v.value['declarations'] = list(map(lambda s: f'nixos/modules/{s}', v.value['declarations']))
5452
5553# merge both descriptions
5654for (k, v) in overrides.items():
@@ -68,21 +66,14 @@ for (k, v) in overrides.items():
6866 elif ov is not None or cur.get(ok, None) is None:
6967 cur[ok] = ov
7068
71−severity = "error" if warningsAreErrors else "warning"
72−
7369# check that every option has a description
7470hasWarnings = False
7571for (k, v) in options.items():
7672 if v.value.get('description', None) is None:
73+ severity = "error" if warningsAreErrors else "warning"
7774 hasWarnings = True
7875 print(f"\x1b[1;31m{severity}: option {v.name} has no description\x1b[0m", file=sys.stderr)
7976 v.value['description'] = "This option has no description."
80− if v.value.get('type', "unspecified") == "unspecified":
81− hasWarnings = True
82− print(
83− f"\x1b[1;31m{severity}: option {v.name} has no type. Please specify a valid type, see " +
84− "https://nixos.org/manual/nixos/stable/index.html#sec-option-types\x1b[0m", file=sys.stderr)
85−
8677if hasWarnings and warningsAreErrors:
8778 print(
8879 "\x1b[1;31m" +
nixos/lib/make-single-disk-zfs-image.nixdeleted−322
@@ -1,322 +0,0 @@
1−# Note: This is a private API, internal to NixOS. Its interface is subject
2−# to change without notice.
3−#
4−# The result of this builder is a single disk image, partitioned like this:
5−#
6−# * partition #1: a very small, 1MiB partition to leave room for Grub.
7−#
8−# * partition #2: boot, a partition formatted with FAT to be used for /boot.
9−# FAT is chosen to support EFI.
10−#
11−# * partition #3: nixos, a partition dedicated to a zpool.
12−#
13−# This single-disk approach does not satisfy ZFS's requirements for autoexpand,
14−# however automation can expand it anyway. For example, with
15−# `services.zfs.expandOnBoot`.
16−{ lib
17−, pkgs
18−, # The NixOS configuration to be installed onto the disk image.
19− config
20−
21−, # size of the FAT partition, in megabytes.
22− bootSize ? 1024
23−
24−, # The size of the root partition, in megabytes.
25− rootSize ? 2048
26−
27−, # The name of the ZFS pool
28− rootPoolName ? "tank"
29−
30−, # zpool properties
31− rootPoolProperties ? {
32− autoexpand = "on";
33− }
34−, # pool-wide filesystem properties
35− rootPoolFilesystemProperties ? {
36− acltype = "posixacl";
37− atime = "off";
38− compression = "on";
39− mountpoint = "legacy";
40− xattr = "sa";
41− }
42−
43−, # datasets, with per-attribute options:
44− # mount: (optional) mount point in the VM
45− # properties: (optional) ZFS properties on the dataset, like filesystemProperties
46− # Notes:
47− # 1. datasets will be created from shorter to longer names as a simple topo-sort
48− # 2. you should define a root's dataset's mount for `/`
49− datasets ? { }
50−
51−, # The files and directories to be placed in the target file system.
52− # This is a list of attribute sets {source, target} where `source'
53− # is the file system object (regular file or directory) to be
54− # grafted in the file system at path `target'.
55− contents ? [ ]
56−
57−, # The initial NixOS configuration file to be copied to
58− # /etc/nixos/configuration.nix. This configuration will be embedded
59− # inside a configuration which includes the described ZFS fileSystems.
60− configFile ? null
61−
62−, # Shell code executed after the VM has finished.
63− postVM ? ""
64−
65−, name ? "nixos-disk-image"
66−
67−, # Disk image format, one of qcow2, qcow2-compressed, vdi, vpc, raw.
68− format ? "raw"
69−
70−, # Include a copy of Nixpkgs in the disk image
71− includeChannel ? true
72−}:
73−let
74− formatOpt = if format == "qcow2-compressed" then "qcow2" else format;
75−
76− compress = lib.optionalString (format == "qcow2-compressed") "-c";
77−
78− filenameSuffix = "." + {
79− qcow2 = "qcow2";
80− vdi = "vdi";
81− vpc = "vhd";
82− raw = "img";
83− }.${formatOpt} or formatOpt;
84− rootFilename = "nixos.root${filenameSuffix}";
85−
86− # FIXME: merge with channel.nix / make-channel.nix.
87− channelSources =
88− let
89− nixpkgs = lib.cleanSource pkgs.path;
90− in
91− pkgs.runCommand "nixos-${config.system.nixos.version}" { } ''
92− mkdir -p $out
93− cp -prd ${nixpkgs.outPath} $out/nixos
94− chmod -R u+w $out/nixos
95− if [ ! -e $out/nixos/nixpkgs ]; then
96− ln -s . $out/nixos/nixpkgs
97− fi
98− rm -rf $out/nixos/.git
99− echo -n ${config.system.nixos.versionSuffix} > $out/nixos/.version-suffix
100− '';
101−
102− closureInfo = pkgs.closureInfo {
103− rootPaths = [ config.system.build.toplevel ]
104− ++ (lib.optional includeChannel channelSources);
105− };
106−
107− modulesTree = pkgs.aggregateModules
108− (with config.boot.kernelPackages; [ kernel zfs ]);
109−
110− tools = lib.makeBinPath (
111− with pkgs; [
112− config.system.build.nixos-enter
113− config.system.build.nixos-install
114− dosfstools
115− e2fsprogs
116− gptfdisk
117− nix
118− parted
119− utillinux
120− zfs
121− ]
122− );
123−
124− hasDefinedMount = disk: ((disk.mount or null) != null);
125−
126− stringifyProperties = prefix: properties: lib.concatStringsSep " \\\n" (
127− lib.mapAttrsToList
128− (
129− property: value: "${prefix} ${lib.escapeShellArg property}=${lib.escapeShellArg value}"
130− )
131− properties
132− );
133−
134− featuresToProperties = features:
135− lib.listToAttrs
136− (builtins.map
137− (feature: {
138− name = "feature@${feature}";
139− value = "enabled";
140− })
141− features);
142−
143− createDatasets =
144− let
145− datasetlist = lib.mapAttrsToList lib.nameValuePair datasets;
146− sorted = lib.sort (left: right: (lib.stringLength left.name) < (lib.stringLength right.name)) datasetlist;
147− cmd = { name, value }:
148− let
149− properties = stringifyProperties "-o" (value.properties or { });
150− in
151− "zfs create -p ${properties} ${name}";
152− in
153− lib.concatMapStringsSep "\n" cmd sorted;
154−
155− mountDatasets =
156− let
157− datasetlist = lib.mapAttrsToList lib.nameValuePair datasets;
158− mounts = lib.filter ({ value, ... }: hasDefinedMount value) datasetlist;
159− sorted = lib.sort (left: right: (lib.stringLength left.value.mount) < (lib.stringLength right.value.mount)) mounts;
160− cmd = { name, value }:
161− ''
162− mkdir -p /mnt${lib.escapeShellArg value.mount}
163− mount -t zfs ${name} /mnt${lib.escapeShellArg value.mount}
164− '';
165− in
166− lib.concatMapStringsSep "\n" cmd sorted;
167−
168− unmountDatasets =
169− let
170− datasetlist = lib.mapAttrsToList lib.nameValuePair datasets;
171− mounts = lib.filter ({ value, ... }: hasDefinedMount value) datasetlist;
172− sorted = lib.sort (left: right: (lib.stringLength left.value.mount) > (lib.stringLength right.value.mount)) mounts;
173− cmd = { name, value }:
174− ''
175− umount /mnt${lib.escapeShellArg value.mount}
176− '';
177− in
178− lib.concatMapStringsSep "\n" cmd sorted;
179−
180−
181− fileSystemsCfgFile =
182− let
183− mountable = lib.filterAttrs (_: value: hasDefinedMount value) datasets;
184− in
185− pkgs.runCommand "filesystem-config.nix"
186− {
187− buildInputs = with pkgs; [ jq nixpkgs-fmt ];
188− filesystems = builtins.toJSON {
189− fileSystems = lib.mapAttrs'
190− (
191− dataset: attrs:
192− {
193− name = attrs.mount;
194− value = {
195− fsType = "zfs";
196− device = "${dataset}";
197− };
198− }
199− )
200− mountable;
201− };
202− passAsFile = [ "filesystems" ];
203− } ''
204− (
205− echo "builtins.fromJSON '''"
206− jq . < "$filesystemsPath"
207− echo "'''"
208− ) > $out
209−
210− nixpkgs-fmt $out
211− '';
212−
213− mergedConfig =
214− if configFile == null
215− then fileSystemsCfgFile
216− else
217− pkgs.runCommand "configuration.nix"
218− {
219− buildInputs = with pkgs; [ nixpkgs-fmt ];
220− }
221− ''
222− (
223− echo '{ imports = ['
224− printf "(%s)\n" "$(cat ${fileSystemsCfgFile})";
225− printf "(%s)\n" "$(cat ${configFile})";
226− echo ']; }'
227− ) > $out
228−
229− nixpkgs-fmt $out
230− '';
231−
232− image = (
233− pkgs.vmTools.override {
234− rootModules =
235− [ "zfs" "9p" "9pnet_virtio" "virtio_pci" "virtio_blk" ] ++
236− (pkgs.lib.optional pkgs.stdenv.hostPlatform.isx86 "rtc_cmos");
237− kernel = modulesTree;
238− }
239− ).runInLinuxVM (
240− pkgs.runCommand name
241− {
242− memSize = 1024;
243− QEMU_OPTS = "-drive file=$rootDiskImage,if=virtio,cache=unsafe,werror=report";
244− preVM = ''
245− PATH=$PATH:${pkgs.qemu_kvm}/bin
246− mkdir $out
247−
248− rootDiskImage=root.raw
249− qemu-img create -f raw $rootDiskImage ${toString (bootSize + rootSize)}M
250− '';
251−
252− postVM = ''
253− ${if formatOpt == "raw" then ''
254− mv $rootDiskImage $out/${rootFilename}
255− '' else ''
256− ${pkgs.qemu}/bin/qemu-img convert -f raw -O ${formatOpt} ${compress} $rootDiskImage $out/${rootFilename}
257− ''}
258− rootDiskImage=$out/${rootFilename}
259− set -x
260− ${postVM}
261− '';
262− } ''
263− export PATH=${tools}:$PATH
264− set -x
265−
266− cp -sv /dev/vda /dev/sda
267− cp -sv /dev/vda /dev/xvda
268−
269− parted --script /dev/vda -- \
270− mklabel gpt \
271− mkpart no-fs 1MiB 2MiB \
272− set 1 bios_grub on \
273− align-check optimal 1 \
274− mkpart primary fat32 2MiB ${toString bootSize}MiB \
275− align-check optimal 2 \
276− mkpart primary fat32 ${toString bootSize}MiB -1MiB \
277− align-check optimal 3 \
278− print
279−
280− sfdisk --dump /dev/vda
281−
282−
283− zpool create \
284− ${stringifyProperties " -o" rootPoolProperties} \
285− ${stringifyProperties " -O" rootPoolFilesystemProperties} \
286− ${rootPoolName} /dev/vda3
287− parted --script /dev/vda -- print
288−
289− ${createDatasets}
290− ${mountDatasets}
291−
292− mkdir -p /mnt/boot
293− mkfs.vfat -n ESP /dev/vda2
294− mount /dev/vda2 /mnt/boot
295−
296− mount
297−
298− # Install a configuration.nix
299− mkdir -p /mnt/etc/nixos
300− # `cat` so it is mutable on the fs
301− cat ${mergedConfig} > /mnt/etc/nixos/configuration.nix
302−
303− export NIX_STATE_DIR=$TMPDIR/state
304− nix-store --load-db < ${closureInfo}/registration
305−
306− nixos-install \
307− --root /mnt \
308− --no-root-passwd \
309− --system ${config.system.build.toplevel} \
310− --substituters "" \
311− ${lib.optionalString includeChannel ''--channel ${channelSources}''}
312−
313− df -h
314−
315− umount /mnt/boot
316− ${unmountDatasets}
317−
318− zpool export ${rootPoolName}
319− ''
320− );
321−in
322−image
nixos/lib/make-multi-disk-zfs-image.nix → nixos/lib/make-zfs-image.nixrenamed

The content is the same.

nixos/lib/qemu-common.nix+4−4
@@ -17,14 +17,14 @@ rec {
1717 ''-netdev vde,id=vlan${toString nic},sock="$QEMU_VDE_SOCKET_${toString net}"''
1818 ];
1919
20− qemuSerialDevice = if pkgs.stdenv.hostPlatform.isx86 || pkgs.stdenv.hostPlatform.isRiscV then "ttyS0"
20+ qemuSerialDevice = if pkgs.stdenv.hostPlatform.isx86 then "ttyS0"
2121 else if (with pkgs.stdenv.hostPlatform; isAarch32 || isAarch64 || isPower) then "ttyAMA0"
2222 else throw "Unknown QEMU serial device for system '${pkgs.stdenv.hostPlatform.system}'";
2323
2424 qemuBinary = qemuPkg: {
25− x86_64-linux = "${qemuPkg}/bin/qemu-kvm -cpu max";
26− armv7l-linux = "${qemuPkg}/bin/qemu-system-arm -machine virt,accel=kvm:tcg -cpu max";
27− aarch64-linux = "${qemuPkg}/bin/qemu-system-aarch64 -machine virt,gic-version=max,accel=kvm:tcg -cpu max";
25+ x86_64-linux = "${qemuPkg}/bin/qemu-kvm -cpu qemu64";
26+ armv7l-linux = "${qemuPkg}/bin/qemu-system-arm -enable-kvm -machine virt -cpu host";
27+ aarch64-linux = "${qemuPkg}/bin/qemu-system-aarch64 -enable-kvm -machine virt,gic-version=host -cpu host";
2828 powerpc64le-linux = "${qemuPkg}/bin/qemu-system-ppc64 -machine powernv";
2929 powerpc64-linux = "${qemuPkg}/bin/qemu-system-ppc64 -machine powernv";
3030 x86_64-darwin = "${qemuPkg}/bin/qemu-kvm -cpu max";
nixos/lib/systemd-lib.nix+15−204
@@ -5,16 +5,12 @@ with lib;
55let
66 cfg = config.systemd;
77 lndir = "${pkgs.buildPackages.xorg.lndir}/bin/lndir";
8− systemd = cfg.package;
98in rec {
109
1110 shellEscape = s: (replaceChars [ "\\" ] [ "\\\\" ] s);
1211
1312 mkPathSafeName = lib.replaceChars ["@" ":" "\\" "[" "]"] ["-" "-" "-" "" ""];
1413
15− # a type for options that take a unit name
16− unitNameType = types.strMatching "[a-zA-Z0-9@%:_.\\-]+[.](service|socket|device|mount|automount|swap|target|path|timer|scope|slice)";
17−
1814 makeUnit = name: unit:
1915 if unit.enable then
2016 pkgs.runCommand "unit-${mkPathSafeName name}"
@@ -23,9 +19,8 @@ in rec {
2319 inherit (unit) text;
2420 }
2521 ''
26− name=${shellEscape name}
27− mkdir -p "$out/$(dirname "$name")"
28− echo -n "$text" > "$out/$name"
22+ mkdir -p $out
23+ echo -n "$text" > $out/${shellEscape name}
2924 ''
3025 else
3126 pkgs.runCommand "unit-${mkPathSafeName name}-disabled"
@@ -33,9 +28,8 @@ in rec {
3328 allowSubstitutes = false;
3429 }
3530 ''
36− name=${shellEscape name}
37− mkdir -p "$out/$(dirname "$name")"
38− ln -s /dev/null "$out/$name"
31+ mkdir -p $out
32+ ln -s /dev/null $out/${shellEscape name}
3933 '';
4034
4135 boolValues = [true false "yes" "no"];
@@ -122,15 +116,10 @@ in rec {
122116 (if isList value then value else [value]))
123117 as));
124118
125− generateUnits = { allowCollisions ? true, type, units, upstreamUnits, upstreamWants, packages ? cfg.packages, package ? cfg.package }:
126− let
127− typeDir = ({
128− system = "system";
129− initrd = "system";
130− user = "user";
131− nspawn = "nspawn";
132− }).${type};
133− in pkgs.runCommand "${type}-units"
119+ generateUnits = generateUnits' true;
120+
121+ generateUnits' = allowCollisions: type: units: upstreamUnits: upstreamWants:
122+ pkgs.runCommand "${type}-units"
134123 { preferLocalBuild = true;
135124 allowSubstitutes = false;
136125 } ''
@@ -138,7 +127,7 @@ in rec {
138127
139128 # Copy the upstream systemd units we're interested in.
140129 for i in ${toString upstreamUnits}; do
141− fn=${package}/example/systemd/${typeDir}/$i
130+ fn=${cfg.package}/example/systemd/${type}/$i
142131 if ! [ -e $fn ]; then echo "missing $fn"; false; fi
143132 if [ -L $fn ]; then
144133 target="$(readlink "$fn")"
@@ -155,7 +144,7 @@ in rec {
155144 # Copy .wants links, but only those that point to units that
156145 # we're interested in.
157146 for i in ${toString upstreamWants}; do
158− fn=${package}/example/systemd/${typeDir}/$i
147+ fn=${cfg.package}/example/systemd/${type}/$i
159148 if ! [ -e $fn ]; then echo "missing $fn"; false; fi
160149 x=$out/$(basename $fn)
161150 mkdir $x
@@ -167,14 +156,14 @@ in rec {
167156 done
168157
169158 # Symlink all units provided listed in systemd.packages.
170− packages="${toString packages}"
159+ packages="${toString cfg.packages}"
171160
172161 # Filter duplicate directories
173162 declare -A unique_packages
174163 for k in $packages ; do unique_packages[$k]=1 ; done
175164
176165 for i in ''${!unique_packages[@]}; do
177− for fn in $i/etc/systemd/${typeDir}/* $i/lib/systemd/${typeDir}/*; do
166+ for fn in $i/etc/systemd/${type}/* $i/lib/systemd/${type}/*; do
178167 if ! [[ "$fn" =~ .wants$ ]]; then
179168 if [[ -d "$fn" ]]; then
180169 targetDir="$out/$(basename "$fn")"
@@ -239,188 +228,10 @@ in rec {
239228 mkdir -p $out/getty.target.wants/
240229 ln -s ../autovt@tty1.service $out/getty.target.wants/
241230
242− ln -s ../remote-fs.target $out/multi-user.target.wants/
231+ ln -s ../local-fs.target ../remote-fs.target \
232+ ../nss-lookup.target ../nss-user-lookup.target ../swap.target \
233+ $out/multi-user.target.wants/
243234 ''}
244235 ''; # */
245236
246− makeJobScript = name: text:
247− let
248− scriptName = replaceChars [ "\\" "@" ] [ "-" "_" ] (shellEscape name);
249− out = (pkgs.writeShellScriptBin scriptName ''
250− set -e
251− ${text}
252− '').overrideAttrs (_: {
253− # The derivation name is different from the script file name
254− # to keep the script file name short to avoid cluttering logs.
255− name = "unit-script-${scriptName}";
256− });
257− in "${out}/bin/${scriptName}";
258−
259− unitConfig = { config, options, ... }: {
260− config = {
261− unitConfig =
262− optionalAttrs (config.requires != [])
263− { Requires = toString config.requires; }
264− // optionalAttrs (config.wants != [])
265− { Wants = toString config.wants; }
266− // optionalAttrs (config.after != [])
267− { After = toString config.after; }
268− // optionalAttrs (config.before != [])
269− { Before = toString config.before; }
270− // optionalAttrs (config.bindsTo != [])
271− { BindsTo = toString config.bindsTo; }
272− // optionalAttrs (config.partOf != [])
273− { PartOf = toString config.partOf; }
274− // optionalAttrs (config.conflicts != [])
275− { Conflicts = toString config.conflicts; }
276− // optionalAttrs (config.requisite != [])
277− { Requisite = toString config.requisite; }
278− // optionalAttrs (config ? restartTriggers && config.restartTriggers != [])
279− { X-Restart-Triggers = toString config.restartTriggers; }
280− // optionalAttrs (config ? reloadTriggers && config.reloadTriggers != [])
281− { X-Reload-Triggers = toString config.reloadTriggers; }
282− // optionalAttrs (config.description != "") {
283− Description = config.description; }
284− // optionalAttrs (config.documentation != []) {
285− Documentation = toString config.documentation; }
286− // optionalAttrs (config.onFailure != []) {
287− OnFailure = toString config.onFailure; }
288− // optionalAttrs (options.startLimitIntervalSec.isDefined) {
289− StartLimitIntervalSec = toString config.startLimitIntervalSec;
290− } // optionalAttrs (options.startLimitBurst.isDefined) {
291− StartLimitBurst = toString config.startLimitBurst;
292− };
293− };
294− };
295−
296− serviceConfig = { config, ... }: {
297− config.environment.PATH = mkIf (config.path != []) "${makeBinPath config.path}:${makeSearchPathOutput "bin" "sbin" config.path}";
298− };
299−
300− stage2ServiceConfig = {
301− imports = [ serviceConfig ];
302− # Default path for systemd services. Should be quite minimal.
303− config.path = mkAfter [
304− pkgs.coreutils
305− pkgs.findutils
306− pkgs.gnugrep
307− pkgs.gnused
308− systemd
309− ];
310− };
311−
312− stage1ServiceConfig = serviceConfig;
313−
314− mountConfig = { config, ... }: {
315− config = {
316− mountConfig =
317− { What = config.what;
318− Where = config.where;
319− } // optionalAttrs (config.type != "") {
320− Type = config.type;
321− } // optionalAttrs (config.options != "") {
322− Options = config.options;
323− };
324− };
325− };
326−
327− automountConfig = { config, ... }: {
328− config = {
329− automountConfig =
330− { Where = config.where;
331− };
332− };
333− };
334−
335− commonUnitText = def: ''
336− [Unit]
337− ${attrsToSection def.unitConfig}
338− '';
339−
340− targetToUnit = name: def:
341− { inherit (def) aliases wantedBy requiredBy enable;
342− text =
343− ''
344− [Unit]
345− ${attrsToSection def.unitConfig}
346− '';
347− };
348−
349− serviceToUnit = name: def:
350− { inherit (def) aliases wantedBy requiredBy enable;
351− text = commonUnitText def +
352− ''
353− [Service]
354− ${let env = cfg.globalEnvironment // def.environment;
355− in concatMapStrings (n:
356− let s = optionalString (env.${n} != null)
357− "Environment=${builtins.toJSON "${n}=${env.${n}}"}\n";
358− # systemd max line length is now 1MiB
359− # https://github.com/systemd/systemd/commit/e6dde451a51dc5aaa7f4d98d39b8fe735f73d2af
360− in if stringLength s >= 1048576 then throw "The value of the environment variable ‘${n}’ in systemd service ‘${name}.service’ is too long." else s) (attrNames env)}
361− ${if def ? reloadIfChanged && def.reloadIfChanged then ''
362− X-ReloadIfChanged=true
363− '' else if (def ? restartIfChanged && !def.restartIfChanged) then ''
364− X-RestartIfChanged=false
365− '' else ""}
366− ${optionalString (def ? stopIfChanged && !def.stopIfChanged) "X-StopIfChanged=false"}
367− ${attrsToSection def.serviceConfig}
368− '';
369− };
370−
371− socketToUnit = name: def:
372− { inherit (def) aliases wantedBy requiredBy enable;
373− text = commonUnitText def +
374− ''
375− [Socket]
376− ${attrsToSection def.socketConfig}
377− ${concatStringsSep "\n" (map (s: "ListenStream=${s}") def.listenStreams)}
378− ${concatStringsSep "\n" (map (s: "ListenDatagram=${s}") def.listenDatagrams)}
379− '';
380− };
381−
382− timerToUnit = name: def:
383− { inherit (def) aliases wantedBy requiredBy enable;
384− text = commonUnitText def +
385− ''
386− [Timer]
387− ${attrsToSection def.timerConfig}
388− '';
389− };
390−
391− pathToUnit = name: def:
392− { inherit (def) aliases wantedBy requiredBy enable;
393− text = commonUnitText def +
394− ''
395− [Path]
396− ${attrsToSection def.pathConfig}
397− '';
398− };
399−
400− mountToUnit = name: def:
401− { inherit (def) aliases wantedBy requiredBy enable;
402− text = commonUnitText def +
403− ''
404− [Mount]
405− ${attrsToSection def.mountConfig}
406− '';
407− };
408−
409− automountToUnit = name: def:
410− { inherit (def) aliases wantedBy requiredBy enable;
411− text = commonUnitText def +
412− ''
413− [Automount]
414− ${attrsToSection def.automountConfig}
415− '';
416− };
417−
418− sliceToUnit = name: def:
419− { inherit (def) aliases wantedBy requiredBy enable;
420− text = commonUnitText def +
421− ''
422− [Slice]
423− ${attrsToSection def.sliceConfig}
424− '';
425− };
426237}
nixos/lib/systemd-types.nixdeleted−69
@@ -1,69 +0,0 @@
1−{ lib, systemdUtils, pkgs }:
2−
3−with systemdUtils.lib;
4−with systemdUtils.unitOptions;
5−with lib;
6−
7−rec {
8− units = with types;
9− attrsOf (submodule ({ name, config, ... }: {
10− options = concreteUnitOptions;
11− config = { unit = mkDefault (systemdUtils.lib.makeUnit name config); };
12− }));
13−
14− services = with types; attrsOf (submodule [ stage2ServiceOptions unitConfig stage2ServiceConfig ]);
15− initrdServices = with types; attrsOf (submodule [ stage1ServiceOptions unitConfig stage1ServiceConfig ]);
16−
17− targets = with types; attrsOf (submodule [ stage2CommonUnitOptions unitConfig ]);
18− initrdTargets = with types; attrsOf (submodule [ stage1CommonUnitOptions unitConfig ]);
19−
20− sockets = with types; attrsOf (submodule [ stage2SocketOptions unitConfig ]);
21− initrdSockets = with types; attrsOf (submodule [ stage1SocketOptions unitConfig ]);
22−
23− timers = with types; attrsOf (submodule [ stage2TimerOptions unitConfig ]);
24− initrdTimers = with types; attrsOf (submodule [ stage1TimerOptions unitConfig ]);
25−
26− paths = with types; attrsOf (submodule [ stage2PathOptions unitConfig ]);
27− initrdPaths = with types; attrsOf (submodule [ stage1PathOptions unitConfig ]);
28−
29− slices = with types; attrsOf (submodule [ stage2SliceOptions unitConfig ]);
30− initrdSlices = with types; attrsOf (submodule [ stage1SliceOptions unitConfig ]);
31−
32− mounts = with types; listOf (submodule [ stage2MountOptions unitConfig mountConfig ]);
33− initrdMounts = with types; listOf (submodule [ stage1MountOptions unitConfig mountConfig ]);
34−
35− automounts = with types; listOf (submodule [ stage2AutomountOptions unitConfig automountConfig ]);
36− initrdAutomounts = with types; attrsOf (submodule [ stage1AutomountOptions unitConfig automountConfig ]);
37−
38− initrdContents = types.attrsOf (types.submodule ({ config, options, name, ... }: {
39− options = {
40− enable = mkEnableOption "copying of this file and symlinking it" // { default = true; };
41−
42− target = mkOption {
43− type = types.path;
44− description = ''
45− Path of the symlink.
46− '';
47− default = name;
48− };
49−
50− text = mkOption {
51− default = null;
52− type = types.nullOr types.lines;
53− description = "Text of the file.";
54− };
55−
56− source = mkOption {
57− type = types.path;
58− description = "Path of the source file.";
59− };
60− };
61−
62− config = {
63− source = mkIf (config.text != null) (
64− let name' = "initrd-" + baseNameOf name;
65− in mkDerivedConfig options.text (pkgs.writeText name')
66− );
67− };
68− }));
69−}
nixos/lib/systemd-unit-options.nix+388−563
@@ -45,7 +45,7 @@ in rec {
4545
4646 requiredBy = mkOption {
4747 default = [];
48− type = types.listOf unitNameType;
48+ type = types.listOf types.str;
4949 description = ''
5050 Units that require (i.e. depend on and need to go down with)
5151 this unit. The discussion under <literal>wantedBy</literal>
@@ -56,7 +56,7 @@ in rec {
5656
5757 wantedBy = mkOption {
5858 default = [];
59− type = types.listOf unitNameType;
59+ type = types.listOf types.str;
6060 description = ''
6161 Units that want (i.e. depend on) this unit. The standard way
6262 to make a unit start by default at boot is to set this option
@@ -73,7 +73,7 @@ in rec {
7373
7474 aliases = mkOption {
7575 default = [];
76− type = types.listOf unitNameType;
76+ type = types.listOf types.str;
7777 description = "Aliases of that unit.";
7878 };
7979
@@ -94,618 +94,443 @@ in rec {
9494
9595 };
9696
97− commonUnitOptions = {
98− options = sharedOptions // {
99−
100− description = mkOption {
101− default = "";
102− type = types.singleLineStr;
103− description = "Description of this unit used in systemd messages and progress indicators.";
104− };
105−
106− documentation = mkOption {
107− default = [];
108− type = types.listOf types.str;
109− description = "A list of URIs referencing documentation for this unit or its configuration.";
110− };
111−
112− requires = mkOption {
113− default = [];
114− type = types.listOf unitNameType;
115− description = ''
116− Start the specified units when this unit is started, and stop
117− this unit when the specified units are stopped or fail.
118− '';
119− };
120−
121− wants = mkOption {
122− default = [];
123− type = types.listOf unitNameType;
124− description = ''
125− Start the specified units when this unit is started.
126− '';
127− };
128−
129− after = mkOption {
130− default = [];
131− type = types.listOf unitNameType;
132− description = ''
133− If the specified units are started at the same time as
134− this unit, delay this unit until they have started.
135− '';
136− };
137−
138− before = mkOption {
139− default = [];
140− type = types.listOf unitNameType;
141− description = ''
142− If the specified units are started at the same time as
143− this unit, delay them until this unit has started.
144− '';
145− };
146−
147− bindsTo = mkOption {
148− default = [];
149− type = types.listOf unitNameType;
150− description = ''
151− Like ‘requires’, but in addition, if the specified units
152− unexpectedly disappear, this unit will be stopped as well.
153− '';
154− };
155−
156− partOf = mkOption {
157− default = [];
158− type = types.listOf unitNameType;
159− description = ''
160− If the specified units are stopped or restarted, then this
161− unit is stopped or restarted as well.
162− '';
163− };
164−
165− conflicts = mkOption {
166− default = [];
167− type = types.listOf unitNameType;
168− description = ''
169− If the specified units are started, then this unit is stopped
170− and vice versa.
171− '';
172− };
173−
174− requisite = mkOption {
175− default = [];
176− type = types.listOf unitNameType;
177− description = ''
178− Similar to requires. However if the units listed are not started,
179− they will not be started and the transaction will fail.
180− '';
181− };
182−
183− unitConfig = mkOption {
184− default = {};
185− example = { RequiresMountsFor = "/data"; };
186− type = types.attrsOf unitOption;
187− description = ''
188− Each attribute in this set specifies an option in the
189− <literal>[Unit]</literal> section of the unit. See
190− <citerefentry><refentrytitle>systemd.unit</refentrytitle>
191− <manvolnum>5</manvolnum></citerefentry> for details.
192− '';
193− };
194−
195− onFailure = mkOption {
196− default = [];
197− type = types.listOf unitNameType;
198− description = ''
199− A list of one or more units that are activated when
200− this unit enters the "failed" state.
201− '';
202− };
203−
204− startLimitBurst = mkOption {
205− type = types.int;
206− description = ''
207− Configure unit start rate limiting. Units which are started
208− more than startLimitBurst times within an interval time
209− interval are not permitted to start any more.
210− '';
211− };
212−
213− startLimitIntervalSec = mkOption {
214− type = types.int;
215− description = ''
216− Configure unit start rate limiting. Units which are started
217− more than startLimitBurst times within an interval time
218− interval are not permitted to start any more.
219− '';
220− };
97+ commonUnitOptions = sharedOptions // {
22198
99+ description = mkOption {
100+ default = "";
101+ type = types.str;
102+ description = "Description of this unit used in systemd messages and progress indicators.";
222103 };
223− };
224104
225− stage2CommonUnitOptions = {
226− imports = [
227− commonUnitOptions
228− ];
229−
230− options = {
231− restartTriggers = mkOption {
232− default = [];
233− type = types.listOf types.unspecified;
234− description = ''
235− An arbitrary list of items such as derivations. If any item
236− in the list changes between reconfigurations, the service will
237− be restarted.
238− '';
239− };
240−
241− reloadTriggers = mkOption {
242− default = [];
243− type = types.listOf unitOption;
244− description = ''
245− An arbitrary list of items such as derivations. If any item
246− in the list changes between reconfigurations, the service will
247− be reloaded. If anything but a reload trigger changes in the
248− unit file, the unit will be restarted instead.
249− '';
250− };
105+ documentation = mkOption {
106+ default = [];
107+ type = types.listOf types.str;
108+ description = "A list of URIs referencing documentation for this unit or its configuration.";
251109 };
252− };
253− stage1CommonUnitOptions = commonUnitOptions;
254−
255− serviceOptions = { name, config, ... }: {
256− options = {
257−
258− environment = mkOption {
259− default = {};
260− type = with types; attrsOf (nullOr (oneOf [ str path package ]));
261− example = { PATH = "/foo/bar/bin"; LANG = "nl_NL.UTF-8"; };
262− description = "Environment variables passed to the service's processes.";
263− };
264−
265− path = mkOption {
266− default = [];
267− type = with types; listOf (oneOf [ package str ]);
268− description = ''
269− Packages added to the service's <envar>PATH</envar>
270− environment variable. Both the <filename>bin</filename>
271− and <filename>sbin</filename> subdirectories of each
272− package are added.
273− '';
274− };
275−
276− serviceConfig = mkOption {
277− default = {};
278− example =
279− { RestartSec = 5;
280− };
281− type = types.addCheck (types.attrsOf unitOption) checkService;
282− description = ''
283− Each attribute in this set specifies an option in the
284− <literal>[Service]</literal> section of the unit. See
285− <citerefentry><refentrytitle>systemd.service</refentrytitle>
286− <manvolnum>5</manvolnum></citerefentry> for details.
287− '';
288− };
289−
290− script = mkOption {
291− type = types.lines;
292− default = "";
293− description = "Shell commands executed as the service's main process.";
294− };
295−
296− scriptArgs = mkOption {
297− type = types.str;
298− default = "";
299− description = "Arguments passed to the main process script.";
300− };
301−
302− preStart = mkOption {
303− type = types.lines;
304− default = "";
305− description = ''
306− Shell commands executed before the service's main process
307− is started.
308− '';
309− };
310−
311− postStart = mkOption {
312− type = types.lines;
313− default = "";
314− description = ''
315− Shell commands executed after the service's main process
316− is started.
317− '';
318− };
319−
320− reload = mkOption {
321− type = types.lines;
322− default = "";
323− description = ''
324− Shell commands executed when the service's main process
325− is reloaded.
326− '';
327− };
328−
329− preStop = mkOption {
330− type = types.lines;
331− default = "";
332− description = ''
333− Shell commands executed to stop the service.
334− '';
335− };
336−
337− postStop = mkOption {
338− type = types.lines;
339− default = "";
340− description = ''
341− Shell commands executed after the service's main process
342− has exited.
343− '';
344− };
345−
346− jobScripts = mkOption {
347− type = with types; coercedTo path singleton (listOf path);
348− internal = true;
349− description = "A list of all job script derivations of this unit.";
350− default = [];
351− };
352−
353− };
354−
355− config = mkMerge [
356− (mkIf (config.preStart != "") rec {
357− jobScripts = makeJobScript "${name}-pre-start" config.preStart;
358− serviceConfig.ExecStartPre = [ jobScripts ];
359− })
360− (mkIf (config.script != "") rec {
361− jobScripts = makeJobScript "${name}-start" config.script;
362− serviceConfig.ExecStart = jobScripts + " " + config.scriptArgs;
363− })
364− (mkIf (config.postStart != "") rec {
365− jobScripts = (makeJobScript "${name}-post-start" config.postStart);
366− serviceConfig.ExecStartPost = [ jobScripts ];
367− })
368− (mkIf (config.reload != "") rec {
369− jobScripts = makeJobScript "${name}-reload" config.reload;
370− serviceConfig.ExecReload = jobScripts;
371− })
372− (mkIf (config.preStop != "") rec {
373− jobScripts = makeJobScript "${name}-pre-stop" config.preStop;
374− serviceConfig.ExecStop = jobScripts;
375− })
376− (mkIf (config.postStop != "") rec {
377− jobScripts = makeJobScript "${name}-post-stop" config.postStop;
378− serviceConfig.ExecStopPost = jobScripts;
379− })
380− ];
381110
382− };
111+ requires = mkOption {
112+ default = [];
113+ type = types.listOf types.str;
114+ description = ''
115+ Start the specified units when this unit is started, and stop
116+ this unit when the specified units are stopped or fail.
117+ '';
118+ };
383119
384− stage2ServiceOptions = {
385− imports = [
386− stage2CommonUnitOptions
387− serviceOptions
388− ];
389−
390− options = {
391− restartIfChanged = mkOption {
392− type = types.bool;
393− default = true;
394− description = ''
395− Whether the service should be restarted during a NixOS
396− configuration switch if its definition has changed.
397− '';
398− };
399−
400− reloadIfChanged = mkOption {
401− type = types.bool;
402− default = false;
403− description = ''
404− Whether the service should be reloaded during a NixOS
405− configuration switch if its definition has changed. If
406− enabled, the value of <option>restartIfChanged</option> is
407− ignored.
408−
409− This option should not be used anymore in favor of
410− <option>reloadTriggers</option> which allows more granular
411− control of when a service is reloaded and when a service
412− is restarted.
413− '';
414− };
415−
416− stopIfChanged = mkOption {
417− type = types.bool;
418− default = true;
419− description = ''
420− If set, a changed unit is restarted by calling
421− <command>systemctl stop</command> in the old configuration,
422− then <command>systemctl start</command> in the new one.
423− Otherwise, it is restarted in a single step using
424− <command>systemctl restart</command> in the new configuration.
425− The latter is less correct because it runs the
426− <literal>ExecStop</literal> commands from the new
427− configuration.
428− '';
429− };
430−
431− startAt = mkOption {
432− type = with types; either str (listOf str);
433− default = [];
434− example = "Sun 14:00:00";
435− description = ''
436− Automatically start this unit at the given date/time, which
437− must be in the format described in
438− <citerefentry><refentrytitle>systemd.time</refentrytitle>
439− <manvolnum>7</manvolnum></citerefentry>. This is equivalent
440− to adding a corresponding timer unit with
441− <option>OnCalendar</option> set to the value given here.
442− '';
443− apply = v: if isList v then v else [ v ];
444− };
120+ wants = mkOption {
121+ default = [];
122+ type = types.listOf types.str;
123+ description = ''
124+ Start the specified units when this unit is started.
125+ '';
445126 };
446− };
447127
448− stage1ServiceOptions = {
449− imports = [
450− stage1CommonUnitOptions
451− serviceOptions
452− ];
453− };
128+ after = mkOption {
129+ default = [];
130+ type = types.listOf types.str;
131+ description = ''
132+ If the specified units are started at the same time as
133+ this unit, delay this unit until they have started.
134+ '';
135+ };
454136
137+ before = mkOption {
138+ default = [];
139+ type = types.listOf types.str;
140+ description = ''
141+ If the specified units are started at the same time as
142+ this unit, delay them until this unit has started.
143+ '';
144+ };
455145
456− socketOptions = {
457− options = {
458−
459− listenStreams = mkOption {
460− default = [];
461− type = types.listOf types.str;
462− example = [ "0.0.0.0:993" "/run/my-socket" ];
463− description = ''
464− For each item in this list, a <literal>ListenStream</literal>
465− option in the <literal>[Socket]</literal> section will be created.
466− '';
467− };
468−
469− listenDatagrams = mkOption {
470− default = [];
471− type = types.listOf types.str;
472− example = [ "0.0.0.0:993" "/run/my-socket" ];
473− description = ''
474− For each item in this list, a <literal>ListenDatagram</literal>
475− option in the <literal>[Socket]</literal> section will be created.
476− '';
477− };
478−
479− socketConfig = mkOption {
480− default = {};
481− example = { ListenStream = "/run/my-socket"; };
482− type = types.attrsOf unitOption;
483− description = ''
484− Each attribute in this set specifies an option in the
485− <literal>[Socket]</literal> section of the unit. See
486− <citerefentry><refentrytitle>systemd.socket</refentrytitle>
487− <manvolnum>5</manvolnum></citerefentry> for details.
488− '';
489− };
146+ bindsTo = mkOption {
147+ default = [];
148+ type = types.listOf types.str;
149+ description = ''
150+ Like ‘requires’, but in addition, if the specified units
151+ unexpectedly disappear, this unit will be stopped as well.
152+ '';
490153 };
491154
492− };
155+ partOf = mkOption {
156+ default = [];
157+ type = types.listOf types.str;
158+ description = ''
159+ If the specified units are stopped or restarted, then this
160+ unit is stopped or restarted as well.
161+ '';
162+ };
493163
494− stage2SocketOptions = {
495− imports = [
496− stage2CommonUnitOptions
497− socketOptions
498− ];
499− };
164+ conflicts = mkOption {
165+ default = [];
166+ type = types.listOf types.str;
167+ description = ''
168+ If the specified units are started, then this unit is stopped
169+ and vice versa.
170+ '';
171+ };
500172
501− stage1SocketOptions = {
502− imports = [
503− stage1CommonUnitOptions
504− socketOptions
505− ];
506− };
173+ requisite = mkOption {
174+ default = [];
175+ type = types.listOf types.str;
176+ description = ''
177+ Similar to requires. However if the units listed are not started,
178+ they will not be started and the transaction will fail.
179+ '';
180+ };
507181
182+ unitConfig = mkOption {
183+ default = {};
184+ example = { RequiresMountsFor = "/data"; };
185+ type = types.attrsOf unitOption;
186+ description = ''
187+ Each attribute in this set specifies an option in the
188+ <literal>[Unit]</literal> section of the unit. See
189+ <citerefentry><refentrytitle>systemd.unit</refentrytitle>
190+ <manvolnum>5</manvolnum></citerefentry> for details.
191+ '';
192+ };
508193
509− timerOptions = {
510− options = {
194+ restartTriggers = mkOption {
195+ default = [];
196+ type = types.listOf types.unspecified;
197+ description = ''
198+ An arbitrary list of items such as derivations. If any item
199+ in the list changes between reconfigurations, the service will
200+ be restarted.
201+ '';
202+ };
511203
512− timerConfig = mkOption {
513− default = {};
514− example = { OnCalendar = "Sun 14:00:00"; Unit = "foo.service"; };
515− type = types.attrsOf unitOption;
516− description = ''
517− Each attribute in this set specifies an option in the
518− <literal>[Timer]</literal> section of the unit. See
519− <citerefentry><refentrytitle>systemd.timer</refentrytitle>
520− <manvolnum>5</manvolnum></citerefentry> and
521− <citerefentry><refentrytitle>systemd.time</refentrytitle>
522− <manvolnum>7</manvolnum></citerefentry> for details.
523− '';
524− };
204+ onFailure = mkOption {
205+ default = [];
206+ type = types.listOf types.str;
207+ description = ''
208+ A list of one or more units that are activated when
209+ this unit enters the "failed" state.
210+ '';
211+ };
525212
213+ startLimitBurst = mkOption {
214+ type = types.int;
215+ description = ''
216+ Configure unit start rate limiting. Units which are started
217+ more than startLimitBurst times within an interval time
218+ interval are not permitted to start any more.
219+ '';
526220 };
527− };
528221
529− stage2TimerOptions = {
530− imports = [
531− stage2CommonUnitOptions
532− timerOptions
533− ];
534− };
222+ startLimitIntervalSec = mkOption {
223+ type = types.int;
224+ description = ''
225+ Configure unit start rate limiting. Units which are started
226+ more than startLimitBurst times within an interval time
227+ interval are not permitted to start any more.
228+ '';
229+ };
535230
536− stage1TimerOptions = {
537− imports = [
538− stage1CommonUnitOptions
539− timerOptions
540− ];
541231 };
542232
543233
544− pathOptions = {
545− options = {
234+ serviceOptions = commonUnitOptions // {
546235
547− pathConfig = mkOption {
548− default = {};
549− example = { PathChanged = "/some/path"; Unit = "changedpath.service"; };
550− type = types.attrsOf unitOption;
551− description = ''
552− Each attribute in this set specifies an option in the
553− <literal>[Path]</literal> section of the unit. See
554− <citerefentry><refentrytitle>systemd.path</refentrytitle>
555− <manvolnum>5</manvolnum></citerefentry> for details.
556− '';
557− };
236+ environment = mkOption {
237+ default = {};
238+ type = with types; attrsOf (nullOr (oneOf [ str path package ]));
239+ example = { PATH = "/foo/bar/bin"; LANG = "nl_NL.UTF-8"; };
240+ description = "Environment variables passed to the service's processes.";
241+ };
558242
243+ path = mkOption {
244+ default = [];
245+ type = with types; listOf (oneOf [ package str ]);
246+ description = ''
247+ Packages added to the service's <envar>PATH</envar>
248+ environment variable. Both the <filename>bin</filename>
249+ and <filename>sbin</filename> subdirectories of each
250+ package are added.
251+ '';
559252 };
560− };
561253
562− stage2PathOptions = {
563− imports = [
564− stage2CommonUnitOptions
565− pathOptions
566− ];
567− };
254+ serviceConfig = mkOption {
255+ default = {};
256+ example =
257+ { RestartSec = 5;
258+ };
259+ type = types.addCheck (types.attrsOf unitOption) checkService;
260+ description = ''
261+ Each attribute in this set specifies an option in the
262+ <literal>[Service]</literal> section of the unit. See
263+ <citerefentry><refentrytitle>systemd.service</refentrytitle>
264+ <manvolnum>5</manvolnum></citerefentry> for details.
265+ '';
266+ };
568267
569− stage1PathOptions = {
570− imports = [
571− stage1CommonUnitOptions
572− pathOptions
573− ];
574− };
268+ script = mkOption {
269+ type = types.lines;
270+ default = "";
271+ description = "Shell commands executed as the service's main process.";
272+ };
575273
274+ scriptArgs = mkOption {
275+ type = types.str;
276+ default = "";
277+ description = "Arguments passed to the main process script.";
278+ };
576279
577− mountOptions = {
578− options = {
579−
580− what = mkOption {
581− example = "/dev/sda1";
582− type = types.str;
583− description = "Absolute path of device node, file or other resource. (Mandatory)";
584− };
585−
586− where = mkOption {
587− example = "/mnt";
588− type = types.str;
589− description = ''
590− Absolute path of a directory of the mount point.
591− Will be created if it doesn't exist. (Mandatory)
592− '';
593− };
594−
595− type = mkOption {
596− default = "";
597− example = "ext4";
598− type = types.str;
599− description = "File system type.";
600− };
601−
602− options = mkOption {
603− default = "";
604− example = "noatime";
605− type = types.commas;
606− description = "Options used to mount the file system.";
607− };
608−
609− mountConfig = mkOption {
610− default = {};
611− example = { DirectoryMode = "0775"; };
612− type = types.attrsOf unitOption;
613− description = ''
614− Each attribute in this set specifies an option in the
615− <literal>[Mount]</literal> section of the unit. See
616− <citerefentry><refentrytitle>systemd.mount</refentrytitle>
617− <manvolnum>5</manvolnum></citerefentry> for details.
618− '';
619− };
280+ preStart = mkOption {
281+ type = types.lines;
282+ default = "";
283+ description = ''
284+ Shell commands executed before the service's main process
285+ is started.
286+ '';
287+ };
620288
289+ postStart = mkOption {
290+ type = types.lines;
291+ default = "";
292+ description = ''
293+ Shell commands executed after the service's main process
294+ is started.
295+ '';
621296 };
622− };
623297
624− stage2MountOptions = {
625− imports = [
626− stage2CommonUnitOptions
627− mountOptions
628− ];
629− };
298+ reload = mkOption {
299+ type = types.lines;
300+ default = "";
301+ description = ''
302+ Shell commands executed when the service's main process
303+ is reloaded.
304+ '';
305+ };
306+
307+ preStop = mkOption {
308+ type = types.lines;
309+ default = "";
310+ description = ''
311+ Shell commands executed to stop the service.
312+ '';
313+ };
314+
315+ postStop = mkOption {
316+ type = types.lines;
317+ default = "";
318+ description = ''
319+ Shell commands executed after the service's main process
320+ has exited.
321+ '';
322+ };
323+
324+ restartIfChanged = mkOption {
325+ type = types.bool;
326+ default = true;
327+ description = ''
328+ Whether the service should be restarted during a NixOS
329+ configuration switch if its definition has changed.
330+ '';
331+ };
332+
333+ reloadIfChanged = mkOption {
334+ type = types.bool;
335+ default = false;
336+ description = ''
337+ Whether the service should be reloaded during a NixOS
338+ configuration switch if its definition has changed. If
339+ enabled, the value of <option>restartIfChanged</option> is
340+ ignored.
341+ '';
342+ };
343+
344+ stopIfChanged = mkOption {
345+ type = types.bool;
346+ default = true;
347+ description = ''
348+ If set, a changed unit is restarted by calling
349+ <command>systemctl stop</command> in the old configuration,
350+ then <command>systemctl start</command> in the new one.
351+ Otherwise, it is restarted in a single step using
352+ <command>systemctl restart</command> in the new configuration.
353+ The latter is less correct because it runs the
354+ <literal>ExecStop</literal> commands from the new
355+ configuration.
356+ '';
357+ };
358+
359+ startAt = mkOption {
360+ type = with types; either str (listOf str);
361+ default = [];
362+ example = "Sun 14:00:00";
363+ description = ''
364+ Automatically start this unit at the given date/time, which
365+ must be in the format described in
366+ <citerefentry><refentrytitle>systemd.time</refentrytitle>
367+ <manvolnum>7</manvolnum></citerefentry>. This is equivalent
368+ to adding a corresponding timer unit with
369+ <option>OnCalendar</option> set to the value given here.
370+ '';
371+ apply = v: if isList v then v else [ v ];
372+ };
630373
631− stage1MountOptions = {
632− imports = [
633− stage1CommonUnitOptions
634− mountOptions
635− ];
636374 };
637375
638− automountOptions = {
639− options = {
640−
641− where = mkOption {
642− example = "/mnt";
643− type = types.str;
644− description = ''
645− Absolute path of a directory of the mount point.
646− Will be created if it doesn't exist. (Mandatory)
647− '';
648− };
649−
650− automountConfig = mkOption {
651− default = {};
652− example = { DirectoryMode = "0775"; };
653− type = types.attrsOf unitOption;
654− description = ''
655− Each attribute in this set specifies an option in the
656− <literal>[Automount]</literal> section of the unit. See
657− <citerefentry><refentrytitle>systemd.automount</refentrytitle>
658− <manvolnum>5</manvolnum></citerefentry> for details.
659− '';
660− };
661376
377+ socketOptions = commonUnitOptions // {
378+
379+ listenStreams = mkOption {
380+ default = [];
381+ type = types.listOf types.str;
382+ example = [ "0.0.0.0:993" "/run/my-socket" ];
383+ description = ''
384+ For each item in this list, a <literal>ListenStream</literal>
385+ option in the <literal>[Socket]</literal> section will be created.
386+ '';
387+ };
388+
389+ listenDatagrams = mkOption {
390+ default = [];
391+ type = types.listOf types.str;
392+ example = [ "0.0.0.0:993" "/run/my-socket" ];
393+ description = ''
394+ For each item in this list, a <literal>ListenDatagram</literal>
395+ option in the <literal>[Socket]</literal> section will be created.
396+ '';
397+ };
398+
399+ socketConfig = mkOption {
400+ default = {};
401+ example = { ListenStream = "/run/my-socket"; };
402+ type = types.attrsOf unitOption;
403+ description = ''
404+ Each attribute in this set specifies an option in the
405+ <literal>[Socket]</literal> section of the unit. See
406+ <citerefentry><refentrytitle>systemd.socket</refentrytitle>
407+ <manvolnum>5</manvolnum></citerefentry> for details.
408+ '';
662409 };
410+
663411 };
664412
665− stage2AutomountOptions = {
666− imports = [
667− stage2CommonUnitOptions
668− automountOptions
669− ];
413+
414+ timerOptions = commonUnitOptions // {
415+
416+ timerConfig = mkOption {
417+ default = {};
418+ example = { OnCalendar = "Sun 14:00:00"; Unit = "foo.service"; };
419+ type = types.attrsOf unitOption;
420+ description = ''
421+ Each attribute in this set specifies an option in the
422+ <literal>[Timer]</literal> section of the unit. See
423+ <citerefentry><refentrytitle>systemd.timer</refentrytitle>
424+ <manvolnum>5</manvolnum></citerefentry> and
425+ <citerefentry><refentrytitle>systemd.time</refentrytitle>
426+ <manvolnum>7</manvolnum></citerefentry> for details.
427+ '';
428+ };
429+
670430 };
671431
672− stage1AutomountOptions = {
673− imports = [
674− stage1CommonUnitOptions
675− automountOptions
676− ];
432+
433+ pathOptions = commonUnitOptions // {
434+
435+ pathConfig = mkOption {
436+ default = {};
437+ example = { PathChanged = "/some/path"; Unit = "changedpath.service"; };
438+ type = types.attrsOf unitOption;
439+ description = ''
440+ Each attribute in this set specifies an option in the
441+ <literal>[Path]</literal> section of the unit. See
442+ <citerefentry><refentrytitle>systemd.path</refentrytitle>
443+ <manvolnum>5</manvolnum></citerefentry> for details.
444+ '';
445+ };
446+
677447 };
678448
679− sliceOptions = {
680− options = {
681449
682− sliceConfig = mkOption {
683− default = {};
684− example = { MemoryMax = "2G"; };
685− type = types.attrsOf unitOption;
686− description = ''
687− Each attribute in this set specifies an option in the
688− <literal>[Slice]</literal> section of the unit. See
689− <citerefentry><refentrytitle>systemd.slice</refentrytitle>
690− <manvolnum>5</manvolnum></citerefentry> for details.
691− '';
692− };
450+ mountOptions = commonUnitOptions // {
451+
452+ what = mkOption {
453+ example = "/dev/sda1";
454+ type = types.str;
455+ description = "Absolute path of device node, file or other resource. (Mandatory)";
456+ };
457+
458+ where = mkOption {
459+ example = "/mnt";
460+ type = types.str;
461+ description = ''
462+ Absolute path of a directory of the mount point.
463+ Will be created if it doesn't exist. (Mandatory)
464+ '';
465+ };
693466
467+ type = mkOption {
468+ default = "";
469+ example = "ext4";
470+ type = types.str;
471+ description = "File system type.";
472+ };
473+
474+ options = mkOption {
475+ default = "";
476+ example = "noatime";
477+ type = types.commas;
478+ description = "Options used to mount the file system.";
479+ };
480+
481+ mountConfig = mkOption {
482+ default = {};
483+ example = { DirectoryMode = "0775"; };
484+ type = types.attrsOf unitOption;
485+ description = ''
486+ Each attribute in this set specifies an option in the
487+ <literal>[Mount]</literal> section of the unit. See
488+ <citerefentry><refentrytitle>systemd.mount</refentrytitle>
489+ <manvolnum>5</manvolnum></citerefentry> for details.
490+ '';
694491 };
695492 };
696493
697− stage2SliceOptions = {
698− imports = [
699− stage2CommonUnitOptions
700− sliceOptions
701− ];
494+ automountOptions = commonUnitOptions // {
495+
496+ where = mkOption {
497+ example = "/mnt";
498+ type = types.str;
499+ description = ''
500+ Absolute path of a directory of the mount point.
501+ Will be created if it doesn't exist. (Mandatory)
502+ '';
503+ };
504+
505+ automountConfig = mkOption {
506+ default = {};
507+ example = { DirectoryMode = "0775"; };
508+ type = types.attrsOf unitOption;
509+ description = ''
510+ Each attribute in this set specifies an option in the
511+ <literal>[Automount]</literal> section of the unit. See
512+ <citerefentry><refentrytitle>systemd.automount</refentrytitle>
513+ <manvolnum>5</manvolnum></citerefentry> for details.
514+ '';
515+ };
702516 };
703517
704− stage1SliceOptions = {
705− imports = [
706− stage1CommonUnitOptions
707− sliceOptions
708− ];
518+ targetOptions = commonUnitOptions;
519+
520+ sliceOptions = commonUnitOptions // {
521+
522+ sliceConfig = mkOption {
523+ default = {};
524+ example = { MemoryMax = "2G"; };
525+ type = types.attrsOf unitOption;
526+ description = ''
527+ Each attribute in this set specifies an option in the
528+ <literal>[Slice]</literal> section of the unit. See
529+ <citerefentry><refentrytitle>systemd.slice</refentrytitle>
530+ <manvolnum>5</manvolnum></citerefentry> for details.
531+ '';
532+ };
533+
709534 };
710535
711536}
nixos/lib/test-driver/test_driver/__init__.py+3−31
@@ -33,22 +33,6 @@ class EnvDefault(argparse.Action):
3333 setattr(namespace, self.dest, values)
3434
3535
36−def writeable_dir(arg: str) -> Path:
37− """Raises an ArgumentTypeError if the given argument isn't a writeable directory
38− Note: We want to fail as early as possible if a directory isn't writeable,
39− since an executed nixos-test could fail (very late) because of the test-driver
40− writing in a directory without proper permissions.
41− """
42− path = Path(arg)
43− if not path.is_dir():
44− raise argparse.ArgumentTypeError("{0} is not a directory".format(path))
45− if not os.access(path, os.W_OK):
46− raise argparse.ArgumentTypeError(
47− "{0} is not a writeable directory".format(path)
48− )
49− return path
50−
51−
5236def main() -> None:
5337 arg_parser = argparse.ArgumentParser(prog="nixos-test-driver")
5438 arg_parser.add_argument(
@@ -61,7 +45,7 @@ def main() -> None:
6145 "-I",
6246 "--interactive",
6347 help="drop into a python repl and run the tests interactively",
64− action=argparse.BooleanOptionalAction,
48+ action="store_true",
6549 )
6650 arg_parser.add_argument(
6751 "--start-scripts",
@@ -79,14 +63,6 @@ def main() -> None:
7963 nargs="*",
8064 help="vlans to span by the driver",
8165 )
82− arg_parser.add_argument(
83− "-o",
84− "--output_directory",
85− help="""The path to the directory where outputs copied from the VM will be placed.
86− By e.g. Machine.copy_from_vm or Machine.screenshot""",
87− default=Path.cwd(),
88− type=writeable_dir,
89− )
9066 arg_parser.add_argument(
9167 "testscript",
9268 action=EnvDefault,
@@ -101,11 +77,7 @@ def main() -> None:
10177 rootlog.info("Machine state will be reset. To keep it, pass --keep-vm-state")
10278
10379 with Driver(
104− args.start_scripts,
105− args.vlans,
106− args.testscript.read_text(),
107− args.output_directory.resolve(),
108− args.keep_vm_state,
80+ args.start_scripts, args.vlans, args.testscript.read_text(), args.keep_vm_state
10981 ) as driver:
11082 if args.interactive:
11183 ptpython.repl.embed(driver.test_symbols(), {})
@@ -122,7 +94,7 @@ def generate_driver_symbols() -> None:
12294 in user's test scripts. That list is then used by pyflakes to lint those
12395 scripts.
12496 """
125− d = Driver([], [], "", Path())
97+ d = Driver([], [], "")
12698 test_symbols = d.test_symbols()
12799 with open("driver-symbols", "w") as fp:
128100 fp.write(",".join(test_symbols.keys()))
nixos/lib/test-driver/test_driver/driver.py+5−31
@@ -10,28 +10,6 @@ from test_driver.vlan import VLan
1010from test_driver.polling_condition import PollingCondition
1111
1212
13−def get_tmp_dir() -> Path:
14− """Returns a temporary directory that is defined by TMPDIR, TEMP, TMP or CWD
15− Raises an exception in case the retrieved temporary directory is not writeable
16− See https://docs.python.org/3/library/tempfile.html#tempfile.gettempdir
17− """
18− tmp_dir = Path(tempfile.gettempdir())
19− tmp_dir.mkdir(mode=0o700, exist_ok=True)
20− if not tmp_dir.is_dir():
21− raise NotADirectoryError(
22− "The directory defined by TMPDIR, TEMP, TMP or CWD: {0} is not a directory".format(
23− tmp_dir
24− )
25− )
26− if not os.access(tmp_dir, os.W_OK):
27− raise PermissionError(
28− "The directory defined by TMPDIR, TEMP, TMP, or CWD: {0} is not writeable".format(
29− tmp_dir
30− )
31− )
32− return tmp_dir
33−
34−
3513class Driver:
3614 """A handle to the driver that sets up the environment
3715 and runs the tests"""
@@ -46,16 +24,14 @@ class Driver:
4624 start_scripts: List[str],
4725 vlans: List[int],
4826 tests: str,
49− out_dir: Path,
5027 keep_vm_state: bool = False,
5128 ):
5229 self.tests = tests
53− self.out_dir = out_dir
5430
55− tmp_dir = get_tmp_dir()
31+ tmp_dir = Path(os.environ.get("TMPDIR", tempfile.gettempdir()))
32+ tmp_dir.mkdir(mode=0o700, exist_ok=True)
5633
5734 with rootlog.nested("start all VLans"):
58− vlans = list(set(vlans))
5935 self.vlans = [VLan(nr, tmp_dir) for nr in vlans]
6036
6137 def cmd(scripts: List[str]) -> Iterator[NixStartScript]:
@@ -71,7 +47,6 @@ class Driver:
7147 name=cmd.machine_name,
7248 tmp_dir=tmp_dir,
7349 callbacks=[self.check_polling_conditions],
74− out_dir=self.out_dir,
7550 )
7651 for cmd in cmd(start_scripts)
7752 ]
@@ -86,7 +61,7 @@ class Driver:
8661
8762 def subtest(self, name: str) -> Iterator[None]:
8863 """Group logs under a given test name"""
89− with rootlog.nested("subtest: " + name):
64+ with rootlog.nested(name):
9065 try:
9166 yield
9267 return True
@@ -166,8 +141,8 @@ class Driver:
166141 "Using legacy create_machine(), please instantiate the"
167142 "Machine class directly, instead"
168143 )
169−
170− tmp_dir = get_tmp_dir()
144+ tmp_dir = Path(os.environ.get("TMPDIR", tempfile.gettempdir()))
145+ tmp_dir.mkdir(mode=0o700, exist_ok=True)
171146
172147 if args.get("startCommand"):
173148 start_command: str = args.get("startCommand", "")
@@ -179,7 +154,6 @@ class Driver:
179154
180155 return Machine(
181156 tmp_dir=tmp_dir,
182− out_dir=self.out_dir,
183157 start_command=cmd,
184158 name=name,
185159 keep_vm_state=args.get("keep_vm_state", False),
nixos/lib/test-driver/test_driver/logger.py+2−6
@@ -1,4 +1,4 @@
1−from colorama import Style, Fore
1+from colorama import Style
22from contextlib import contextmanager
33from typing import Any, Dict, Iterator
44from queue import Queue, Empty
@@ -81,11 +81,7 @@ class Logger:
8181
8282 @contextmanager
8383 def nested(self, message: str, attributes: Dict[str, str] = {}) -> Iterator[None]:
84− self._eprint(
85− self.maybe_prefix(
86− Style.BRIGHT + Fore.GREEN + message + Style.RESET_ALL, attributes
87− )
88− )
84+ self._eprint(self.maybe_prefix(message, attributes))
8985
9086 self.xml.startElement("nest", attrs={})
9187 self.xml.startElement("head", attributes)
nixos/lib/test-driver/test_driver/machine.py+10−53
@@ -198,7 +198,7 @@ class StartCommand:
198198 ) -> subprocess.Popen:
199199 return subprocess.Popen(
200200 self.cmd(monitor_socket_path, shell_socket_path),
201− stdin=subprocess.PIPE,
201+ stdin=subprocess.DEVNULL,
202202 stdout=subprocess.PIPE,
203203 stderr=subprocess.STDOUT,
204204 shell=True,
@@ -241,15 +241,9 @@ class LegacyStartCommand(StartCommand):
241241 cdrom: Optional[str] = None,
242242 usb: Optional[str] = None,
243243 bios: Optional[str] = None,
244− qemuBinary: Optional[str] = None,
245244 qemuFlags: Optional[str] = None,
246245 ):
247− if qemuBinary is not None:
248− self._cmd = qemuBinary
249− else:
250− self._cmd = "qemu-kvm"
251−
252− self._cmd += " -m 384"
246+ self._cmd = "qemu-kvm -m 384"
253247
254248 # networking
255249 net_backend = "-netdev user,id=net0"
@@ -303,7 +297,6 @@ class Machine:
303297 the machine lifecycle with the help of a start script / command."""
304298
305299 name: str
306− out_dir: Path
307300 tmp_dir: Path
308301 shared_dir: Path
309302 state_dir: Path
@@ -332,7 +325,6 @@ class Machine:
332325
333326 def __init__(
334327 self,
335− out_dir: Path,
336328 tmp_dir: Path,
337329 start_command: StartCommand,
338330 name: str = "machine",
@@ -340,7 +332,6 @@ class Machine:
340332 allow_reboot: bool = False,
341333 callbacks: Optional[List[Callable]] = None,
342334 ) -> None:
343− self.out_dir = out_dir
344335 self.tmp_dir = tmp_dir
345336 self.keep_vm_state = keep_vm_state
346337 self.allow_reboot = allow_reboot
@@ -387,7 +378,6 @@ class Machine:
387378 cdrom=args.get("cdrom"),
388379 usb=args.get("usb"),
389380 bios=args.get("bios"),
390− qemuBinary=args.get("qemuBinary"),
391381 qemuFlags=args.get("qemuFlags"),
392382 )
393383
@@ -526,17 +516,10 @@ class Machine:
526516 self.run_callbacks()
527517 self.connect()
528518
529− # Always run command with shell opts
530− command = f"set -euo pipefail; {command}"
531−
532− timeout_str = ""
533519 if timeout is not None:
534− timeout_str = f"timeout {timeout}"
535−
536− out_command = (
537− f"{timeout_str} sh -c {shlex.quote(command)} | (base64 --wrap 0; echo)\n"
538− )
520+ command = "timeout {} sh -c {}".format(timeout, shlex.quote(command))
539521
522+ out_command = f"( set -euo pipefail; {command} ) | (base64 --wrap 0; echo)\n"
540523 assert self.shell
541524 self.shell.send(out_command.encode())
542525
@@ -557,36 +540,14 @@ class Machine:
557540
558541 Should only be used during test development, not in the production test."""
559542 self.connect()
560− self.log("Terminal is ready (there is no initial prompt):")
543+ self.log("Terminal is ready (there is no prompt):")
561544
562545 assert self.shell
563546 subprocess.run(
564− ["socat", "READLINE,prompt=$ ", f"FD:{self.shell.fileno()}"],
547+ ["socat", "READLINE", f"FD:{self.shell.fileno()}"],
565548 pass_fds=[self.shell.fileno()],
566549 )
567550
568− def console_interact(self) -> None:
569− """Allows you to interact with QEMU's stdin
570−
571− The shell can be exited with Ctrl+D. Note that Ctrl+C is not allowed to be used.
572− QEMU's stdout is read line-wise.
573−
574− Should only be used during test development, not in the production test."""
575− self.log("Terminal is ready (there is no prompt):")
576−
577− assert self.process
578− assert self.process.stdin
579−
580− while True:
581− try:
582− char = sys.stdin.buffer.read(1)
583− except KeyboardInterrupt:
584− break
585− if char == b"": # ctrl+d
586− self.log("Closing connection to the console")
587− break
588− self.send_console(char.decode())
589−
590551 def succeed(self, *commands: str, timeout: Optional[int] = None) -> str:
591552 """Execute each command and check that it succeeds."""
592553 output = ""
@@ -741,9 +702,10 @@ class Machine:
741702 self.connected = True
742703
743704 def screenshot(self, filename: str) -> None:
705+ out_dir = os.environ.get("out", os.getcwd())
744706 word_pattern = re.compile(r"^\w+$")
745707 if word_pattern.match(filename):
746− filename = os.path.join(self.out_dir, "{}.png".format(filename))
708+ filename = os.path.join(out_dir, "{}.png".format(filename))
747709 tmp = "{}.ppm".format(filename)
748710
749711 with self.nested(
@@ -794,6 +756,7 @@ class Machine:
794756 all the VMs (using a temporary directory).
795757 """
796758 # Compute the source, target, and intermediate shared file names
759+ out_dir = Path(os.environ.get("out", os.getcwd()))
797760 vm_src = Path(source)
798761 with tempfile.TemporaryDirectory(dir=self.shared_dir) as shared_td:
799762 shared_temp = Path(shared_td)
@@ -803,7 +766,7 @@ class Machine:
803766 # Copy the file to the shared directory inside VM
804767 self.succeed(make_command(["mkdir", "-p", vm_shared_temp]))
805768 self.succeed(make_command(["cp", "-r", vm_src, vm_intermediate]))
806− abs_target = self.out_dir / target_dir / vm_src.name
769+ abs_target = out_dir / target_dir / vm_src.name
807770 abs_target.parent.mkdir(exist_ok=True, parents=True)
808771 # Copy the file from the shared directory outside VM
809772 if intermediate.is_dir():
@@ -863,12 +826,6 @@ class Machine:
863826 self.send_monitor_command("sendkey {}".format(key))
864827 time.sleep(0.01)
865828
866− def send_console(self, chars: str) -> None:
867− assert self.process
868− assert self.process.stdin
869− self.process.stdin.write(chars.encode())
870− self.process.stdin.flush()
871−
872829 def start(self) -> None:
873830 if self.booted:
874831 return
nixos/lib/testing-python.nix+18−20
@@ -30,7 +30,7 @@ rec {
3030 # effectively mute the XMLLogger
3131 export LOGFILE=/dev/null
3232
33− ${driver}/bin/nixos-test-driver -o $out
33+ ${driver}/bin/nixos-test-driver
3434 '';
3535
3636 passthru = driver.passthru // {
@@ -51,7 +51,6 @@ rec {
5151 , enableOCR ? false
5252 , skipLint ? false
5353 , passthru ? {}
54− , interactive ? false
5554 }:
5655 let
5756 # Reifies and correctly wraps the python test driver for
@@ -140,34 +139,31 @@ rec {
140139 wrapProgram $out/bin/nixos-test-driver \
141140 --set startScripts "''${vmStartScripts[*]}" \
142141 --set testScript "$out/test-script" \
143− --set vlans '${toString vlans}' \
144− ${lib.optionalString (interactive) "--add-flags --interactive"}
142+ --set vlans '${toString vlans}'
145143 '');
146144
147145 # Make a full-blown test
148146 makeTest =
149− { machine ? null
150− , nodes ? {}
151− , testScript
147+ { testScript
152148 , enableOCR ? false
153149 , name ? "unnamed"
154150 # Skip linting (mainly intended for faster dev cycles)
155151 , skipLint ? false
156152 , passthru ? {}
157− , meta ? {}
158153 , # For meta.position
159154 pos ? # position used in error messages and for meta.position
160− (if meta.description or null != null
161− then builtins.unsafeGetAttrPos "description" meta
155+ (if t.meta.description or null != null
156+ then builtins.unsafeGetAttrPos "description" t.meta
162157 else builtins.unsafeGetAttrPos "testScript" t)
158+ , ...
163159 } @ t:
164160 let
165− mkNodes = qemu_pkg:
161+ nodes = qemu_pkg:
166162 let
167163 testScript' =
168164 # Call the test script with the computed nodes.
169165 if lib.isFunction testScript
170− then testScript { nodes = mkNodes qemu_pkg; }
166+ then testScript { nodes = nodes qemu_pkg; }
171167 else testScript;
172168
173169 build-vms = import ./build-vms.nix {
@@ -206,31 +202,33 @@ rec {
206202 )];
207203 };
208204 in
209− lib.warnIf (t?machine) "In test `${name}': The `machine' attribute in NixOS tests (pkgs.nixosTest / make-test-pyton.nix / testing-python.nix / makeTest) is deprecated. Please use the equivalent `nodes.machine'."
210205 build-vms.buildVirtualNetwork (
211− nodes // lib.optionalAttrs (machine != null) { inherit machine; }
206+ t.nodes or (if t ? machine then { machine = t.machine; } else { })
212207 );
213208
214209 driver = setupDriverForTest {
215210 inherit testScript enableOCR skipLint passthru;
216211 testName = name;
217212 qemu_pkg = pkgs.qemu_test;
218− nodes = mkNodes pkgs.qemu_test;
213+ nodes = nodes pkgs.qemu_test;
219214 };
220215 driverInteractive = setupDriverForTest {
221216 inherit testScript enableOCR skipLint passthru;
222217 testName = name;
223218 qemu_pkg = pkgs.qemu;
224− nodes = mkNodes pkgs.qemu;
225− interactive = true;
219+ nodes = nodes pkgs.qemu;
226220 };
227221
228− test = lib.addMetaAttrs meta (runTests { inherit driver pos driverInteractive; });
222+ test =
223+ let
224+ passMeta = drv: drv // lib.optionalAttrs (t ? meta) {
225+ meta = (drv.meta or { }) // t.meta;
226+ };
227+ in passMeta (runTests { inherit driver pos driverInteractive; });
229228
230229 in
231230 test // {
232− inherit test driver driverInteractive;
233− inherit (driver) nodes;
231+ inherit test driver driverInteractive nodes;
234232 };
235233
236234 abortForFunction = functionName: abort ''The ${functionName} function was
nixos/lib/utils.nix+1−46
@@ -45,26 +45,6 @@ rec {
4545 replaceChars ["/" "-" " "] ["-" "\\x2d" "\\x20"]
4646 (removePrefix "/" s);
4747
48− # Quotes an argument for use in Exec* service lines.
49− # systemd accepts "-quoted strings with escape sequences, toJSON produces
50− # a subset of these.
51− # Additionally we escape % to disallow expansion of % specifiers. Any lone ;
52− # in the input will be turned it ";" and thus lose its special meaning.
53− # Every $ is escaped to $$, this makes it unnecessary to disable environment
54− # substitution for the directive.
55− escapeSystemdExecArg = arg:
56− let
57− s = if builtins.isPath arg then "${arg}"
58− else if builtins.isString arg then arg
59− else if builtins.isInt arg || builtins.isFloat arg then toString arg
60− else throw "escapeSystemdExecArg only allows strings, paths and numbers";
61− in
62− replaceChars [ "%" "$" ] [ "%%" "$$" ] (builtins.toJSON s);
63−
64− # Quotes a list of arguments into a single string for use in a Exec*
65− # line.
66− escapeSystemdExecArgs = concatMapStringsSep " " escapeSystemdExecArg;
67−
6848 # Returns a system path for a given shell package
6949 toShellPath = shell:
7050 if types.shellPackage.check shell then
@@ -169,17 +149,10 @@ rec {
169149 if [[ -h '${output}' ]]; then
170150 rm '${output}'
171151 fi
172−
173− inherit_errexit_enabled=0
174− shopt -pq inherit_errexit && inherit_errexit_enabled=1
175− shopt -s inherit_errexit
176152 ''
177153 + concatStringsSep
178154 "\n"
179− (imap1 (index: name: ''
180− secret${toString index}=$(<'${secrets.${name}}')
181− export secret${toString index}
182− '')
155+ (imap1 (index: name: "export secret${toString index}=$(<'${secrets.${name}}')")
183156 (attrNames secrets))
184157 + "\n"
185158 + "${pkgs.jq}/bin/jq >'${output}' '"
@@ -191,28 +164,10 @@ rec {
191164 ' <<'EOF'
192165 ${builtins.toJSON set}
193166 EOF
194− (( ! $inherit_errexit_enabled )) && shopt -u inherit_errexit
195167 '';
196168
197− /* Remove packages of packagesToRemove from packages, based on their names.
198− Relies on package names and has quadratic complexity so use with caution!
199−
200− Type:
201− removePackagesByName :: [package] -> [package] -> [package]
202−
203− Example:
204− removePackagesByName [ nautilus file-roller ] [ file-roller totem ]
205− => [ nautilus ]
206− */
207− removePackagesByName = packages: packagesToRemove:
208− let
209− namesToRemove = map lib.getName packagesToRemove;
210− in
211− lib.filter (x: !(builtins.elem (lib.getName x) namesToRemove)) packages;
212−
213169 systemdUtils = {
214170 lib = import ./systemd-lib.nix { inherit lib config pkgs; };
215171 unitOptions = import ./systemd-unit-options.nix { inherit lib systemdUtils; };
216− types = import ./systemd-types.nix { inherit lib systemdUtils pkgs; };
217172 };
218173}
nixos/maintainers/scripts/azure-new/examples/basic/system.nix+1−1
@@ -17,7 +17,7 @@ in
1717 description = "Azure NixOS Test User";
1818 openssh.authorizedKeys.keys = [ (builtins.readFile ~/.ssh/id_ed25519.pub) ];
1919 };
20− nix.settings.trusted-users = [ username ];
20+ nix.trustedUsers = [ username ];
2121
2222 virtualisation.azureImage.diskSize = 2500;
2323
nixos/maintainers/scripts/ec2/amazon-image.nix+1−1
@@ -73,7 +73,7 @@ in {
7373 }
7474 '';
7575
76− zfsBuilder = import ../../../lib/make-multi-disk-zfs-image.nix {
76+ zfsBuilder = import ../../../lib/make-zfs-image.nix {
7777 inherit lib config configFile;
7878 inherit (cfg) contents format name;
7979 pkgs = import ../../../.. { inherit (pkgs) system; }; # ensure we use the regular qemu-kvm package
nixos/maintainers/scripts/lxd/lxd-image.nix+1−1
@@ -27,7 +27,7 @@ with lib;
2727 networking.useDHCP = false;
2828 networking.interfaces.eth0.useDHCP = true;
2929
30− # As this is intended as a standalone image, undo some of the minimal profile stuff
30+ # As this is intended as a stadalone image, undo some of the minimal profile stuff
3131 documentation.enable = true;
3232 documentation.nixos.enable = true;
3333 environment.noXlibs = false;
nixos/maintainers/scripts/openstack/openstack-image-zfs.nixdeleted−101
@@ -1,101 +0,0 @@
1−# nix-build '<nixpkgs/nixos>' -A config.system.build.openstackImage --arg configuration "{ imports = [ ./nixos/maintainers/scripts/openstack/openstack-image.nix ]; }"
2−
3−{ config, lib, pkgs, ... }:
4−let
5− inherit (lib) mkOption types;
6− copyChannel = true;
7− cfg = config.openstackImage;
8− imageBootMode = if config.openstack.efi then "uefi" else "legacy-bios";
9−in
10−{
11− imports = [
12− ../../../modules/virtualisation/openstack-config.nix
13− ] ++ (lib.optional copyChannel ../../../modules/installer/cd-dvd/channel.nix);
14−
15−
16− options.openstackImage = {
17− name = mkOption {
18− type = types.str;
19− description = "The name of the generated derivation";
20− default = "nixos-openstack-image-${config.system.nixos.label}-${pkgs.stdenv.hostPlatform.system}";
21− };
22−
23− sizeMB = mkOption {
24− type = types.int;
25− default = 8192;
26− description = "The size in MB of the image";
27− };
28−
29− format = mkOption {
30− type = types.enum [ "raw" "qcow2" ];
31− default = "qcow2";
32− description = "The image format to output";
33− };
34− };
35−
36− config = {
37− documentation.enable = copyChannel;
38− openstack = {
39− efi = true;
40− zfs = {
41− enable = true;
42− datasets = {
43− "tank/system/root".mount = "/";
44− "tank/system/var".mount = "/var";
45− "tank/local/nix".mount = "/nix";
46− "tank/user/home".mount = "/home";
47− };
48− };
49− };
50−
51− system.build.openstackImage = import ../../../lib/make-single-disk-zfs-image.nix {
52− inherit lib config;
53− inherit (cfg) contents format name;
54− pkgs = import ../../../.. { inherit (pkgs) system; }; # ensure we use the regular qemu-kvm package
55−
56− configFile = pkgs.writeText "configuration.nix"
57− ''
58− { modulesPath, ... }: {
59− imports = [ "''${modulesPath}/virtualisation/openstack-config.nix" ];
60− openstack.zfs.enable = true;
61− }
62− '';
63−
64− includeChannel = copyChannel;
65−
66− bootSize = 1000;
67−
68− rootSize = cfg.sizeMB;
69− rootPoolProperties = {
70− ashift = 12;
71− autoexpand = "on";
72− };
73−
74− datasets = config.openstack.zfs.datasets;
75−
76− postVM = ''
77− extension=''${rootDiskImage##*.}
78− friendlyName=$out/${cfg.name}
79− rootDisk="$friendlyName.root.$extension"
80− mv "$rootDiskImage" "$rootDisk"
81−
82− mkdir -p $out/nix-support
83− echo "file ${cfg.format} $rootDisk" >> $out/nix-support/hydra-build-products
84−
85− ${pkgs.jq}/bin/jq -n \
86− --arg system_label ${lib.escapeShellArg config.system.nixos.label} \
87− --arg system ${lib.escapeShellArg pkgs.stdenv.hostPlatform.system} \
88− --arg root_logical_bytes "$(${pkgs.qemu}/bin/qemu-img info --output json "$rootDisk" | ${pkgs.jq}/bin/jq '."virtual-size"')" \
89− --arg boot_mode "${imageBootMode}" \
90− --arg root "$rootDisk" \
91− '{}
92− | .label = $system_label
93− | .boot_mode = $boot_mode
94− | .system = $system
95− | .disks.root.logical_bytes = $root_logical_bytes
96− | .disks.root.file = $root
97− ' > $out/nix-support/image-info.json
98− '';
99− };
100− };
101−}
nixos/maintainers/scripts/openstack/openstack-image.nix+8−9
@@ -1,18 +1,17 @@
11# nix-build '<nixpkgs/nixos>' -A config.system.build.openstackImage --arg configuration "{ imports = [ ./nixos/maintainers/scripts/openstack/openstack-image.nix ]; }"
22
33{ config, lib, pkgs, ... }:
4−let
5− copyChannel = true;
6−in
7−{
8− imports = [
9− ../../../modules/virtualisation/openstack-config.nix
10− ] ++ (lib.optional copyChannel ../../../modules/installer/cd-dvd/channel.nix);
114
12− documentation.enable = copyChannel;
5+with lib;
6+
7+{
8+ imports =
9+ [ ../../../modules/installer/cd-dvd/channel.nix
10+ ../../../modules/virtualisation/openstack-config.nix
11+ ];
1312
1413 system.build.openstackImage = import ../../../lib/make-disk-image.nix {
15− inherit lib config copyChannel;
14+ inherit lib config;
1615 additionalSpace = "1024M";
1716 pkgs = import ../../../.. { inherit (pkgs) system; }; # ensure we use the regular qemu-kvm package
1817 format = "qcow2";
nixos/modules/config/console.nix+9−23
@@ -12,7 +12,7 @@ let
1212
1313 optimizedKeymap = pkgs.runCommand "keymap" {
1414 nativeBuildInputs = [ pkgs.buildPackages.kbd ];
15− LOADKEYS_KEYMAP_PATH = "${consoleEnv pkgs.kbd}/share/keymaps/**";
15+ LOADKEYS_KEYMAP_PATH = "${consoleEnv}/share/keymaps/**";
1616 preferLocalBuild = true;
1717 } ''
1818 loadkeys -b ${optionalString isUnicode "-u"} "${cfg.keyMap}" > $out
@@ -24,9 +24,9 @@ let
2424 FONT=${cfg.font}
2525 '';
2626
27− consoleEnv = kbd: pkgs.buildEnv {
27+ consoleEnv = pkgs.buildEnv {
2828 name = "console-env";
29− paths = [ kbd ] ++ cfg.packages;
29+ paths = [ pkgs.kbd ] ++ cfg.packages;
3030 pathsToLink = [
3131 "/share/consolefonts"
3232 "/share/consoletrans"
@@ -136,9 +136,9 @@ in
136136 # virtual consoles.
137137 environment.etc."vconsole.conf".source = vconsoleConf;
138138 # Provide kbd with additional packages.
139− environment.etc.kbd.source = "${consoleEnv pkgs.kbd}/share";
139+ environment.etc.kbd.source = "${consoleEnv}/share";
140140
141− boot.initrd.preLVMCommands = mkIf (!config.boot.initrd.systemd.enable) (mkBefore ''
141+ boot.initrd.preLVMCommands = mkBefore ''
142142 kbd_mode ${if isUnicode then "-u" else "-a"} -C /dev/console
143143 printf "\033%%${if isUnicode then "G" else "@"}" >> /dev/console
144144 loadkmap < ${optimizedKeymap}
@@ -146,26 +146,12 @@ in
146146 ${optionalString cfg.earlySetup ''
147147 setfont -C /dev/console $extraUtils/share/consolefonts/font.psf
148148 ''}
149− '');
150−
151− boot.initrd.systemd.contents = {
152− "/etc/vconsole.conf".source = vconsoleConf;
153− # Add everything if we want full console setup...
154− "/etc/kbd" = lib.mkIf cfg.earlySetup { source = "${consoleEnv config.boot.initrd.systemd.package.kbd}/share"; };
155− # ...but only the keymaps if we don't
156− "/etc/kbd/keymaps" = lib.mkIf (!cfg.earlySetup) { source = "${consoleEnv config.boot.initrd.systemd.package.kbd}/share/keymaps"; };
157− };
158− boot.initrd.systemd.storePaths = [
159− "${config.boot.initrd.systemd.package}/lib/systemd/systemd-vconsole-setup"
160− "${config.boot.initrd.systemd.package.kbd}/bin/setfont"
161− "${config.boot.initrd.systemd.package.kbd}/bin/loadkeys"
162− "${config.boot.initrd.systemd.package.kbd.gzip}/bin/gzip" # keyboard layouts are compressed
163− ];
149+ '';
164150
165151 systemd.services.reload-systemd-vconsole-setup =
166152 { description = "Reset console on configuration changes";
167153 wantedBy = [ "multi-user.target" ];
168− restartTriggers = [ vconsoleConf (consoleEnv pkgs.kbd) ];
154+ restartTriggers = [ vconsoleConf consoleEnv ];
169155 reloadIfChanged = true;
170156 serviceConfig =
171157 { RemainAfterExit = true;
@@ -183,13 +169,13 @@ in
183169 ];
184170 })
185171
186− (mkIf (cfg.earlySetup && !config.boot.initrd.systemd.enable) {
172+ (mkIf cfg.earlySetup {
187173 boot.initrd.extraUtilsCommands = ''
188174 mkdir -p $out/share/consolefonts
189175 ${if substring 0 1 cfg.font == "/" then ''
190176 font="${cfg.font}"
191177 '' else ''
192− font="$(echo ${consoleEnv pkgs.kbd}/share/consolefonts/${cfg.font}.*)"
178+ font="$(echo ${consoleEnv}/share/consolefonts/${cfg.font}.*)"
193179 ''}
194180 if [[ $font == *.gz ]]; then
195181 gzip -cd $font > $out/share/consolefonts/font.psf
nixos/modules/config/fonts/fonts.nix+5
@@ -39,6 +39,11 @@ let
3939 defaultXFonts =
4040 [ (if hasHidpi then fontcursormisc_hidpi else pkgs.xorg.fontcursormisc)
4141 pkgs.xorg.fontmiscmisc
42+ ] ++ optionals (config.nixpkgs.config.allowUnfree or false)
43+ [ # these are unfree, and will make usage with xserver fail
44+ pkgs.xorg.fontbhlucidatypewriter100dpi
45+ pkgs.xorg.fontbhlucidatypewriter75dpi
46+ pkgs.xorg.fontbh100dpi
4247 ];
4348
4449in
nixos/modules/config/malloc.nix+2−9
@@ -22,15 +22,8 @@ let
2222 '';
2323 };
2424
25− scudo = let
26− platformMap = {
27− aarch64-linux = "aarch64";
28− x86_64-linux = "x86_64";
29− };
30−
31− systemPlatform = platformMap.${pkgs.stdenv.hostPlatform.system} or (throw "scudo not supported on ${pkgs.stdenv.hostPlatform.system}");
32− in {
33− libPath = "${pkgs.llvmPackages_latest.compiler-rt}/lib/linux/libclang_rt.scudo-${systemPlatform}.so";
25+ scudo = {
26+ libPath = "${pkgs.llvmPackages_latest.compiler-rt}/lib/linux/libclang_rt.scudo-x86_64.so";
3427 description = ''
3528 A user-mode allocator based on LLVM Sanitizer’s CombinedAllocator,
3629 which aims at providing additional mitigations against heap based
nixos/modules/config/networking.nix+3−1
@@ -196,7 +196,9 @@ in
196196 protocols.source = pkgs.iana-etc + "/etc/protocols";
197197
198198 # /etc/hosts: Hostname-to-IP mappings.
199− hosts.source = pkgs.concatText "hosts" cfg.hostFiles;
199+ hosts.source = pkgs.runCommand "hosts" {} ''
200+ cat ${escapeShellArgs cfg.hostFiles} > $out
201+ '';
200202
201203 # /etc/netgroup: Network-wide groups.
202204 netgroup.text = mkDefault "";
nixos/modules/config/nsswitch.nix+4−7
@@ -95,14 +95,11 @@ with lib;
9595 config = {
9696 assertions = [
9797 {
98+ # Prevent users from disabling nscd, with nssModules being set.
99+ # If disabling nscd is really necessary, it's still possible to opt out
100+ # by forcing config.system.nssModules to [].
98101 assertion = config.system.nssModules.path != "" -> config.services.nscd.enable;
99− message = ''
100− Loading NSS modules from system.nssModules (${config.system.nssModules.path}),
101− requires services.nscd.enable being set to true.
102−
103− If disabling nscd is really necessary, it is possible to disable loading NSS modules
104− by setting `system.nssModules = lib.mkForce [];` in your configuration.nix.
105− '';
102+ message = "Loading NSS modules from system.nssModules (${config.system.nssModules.path}), requires services.nscd.enable being set to true.";
106103 }
107104 ];
108105
nixos/modules/config/resolvconf.nix+4−2
@@ -47,8 +47,8 @@ in
4747
4848 enable = mkOption {
4949 type = types.bool;
50− default = !(config.environment.etc ? "resolv.conf");
51− defaultText = literalExpression ''!(config.environment.etc ? "resolv.conf")'';
50+ default = false;
51+ internal = true;
5252 description = ''
5353 DNS configuration is managed by resolvconf.
5454 '';
@@ -110,6 +110,8 @@ in
110110
111111 config = mkMerge [
112112 {
113+ networking.resolvconf.enable = !(config.environment.etc ? "resolv.conf");
114+
113115 environment.etc."resolvconf.conf".text =
114116 if !cfg.enable then
115117 # Force-stop any attempts to use resolvconf
nixos/modules/config/terminfo.nix+1−25
@@ -1,33 +1,9 @@
11# This module manages the terminfo database
22# and its integration in the system.
3−{ config, lib, pkgs, ... }:
4−
5−with lib;
6−
3+{ config, ... }:
74{
8−
9− options.environment.enableAllTerminfo = with lib; mkOption {
10− default = false;
11− type = types.bool;
12− description = ''
13− Whether to install all terminfo outputs
14− '';
15− };
16−
175 config = {
186
19− # can be generated with: filter (drv: (builtins.tryEval (drv ? terminfo)).value) (attrValues pkgs)
20− environment.systemPackages = mkIf config.environment.enableAllTerminfo (map (x: x.terminfo) (with pkgs; [
21− alacritty
22− foot
23− kitty
24− mtm
25− rxvt-unicode-unwrapped
26− rxvt-unicode-unwrapped-emoji
27− termite
28− wezterm
29− ]));
30−
317 environment.pathsToLink = [
328 "/share/terminfo"
339 ];
nixos/modules/config/update-users-groups.pl+1−1
@@ -351,7 +351,7 @@ foreach my $u (values %usersOut) {
351351 push @subGids, $value;
352352 }
353353
354− if($u->{autoSubUidGidRange}) {
354+ if($u->{isNormalUser}) {
355355 my $subordinate = allocSubUid($name);
356356 $subUidMap->{$name} = $subordinate;
357357 my $value = join(":", ($name, $subordinate, 65536));
nixos/modules/config/users-groups.nix+13−38
@@ -204,16 +204,6 @@ let
204204 '';
205205 };
206206
207− autoSubUidGidRange = mkOption {
208− type = types.bool;
209− default = false;
210− example = true;
211− description = ''
212− Automatically allocate subordinate user and group ids for this user.
213− Allocated range is currently always of size 65536.
214− '';
215− };
216−
217207 createHome = mkOption {
218208 type = types.bool;
219209 default = false;
@@ -330,9 +320,6 @@ let
330320 (mkIf (!cfg.mutableUsers && config.initialHashedPassword != null) {
331321 hashedPassword = mkDefault config.initialHashedPassword;
332322 })
333− (mkIf (config.isNormalUser && config.subUidRanges == [] && config.subGidRanges == []) {
334− autoSubUidGidRange = mkDefault true;
335− })
336323 ];
337324
338325 };
@@ -432,7 +419,7 @@ let
432419 { inherit (u)
433420 name uid group description home createHome isSystemUser
434421 password passwordFile hashedPassword
435− autoSubUidGidRange subUidRanges subGidRanges
422+ isNormalUser subUidRanges subGidRanges
436423 initialPassword initialHashedPassword;
437424 shell = utils.toShellPath u.shell;
438425 }) cfg.users;
@@ -449,10 +436,16 @@ in {
449436 imports = [
450437 (mkAliasOptionModule [ "users" "extraUsers" ] [ "users" "users" ])
451438 (mkAliasOptionModule [ "users" "extraGroups" ] [ "users" "groups" ])
452− (mkRenamedOptionModule ["security" "initialRootPassword"] ["users" "users" "root" "initialHashedPassword"])
439+ (mkChangedOptionModule
440+ [ "security" "initialRootPassword" ]
441+ [ "users" "users" "root" "initialHashedPassword" ]
442+ (cfg: if cfg.security.initialRootPassword == "!"
443+ then null
444+ else cfg.security.initialRootPassword))
453445 ];
454446
455447 ###### interface
448+
456449 options = {
457450
458451 users.mutableUsers = mkOption {
@@ -520,17 +513,6 @@ in {
520513 '';
521514 };
522515
523−
524− users.allowNoPasswordLogin = mkOption {
525− type = types.bool;
526− default = false;
527− description = ''
528− Disable checking that at least the <literal>root</literal> user or a user in the <literal>wheel</literal> group can log in using
529− a password or an SSH key.
530−
531− WARNING: enabling this can lock you out of your system. Enable this only if you know what are you doing.
532− '';
533− };
534516 };
535517
536518
@@ -545,7 +527,6 @@ in {
545527 home = "/root";
546528 shell = mkDefault cfg.defaultUserShell;
547529 group = "root";
548− initialHashedPassword = mkDefault "!";
549530 };
550531 nobody = {
551532 uid = ids.uids.nobody;
@@ -622,11 +603,9 @@ in {
622603 # there is at least one "privileged" account that has a
623604 # password or an SSH authorized key. Privileged accounts are
624605 # root and users in the wheel group.
625− # The check does not apply when users.disableLoginPossibilityAssertion
626− # The check does not apply when users.mutableUsers
627− assertion = !cfg.mutableUsers -> !cfg.allowNoPasswordLogin ->
628− any id (mapAttrsToList (name: cfg:
629− (name == "root"
606+ assertion = !cfg.mutableUsers ->
607+ any id ((mapAttrsToList (_: cfg:
608+ (cfg.name == "root"
630609 || cfg.group == "wheel"
631610 || elem "wheel" cfg.extraGroups)
632611 &&
@@ -635,16 +614,12 @@ in {
635614 || cfg.passwordFile != null
636615 || cfg.openssh.authorizedKeys.keys != []
637616 || cfg.openssh.authorizedKeys.keyFiles != [])
638− ) cfg.users ++ [
617+ ) cfg.users) ++ [
639618 config.security.googleOsLogin.enable
640619 ]);
641620 message = ''
642621 Neither the root account nor any wheel user has a password or SSH authorized key.
643− You must set one to prevent being locked out of your system.
644− If you really want to be locked out of your system, set users.allowNoPasswordLogin = true;
645− However you are most probably better off by setting users.mutableUsers = true; and
646− manually running passwd root to set the root password.
647− '';
622+ You must set one to prevent being locked out of your system.'';
648623 }
649624 ] ++ flatten (flip mapAttrsToList cfg.users (name: user:
650625 [
nixos/modules/config/xdg/portal.nix+12−23
@@ -1,4 +1,4 @@
1−{ config, pkgs, lib, ... }:
1+{ config, pkgs ,lib ,... }:
22
33with lib;
44
@@ -13,13 +13,13 @@ with lib;
1313
1414 options.xdg.portal = {
1515 enable =
16− mkEnableOption "<link xlink:href='https://github.com/flatpak/xdg-desktop-portal'>xdg desktop integration</link>" // {
16+ mkEnableOption "<link xlink:href='https://github.com/flatpak/xdg-desktop-portal'>xdg desktop integration</link>"//{
1717 default = false;
1818 };
1919
2020 extraPortals = mkOption {
2121 type = types.listOf types.package;
22− default = [ ];
22+ default = [];
2323 description = ''
2424 List of additional portals to add to path. Portals allow interaction
2525 with system, like choosing files or taking screenshots. At minimum,
@@ -46,36 +46,25 @@ with lib;
4646 let
4747 cfg = config.xdg.portal;
4848 packages = [ pkgs.xdg-desktop-portal ] ++ cfg.extraPortals;
49− joinedPortals = pkgs.buildEnv {
49+ joinedPortals = pkgs.symlinkJoin {
5050 name = "xdg-portals";
51− paths = packages;
52− pathsToLink = [ "/share/xdg-desktop-portal/portals" "/share/applications" ];
51+ paths = cfg.extraPortals;
5352 };
5453
55− in
56− mkIf cfg.enable {
54+ in mkIf cfg.enable {
5755
5856 assertions = [
59− {
60− assertion = cfg.extraPortals != [ ];
61− message = "Setting xdg.portal.enable to true requires a portal implementation in xdg.portal.extraPortals such as xdg-desktop-portal-gtk or xdg-desktop-portal-kde.";
57+ { assertion = (cfg.gtkUsePortal -> cfg.extraPortals != []);
58+ message = "Setting xdg.portal.gtkUsePortal to true requires a portal implementation in xdg.portal.extraPortals such as xdg-desktop-portal-gtk or xdg-desktop-portal-kde.";
6259 }
6360 ];
6461
65− services.dbus.packages = packages;
62+ services.dbus.packages = packages;
6663 systemd.packages = packages;
6764
68− environment = {
69− # fixes screen sharing on plasmawayland on non-chromium apps by linking
70− # share/applications/*.desktop files
71− # see https://github.com/NixOS/nixpkgs/issues/145174
72− systemPackages = [ joinedPortals ];
73− pathsToLink = [ "/share/applications" ];
74−
75− sessionVariables = {
76− GTK_USE_PORTAL = mkIf cfg.gtkUsePortal "1";
77− XDG_DESKTOP_PORTAL_DIR = "${joinedPortals}/share/xdg-desktop-portal/portals";
78− };
65+ environment.sessionVariables = {
66+ GTK_USE_PORTAL = mkIf cfg.gtkUsePortal "1";
67+ XDG_DESKTOP_PORTAL_DIR = "${joinedPortals}/share/xdg-desktop-portal/portals";
7968 };
8069 };
8170}
nixos/modules/hardware/all-firmware.nix+6−11
@@ -27,11 +27,11 @@ in {
2727 };
2828
2929 hardware.enableRedistributableFirmware = mkOption {
30− default = config.hardware.enableAllFirmware;
31− defaultText = lib.literalExpression "config.hardware.enableAllFirmware";
30+ default = false;
3231 type = types.bool;
3332 description = ''
3433 Turn on this option if you want to enable all the firmware with a license allowing redistribution.
34+ (i.e. free firmware and <literal>firmware-linux-nonfree</literal>)
3535 '';
3636 };
3737
@@ -51,13 +51,14 @@ in {
5151 config = mkMerge [
5252 (mkIf (cfg.enableAllFirmware || cfg.enableRedistributableFirmware) {
5353 hardware.firmware = with pkgs; [
54− linux-firmware
54+ firmwareLinuxNonfree
5555 intel2200BGFirmware
5656 rtl8192su-firmware
5757 rt5677-firmware
5858 rtl8723bs-firmware
5959 rtl8761b-firmware
6060 rtw88-firmware
61+ rtw89-firmware
6162 zd1211fw
6263 alsa-firmware
6364 sof-firmware
@@ -65,14 +66,12 @@ in {
6566 ] ++ optional (pkgs.stdenv.hostPlatform.isAarch32 || pkgs.stdenv.hostPlatform.isAarch64) raspberrypiWirelessFirmware
6667 ++ optionals (versionOlder config.boot.kernelPackages.kernel.version "4.13") [
6768 rtl8723bs-firmware
68− ] ++ optionals (versionOlder config.boot.kernelPackages.kernel.version "5.16") [
69− rtw89-firmware
7069 ];
7170 hardware.wirelessRegulatoryDatabase = true;
7271 })
7372 (mkIf cfg.enableAllFirmware {
7473 assertions = [{
75− assertion = !cfg.enableAllFirmware || config.nixpkgs.config.allowUnfree;
74+ assertion = !cfg.enableAllFirmware || (config.nixpkgs.config.allowUnfree or false);
7675 message = ''
7776 the list of hardware.enableAllFirmware contains non-redistributable licensed firmware files.
7877 This requires nixpkgs.config.allowUnfree to be true.
@@ -84,11 +83,7 @@ in {
8483 b43Firmware_5_1_138
8584 b43Firmware_6_30_163_46
8685 b43FirmwareCutter
87− xow_dongle-firmware
88− ] ++ optionals pkgs.stdenv.hostPlatform.isx86 [
89− facetimehd-calibration
90− facetimehd-firmware
91− ];
86+ ] ++ optional pkgs.stdenv.hostPlatform.isx86 facetimehd-firmware;
9287 })
9388 (mkIf cfg.wirelessRegulatoryDatabase {
9489 hardware.firmware = [ pkgs.wireless-regdb ];
nixos/modules/hardware/cpu/intel-sgx.nix+21−43
@@ -1,24 +1,10 @@
11{ config, lib, ... }:
22with lib;
33let
4− cfg = config.hardware.cpu.intel.sgx;
5− defaultPrvGroup = "sgx_prv";
4+ cfg = config.hardware.cpu.intel.sgx.provision;
5+ defaultGroup = "sgx_prv";
66in
77{
8− options.hardware.cpu.intel.sgx.enableDcapCompat = mkOption {
9− description = ''
10− Whether to enable backward compatibility for SGX software build for the
11− out-of-tree Intel SGX DCAP driver.
12−
13− Creates symbolic links for the SGX devices <literal>/dev/sgx_enclave</literal>
14− and <literal>/dev/sgx_provision</literal> to make them available as
15− <literal>/dev/sgx/enclave</literal> and <literal>/dev/sgx/provision</literal>,
16− respectively.
17− '';
18− type = types.bool;
19− default = true;
20− };
21−
228 options.hardware.cpu.intel.sgx.provision = {
239 enable = mkEnableOption "access to the Intel SGX provisioning device";
2410 user = mkOption {
@@ -29,7 +15,7 @@ in
2915 group = mkOption {
3016 description = "Group to assign to the SGX provisioning device.";
3117 type = types.str;
32− default = defaultPrvGroup;
18+ default = defaultGroup;
3319 };
3420 mode = mkOption {
3521 description = "Mode to set for the SGX provisioning device.";
@@ -38,32 +24,24 @@ in
3824 };
3925 };
4026
41− config = mkMerge [
42− (mkIf cfg.provision.enable {
43− assertions = [
44− {
45− assertion = hasAttr cfg.provision.user config.users.users;
46− message = "Given user does not exist";
47− }
48− {
49− assertion = (cfg.provision.group == defaultPrvGroup) || (hasAttr cfg.provision.group config.users.groups);
50− message = "Given group does not exist";
51− }
52− ];
27+ config = mkIf cfg.enable {
28+ assertions = [
29+ {
30+ assertion = hasAttr cfg.user config.users.users;
31+ message = "Given user does not exist";
32+ }
33+ {
34+ assertion = (cfg.group == defaultGroup) || (hasAttr cfg.group config.users.groups);
35+ message = "Given group does not exist";
36+ }
37+ ];
5338
54− users.groups = optionalAttrs (cfg.provision.group == defaultPrvGroup) {
55− "${cfg.provision.group}" = { };
56− };
39+ users.groups = optionalAttrs (cfg.group == defaultGroup) {
40+ "${cfg.group}" = { };
41+ };
5742
58− services.udev.extraRules = with cfg.provision; ''
59− SUBSYSTEM=="misc", KERNEL=="sgx_provision", OWNER="${user}", GROUP="${group}", MODE="${mode}"
60− '';
61− })
62− (mkIf cfg.enableDcapCompat {
63− services.udev.extraRules = ''
64− SUBSYSTEM=="misc", KERNEL=="sgx_enclave", SYMLINK+="sgx/enclave"
65− SUBSYSTEM=="misc", KERNEL=="sgx_provision", SYMLINK+="sgx/provision"
66− '';
67− })
68− ];
43+ services.udev.extraRules = ''
44+ SUBSYSTEM=="misc", KERNEL=="sgx_provision", OWNER="${cfg.user}", GROUP="${cfg.group}", MODE="${cfg.mode}"
45+ '';
46+ };
6947}
nixos/modules/hardware/hackrf.nixdeleted−23
@@ -1,23 +0,0 @@
1−{ config, lib, pkgs, ... }:
2−
3−let
4− cfg = config.hardware.hackrf;
5−
6−in
7−{
8− options.hardware.hackrf = {
9− enable = lib.mkOption {
10− type = lib.types.bool;
11− default = false;
12− description = ''
13− Enables hackrf udev rules and ensures 'plugdev' group exists.
14− This is a prerequisite to using HackRF devices without being root, since HackRF USB descriptors will be owned by plugdev through udev.
15− '';
16− };
17− };
18−
19− config = lib.mkIf cfg.enable {
20− services.udev.packages = [ pkgs.hackrf ];
21− users.groups.plugdev = { };
22− };
23−}
nixos/modules/hardware/network/b43.nix+4
@@ -24,6 +24,10 @@ let kernelVersion = config.boot.kernelPackages.kernel.version; in
2424 ###### implementation
2525
2626 config = mkIf config.networking.enableB43Firmware {
27+ assertions = singleton
28+ { assertion = lessThan 0 (builtins.compareVersions kernelVersion "3.2");
29+ message = "b43 firmware for kernels older than 3.2 not packaged yet!";
30+ };
2731 hardware.firmware = [ pkgs.b43Firmware_5_1_138 ];
2832 };
2933
nixos/modules/hardware/raid/hpsa.nix+1−4
@@ -8,10 +8,7 @@ let
88 version = "2.40-13.0";
99
1010 src = pkgs.fetchurl {
11− urls = [
12− "https://downloads.linux.hpe.com/SDR/downloads/MCP/Ubuntu/pool/non-free/${pname}-${version}_amd64.deb"
13− "http://apt.netangels.net/pool/main/h/hpssacli/${pname}-${version}_amd64.deb"
14− ];
11+ url = "https://downloads.linux.hpe.com/SDR/downloads/MCP/Ubuntu/pool/non-free/${pname}-${version}_amd64.deb";
1512 sha256 = "11w7fwk93lmfw0yya4jpjwdmgjimqxx6412sqa166g1pz4jil4sw";
1613 };
1714
nixos/modules/hardware/rtl-sdr.nix+4−8
@@ -5,14 +5,10 @@ let
55
66in {
77 options.hardware.rtl-sdr = {
8− enable = lib.mkOption {
9− type = lib.types.bool;
10− default = false;
11− description = ''
12− Enables rtl-sdr udev rules, ensures 'plugdev' group exists, and blacklists DVB kernel modules.
13− This is a prerequisite to using devices supported by rtl-sdr without being root, since rtl-sdr USB descriptors will be owned by plugdev through udev.
14− '';
15− };
8+ enable = lib.mkEnableOption ''
9+ Enables rtl-sdr udev rules, ensures 'plugdev' group exists, and blacklists DVB kernel modules.
10+ This is a prerequisite to using devices supported by rtl-sdr without being root, since rtl-sdr USB descriptors will be owned by plugdev through udev.
11+ '';
1612 };
1713
1814 config = lib.mkIf cfg.enable {
nixos/modules/hardware/video/amdgpu-pro.nix+22−25
@@ -11,17 +11,23 @@ let
1111 enabled = elem "amdgpu-pro" drivers;
1212
1313 package = config.boot.kernelPackages.amdgpu-pro;
14− package32 = pkgs.pkgsi686Linux.linuxPackages.amdgpu-pro.override { kernel = null; };
14+ package32 = pkgs.pkgsi686Linux.linuxPackages.amdgpu-pro.override { libsOnly = true; kernel = null; };
1515
1616 opengl = config.hardware.opengl;
1717
18+ kernel = pkgs.linux_4_9.override {
19+ extraConfig = ''
20+ KALLSYMS_ALL y
21+ '';
22+ };
23+
1824in
1925
2026{
2127
2228 config = mkIf enabled {
2329
24− nixpkgs.config.xorg.abiCompat = "1.20";
30+ nixpkgs.config.xorg.abiCompat = "1.19";
2531
2632 services.xserver.drivers = singleton
2733 { name = "amdgpu"; modules = [ package ]; display = true; };
@@ -30,40 +36,31 @@ in
3036 hardware.opengl.package32 = package32;
3137 hardware.opengl.setLdLibraryPath = true;
3238
33− boot.extraModulePackages = [ package.kmod ];
39+ boot.extraModulePackages = [ package ];
40+
41+ boot.kernelPackages =
42+ pkgs.recurseIntoAttrs (pkgs.linuxPackagesFor kernel);
3443
35− boot.kernelPackages = pkgs.linuxKernel.packagesFor
36− (pkgs.linuxKernel.kernels.linux_5_10.override {
37− structuredExtraConfig = {
38− DEVICE_PRIVATE = kernel.yes;
39− KALLSYMS_ALL = kernel.yes;
40− };
41− });
44+ boot.blacklistedKernelModules = [ "radeon" ];
4245
43− hardware.firmware = [ package.fw ];
46+ hardware.firmware = [ package ];
4447
4548 system.activationScripts.setup-amdgpu-pro = ''
46− ln -sfn ${package}/opt/amdgpu{,-pro} /run
49+ mkdir -p /run/lib
50+ ln -sfn ${package}/lib ${package.libCompatDir}
51+ ln -sfn ${package} /run/amdgpu-pro
52+ '' + optionalString opengl.driSupport32Bit ''
53+ ln -sfn ${package32}/lib ${package32.libCompatDir}
4754 '';
4855
4956 system.requiredKernelConfig = with config.lib.kernelConfig; [
50− (isYes "DEVICE_PRIVATE")
5157 (isYes "KALLSYMS_ALL")
5258 ];
5359
54− boot.initrd.extraUdevRulesCommands = mkIf (!config.boot.initrd.systemd.enable) ''
55− cp -v ${package}/etc/udev/rules.d/*.rules $out/
56− '';
57− boot.initrd.services.udev.packages = [ package ];
58−
59− environment.systemPackages =
60− [ package.vulkan ] ++
61− # this isn't really DRI, but we'll reuse this option for now
62− optional config.hardware.opengl.driSupport32Bit package32.vulkan;
63−
6460 environment.etc = {
65− "modprobe.d/blacklist-radeon.conf".source = package + "/etc/modprobe.d/blacklist-radeon.conf";
66− amd.source = package + "/etc/amd";
61+ "amd/amdrc".source = package + "/etc/amd/amdrc";
62+ "amd/amdapfxx.blb".source = package + "/etc/amd/amdapfxx.blb";
63+ "gbm/gbm.conf".source = package + "/etc/gbm/gbm.conf";
6764 };
6865
6966 };
nixos/modules/hardware/video/capture/mwprocapture.nix+5
@@ -16,6 +16,11 @@ in
1616
1717 config = mkIf cfg.enable {
1818
19+ assertions = singleton {
20+ assertion = versionAtLeast kernelPackages.kernel.version "3.2";
21+ message = "Magewell Pro Capture family module is not supported for kernels older than 3.2";
22+ };
23+
1924 boot.kernelModules = [ "ProCapture" ];
2025
2126 environment.systemPackages = [ kernelPackages.mwprocapture ];
nixos/modules/hardware/video/nvidia.nix+19−26
@@ -24,7 +24,6 @@ let
2424 primeEnabled = syncCfg.enable || offloadCfg.enable;
2525 nvidiaPersistencedEnabled = cfg.nvidiaPersistenced;
2626 nvidiaSettings = cfg.nvidiaSettings;
27− busIDType = types.strMatching "([[:print:]]+\:[0-9]{1,3}\:[0-9]{1,2}\:[0-9])?";
2827in
2928
3029{
@@ -69,7 +68,7 @@ in
6968 };
7069
7170 hardware.nvidia.prime.nvidiaBusId = mkOption {
72− type = busIDType;
71+ type = types.str;
7372 default = "";
7473 example = "PCI:1:0:0";
7574 description = ''
@@ -79,7 +78,7 @@ in
7978 };
8079
8180 hardware.nvidia.prime.intelBusId = mkOption {
82− type = busIDType;
81+ type = types.str;
8382 default = "";
8483 example = "PCI:0:2:0";
8584 description = ''
@@ -89,7 +88,7 @@ in
8988 };
9089
9190 hardware.nvidia.prime.amdgpuBusId = mkOption {
92− type = busIDType;
91+ type = types.str;
9392 default = "";
9493 example = "PCI:4:0:0";
9594 description = ''
@@ -179,6 +178,11 @@ in
179178 igpuBusId = if pCfg.intelBusId != "" then pCfg.intelBusId else pCfg.amdgpuBusId;
180179 in mkIf enabled {
181180 assertions = [
181+ {
182+ assertion = with config.services.xserver.displayManager; (gdm.enable && gdm.nvidiaWayland) -> cfg.modesetting.enable;
183+ message = "You cannot use wayland with GDM without modesetting enabled for NVIDIA drivers, set `hardware.nvidia.modesetting.enable = true`";
184+ }
185+
182186 {
183187 assertion = primeEnabled -> pCfg.intelBusId == "" || pCfg.amdgpuBusId == "";
184188 message = ''
@@ -245,7 +249,7 @@ in
245249 modules = optional (igpuDriver == "amdgpu") [ pkgs.xorg.xf86videoamdgpu ];
246250 deviceSection = ''
247251 BusID "${igpuBusId}"
248− ${optionalString (syncCfg.enable && igpuDriver != "amdgpu") ''Option "AccelMethod" "none"''}
252+ ${optionalString syncCfg.enable ''Option "AccelMethod" "none"''}
249253 '';
250254 } ++ singleton {
251255 name = "nvidia";
@@ -270,15 +274,9 @@ in
270274 Option "AllowNVIDIAGPUScreens"
271275 '';
272276
273− services.xserver.displayManager.setupCommands = let
274− sinkGpuProviderName = if igpuDriver == "amdgpu" then
275− # find the name of the provider if amdgpu
276− "`${pkgs.xorg.xrandr}/bin/xrandr --listproviders | ${pkgs.gnugrep}/bin/grep -i AMD | ${pkgs.gnused}/bin/sed -n 's/^.*name://p'`"
277− else
278− igpuDriver;
279− in optionalString syncCfg.enable ''
277+ services.xserver.displayManager.setupCommands = optionalString syncCfg.enable ''
280278 # Added by nvidia configuration module for Optimus/PRIME.
281− ${pkgs.xorg.xrandr}/bin/xrandr --setprovideroutputsource "${sinkGpuProviderName}" NVIDIA-0
279+ ${pkgs.xorg.xrandr}/bin/xrandr --setprovideroutputsource ${igpuDriver} NVIDIA-0
282280 ${pkgs.xorg.xrandr}/bin/xrandr --auto
283281 '';
284282
@@ -290,14 +288,10 @@ in
290288 environment.etc."egl/egl_external_platform.d".source =
291289 "/run/opengl-driver/share/egl/egl_external_platform.d/";
292290
293− hardware.opengl.extraPackages = [
294− nvidia_x11.out
295− pkgs.nvidia-vaapi-driver
296− ];
297− hardware.opengl.extraPackages32 = [
298− nvidia_x11.lib32
299− pkgs.pkgsi686Linux.nvidia-vaapi-driver
300− ];
291+ hardware.opengl.package = mkIf (!offloadCfg.enable) nvidia_x11.out;
292+ hardware.opengl.package32 = mkIf (!offloadCfg.enable) nvidia_x11.lib32;
293+ hardware.opengl.extraPackages = optional offloadCfg.enable nvidia_x11.out;
294+ hardware.opengl.extraPackages32 = optional offloadCfg.enable nvidia_x11.lib32;
301295
302296 environment.systemPackages = [ nvidia_x11.bin ]
303297 ++ optionals cfg.nvidiaSettings [ nvidia_x11.settings ]
@@ -361,12 +355,11 @@ in
361355 services.udev.extraRules =
362356 ''
363357 # Create /dev/nvidia-uvm when the nvidia-uvm module is loaded.
364− KERNEL=="nvidia", RUN+="${pkgs.runtimeShell} -c 'mknod -m 666 /dev/nvidiactl c 195 255'"
365− KERNEL=="nvidia_modeset", RUN+="${pkgs.runtimeShell} -c 'mknod -m 666 /dev/nvidia-modeset c 195 254'"
366− KERNEL=="card*", SUBSYSTEM=="drm", DRIVERS=="nvidia", PROGRAM="${pkgs.gnugrep}/bin/grep 'Device Minor:' /proc/driver/nvidia/gpus/%b/information", \
367− RUN+="${pkgs.runtimeShell} -c 'mknod -m 666 /dev/nvidia%c{3} c 195 %c{3}"
358+ KERNEL=="nvidia", RUN+="${pkgs.runtimeShell} -c 'mknod -m 666 /dev/nvidiactl c $$(grep nvidia-frontend /proc/devices | cut -d \ -f 1) 255'"
359+ KERNEL=="nvidia_modeset", RUN+="${pkgs.runtimeShell} -c 'mknod -m 666 /dev/nvidia-modeset c $$(grep nvidia-frontend /proc/devices | cut -d \ -f 1) 254'"
360+ KERNEL=="card*", SUBSYSTEM=="drm", DRIVERS=="nvidia", RUN+="${pkgs.runtimeShell} -c 'mknod -m 666 /dev/nvidia%n c $$(grep nvidia-frontend /proc/devices | cut -d \ -f 1) %n'"
368361 KERNEL=="nvidia_uvm", RUN+="${pkgs.runtimeShell} -c 'mknod -m 666 /dev/nvidia-uvm c $$(grep nvidia-uvm /proc/devices | cut -d \ -f 1) 0'"
369− KERNEL=="nvidia_uvm", RUN+="${pkgs.runtimeShell} -c 'mknod -m 666 /dev/nvidia-uvm-tools c $$(grep nvidia-uvm /proc/devices | cut -d \ -f 1) 1'"
362+ KERNEL=="nvidia_uvm", RUN+="${pkgs.runtimeShell} -c 'mknod -m 666 /dev/nvidia-uvm-tools c $$(grep nvidia-uvm /proc/devices | cut -d \ -f 1) 0'"
370363 '' + optionalString cfg.powerManagement.finegrained ''
371364 # Remove NVIDIA USB xHCI Host Controller devices, if present
372365 ACTION=="add", SUBSYSTEM=="pci", ATTR{vendor}=="0x10de", ATTR{class}=="0x0c0330", ATTR{remove}="1"
nixos/modules/hardware/video/webcam/facetimehd.nix+6−14
@@ -14,28 +14,20 @@ in
1414
1515 options.hardware.facetimehd.enable = mkEnableOption "facetimehd kernel module";
1616
17− options.hardware.facetimehd.withCalibration = mkOption {
18− default = false;
19− example = true;
20− type = types.bool;
21− description = ''
22− Whether to include sensor calibration files for facetimehd.
23− This makes colors look much better but is experimental, see
24− <link xlink:href="https://github.com/patjak/facetimehd/wiki/Extracting-the-sensor-calibration-files"/>
25− for details.
26− '';
27− };
28−
2917 config = mkIf cfg.enable {
3018
19+ assertions = singleton {
20+ assertion = versionAtLeast kernelPackages.kernel.version "3.19";
21+ message = "facetimehd is not supported for kernels older than 3.19";
22+ };
23+
3124 boot.kernelModules = [ "facetimehd" ];
3225
3326 boot.blacklistedKernelModules = [ "bdc_pci" ];
3427
3528 boot.extraModulePackages = [ kernelPackages.facetimehd ];
3629
37− hardware.firmware = [ pkgs.facetimehd-firmware ]
38− ++ optional cfg.withCalibration pkgs.facetimehd-calibration;
30+ hardware.firmware = [ pkgs.facetimehd-firmware ];
3931
4032 # unload module during suspend/hibernate as it crashes the whole system
4133 powerManagement.powerDownCommands = ''
nixos/modules/hardware/xone.nixdeleted−23
@@ -1,23 +0,0 @@
1−{ config, lib, pkgs, ... }:
2−
3−with lib;
4−let
5− cfg = config.hardware.xone;
6−in
7−{
8− options.hardware.xone = {
9− enable = mkEnableOption "the xone driver for Xbox One and Xbobx Series X|S accessories";
10− };
11−
12− config = mkIf cfg.enable {
13− boot = {
14− blacklistedKernelModules = [ "xpad" "mt76x2u" ];
15− extraModulePackages = with config.boot.kernelPackages; [ xone ];
16− };
17− hardware.firmware = [ pkgs.xow_dongle-firmware ];
18− };
19−
20− meta = {
21− maintainers = with maintainers; [ rhysmdnz ];
22− };
23−}
nixos/modules/i18n/input-method/fcitx5.nix+11−20
@@ -5,9 +5,7 @@ with lib;
55let
66 im = config.i18n.inputMethod;
77 cfg = im.fcitx5;
8− addons = cfg.addons ++ optional cfg.enableRimeData pkgs.rime-data;
9− fcitx5Package = pkgs.fcitx5-with-addons.override { inherit addons; };
10− whetherRimeDataDir = any (p: p.pname == "fcitx5-rime") cfg.addons;
8+ fcitx5Package = pkgs.fcitx5-with-addons.override { inherit (cfg) addons; };
119in {
1210 options = {
1311 i18n.inputMethod.fcitx5 = {
@@ -19,29 +17,22 @@ in {
1917 Enabled Fcitx5 addons.
2018 '';
2119 };
22−
23− enableRimeData = mkEnableOption "default rime-data with fcitx5-rime";
2420 };
2521 };
2622
2723 config = mkIf (im.enabled == "fcitx5") {
2824 i18n.inputMethod.package = fcitx5Package;
2925
30− environment = mkMerge [{
31− variables = {
32− GTK_IM_MODULE = "fcitx";
33− QT_IM_MODULE = "fcitx";
34− XMODIFIERS = "@im=fcitx";
35− };
36− }
37− (mkIf whetherRimeDataDir {
38− pathsToLink = [
39− "/share/rime-data"
40− ];
26+ environment.variables = {
27+ GTK_IM_MODULE = "fcitx";
28+ QT_IM_MODULE = "fcitx";
29+ XMODIFIERS = "@im=fcitx";
30+ };
4131
42− variables = {
43− NIX_RIME_DATA_DIR = "/run/current-system/sw/share/rime-data";
44− };
45− })];
32+ systemd.user.services.fcitx5-daemon = {
33+ enable = true;
34+ script = "${fcitx5Package}/bin/fcitx5";
35+ wantedBy = [ "graphical-session.target" ];
36+ };
4637 };
4738}
nixos/modules/installer/cd-dvd/channel.nix+1−2
@@ -39,8 +39,7 @@ in
3939 echo "unpacking the NixOS/Nixpkgs sources..."
4040 mkdir -p /nix/var/nix/profiles/per-user/root
4141 ${config.nix.package.out}/bin/nix-env -p /nix/var/nix/profiles/per-user/root/channels \
42− -i ${channelSources} --quiet --option build-use-substitutes false \
43− ${optionalString config.boot.initrd.systemd.enable "--option sandbox false"} # There's an issue with pivot_root
42+ -i ${channelSources} --quiet --option build-use-substitutes false
4443 mkdir -m 0700 -p /root/.nix-defexpr
4544 ln -s /nix/var/nix/profiles/per-user/root/channels /root/.nix-defexpr/channels
4645 mkdir -m 0755 -p /var/lib/nixos
nixos/modules/installer/cd-dvd/installation-cd-graphical-base.nix+8−14
@@ -35,28 +35,22 @@ with lib;
3535 # Enable sound in graphical iso's.
3636 hardware.pulseaudio.enable = true;
3737
38− # Spice guest additions
39− services.spice-vdagentd.enable = true;
40−
41− # Enable plymouth
42− boot.plymouth.enable = true;
43−
44− environment.defaultPackages = with pkgs; [
38+ environment.systemPackages = [
4539 # Include gparted for partitioning disks.
46− gparted
40+ pkgs.gparted
4741
4842 # Include some editors.
49− vim
50− nano
43+ pkgs.vim
44+ pkgs.bvi # binary editor
45+ pkgs.joe
5146
5247 # Include some version control tools.
53− git
54− rsync
48+ pkgs.git
5549
5650 # Firefox for reading the manual.
57− firefox
51+ pkgs.firefox
5852
59− glxinfo
53+ pkgs.glxinfo
6054 ];
6155
6256}
nixos/modules/installer/cd-dvd/installation-cd-graphical-calamares-gnome.nixdeleted−59
@@ -1,59 +0,0 @@
1−# This module defines a NixOS installation CD that contains GNOME.
2−
3−{ pkgs, ... }:
4−
5−{
6− imports = [ ./installation-cd-graphical-calamares.nix ];
7−
8− isoImage.edition = "gnome";
9−
10− services.xserver.desktopManager.gnome = {
11− # Add Firefox and other tools useful for installation to the launcher
12− favoriteAppsOverride = ''
13− [org.gnome.shell]
14− favorite-apps=[ 'firefox.desktop', 'nixos-manual.desktop', 'org.gnome.Console.desktop', 'org.gnome.Nautilus.desktop', 'gparted.desktop', 'io.calamares.calamares.desktop' ]
15− '';
16−
17− # Override GNOME defaults to disable GNOME tour and disable suspend
18− extraGSettingsOverrides = ''
19− [org.gnome.shell]
20− welcome-dialog-last-shown-version='9999999999'
21−
22− [org.gnome.settings-daemon.plugins.power]
23− sleep-inactive-ac-type='nothing'
24− sleep-inactive-battery-type='nothing'
25− '';
26−
27− extraGSettingsOverridePackages = [ pkgs.gnome.gnome-settings-daemon ];
28−
29− enable = true;
30− };
31−
32− # Theme calamares with GNOME theme
33− qt5 = {
34− enable = true;
35− platformTheme = "gnome";
36− };
37−
38− # Fix scaling for calamares on wayland
39− environment.variables = {
40− QT_QPA_PLATFORM = "$([[ $XDG_SESSION_TYPE = \"wayland\" ]] && echo \"wayland\")";
41− };
42−
43− services.xserver.displayManager = {
44− gdm = {
45− enable = true;
46− # autoSuspend makes the machine automatically suspend after inactivity.
47− # It's possible someone could/try to ssh'd into the machine and obviously
48− # have issues because it's inactive.
49− # See:
50− # * https://github.com/NixOS/nixpkgs/pull/63790
51− # * https://gitlab.gnome.org/GNOME/gnome-control-center/issues/22
52− autoSuspend = false;
53− };
54− autoLogin = {
55− enable = true;
56− user = "nixos";
57− };
58− };
59−}
nixos/modules/installer/cd-dvd/installation-cd-graphical-calamares-plasma5.nixdeleted−49
@@ -1,49 +0,0 @@
1−# This module defines a NixOS installation CD that contains X11 and
2−# Plasma 5.
3−
4−{ pkgs, ... }:
5−
6−{
7− imports = [ ./installation-cd-graphical-calamares.nix ];
8−
9− isoImage.edition = "plasma5";
10−
11− services.xserver = {
12− desktopManager.plasma5 = {
13− enable = true;
14− };
15−
16− # Automatically login as nixos.
17− displayManager = {
18− sddm.enable = true;
19− autoLogin = {
20− enable = true;
21− user = "nixos";
22− };
23− };
24− };
25−
26− environment.systemPackages = with pkgs; [
27− # Graphical text editor
28− kate
29− ];
30−
31− system.activationScripts.installerDesktop = let
32−
33− # Comes from documentation.nix when xserver and nixos.enable are true.
34− manualDesktopFile = "/run/current-system/sw/share/applications/nixos-manual.desktop";
35−
36− homeDir = "/home/nixos/";
37− desktopDir = homeDir + "Desktop/";
38−
39− in ''
40− mkdir -p ${desktopDir}
41− chown nixos ${homeDir} ${desktopDir}
42−
43− ln -sfT ${manualDesktopFile} ${desktopDir + "nixos-manual.desktop"}
44− ln -sfT ${pkgs.gparted}/share/applications/gparted.desktop ${desktopDir + "gparted.desktop"}
45− ln -sfT ${pkgs.konsole}/share/applications/org.kde.konsole.desktop ${desktopDir + "org.kde.konsole.desktop"}
46− ln -sfT ${pkgs.calamares-nixos}/share/applications/io.calamares.calamares.desktop ${desktopDir + "io.calamares.calamares.desktop"}
47− '';
48−
49−}
nixos/modules/installer/cd-dvd/installation-cd-graphical-calamares.nixdeleted−20
@@ -1,20 +0,0 @@
1−# This module adds the calamares installer to the basic graphical NixOS
2−# installation CD.
3−
4−{ pkgs, ... }:
5−let
6− calamares-nixos-autostart = pkgs.makeAutostartItem { name = "io.calamares.calamares"; package = pkgs.calamares-nixos; };
7−in
8−{
9− imports = [ ./installation-cd-graphical-base.nix ];
10−
11− environment.systemPackages = with pkgs; [
12− # Calamares for graphical installation
13− libsForQt5.kpmcore
14− calamares-nixos
15− calamares-nixos-autostart
16− calamares-nixos-extensions
17− # Needed for calamares QML module packagechooserq
18− libsForQt5.full
19− ];
20−}
nixos/modules/installer/cd-dvd/installation-cd-graphical-gnome.nix+5−3
@@ -1,6 +1,8 @@
11# This module defines a NixOS installation CD that contains GNOME.
22
3−{ ... }:
3+{ lib, ... }:
4+
5+with lib;
46
57{
68 imports = [ ./installation-cd-graphical-base.nix ];
@@ -8,10 +10,10 @@
810 isoImage.edition = "gnome";
911
1012 services.xserver.desktopManager.gnome = {
11− # Add Firefox and other tools useful for installation to the launcher
13+ # Add firefox to favorite-apps
1214 favoriteAppsOverride = ''
1315 [org.gnome.shell]
14− favorite-apps=[ 'firefox.desktop', 'nixos-manual.desktop', 'org.gnome.Terminal.desktop', 'org.gnome.Nautilus.desktop', 'gparted.desktop' ]
16+ favorite-apps=[ 'firefox.desktop', 'org.gnome.Geary.desktop', 'org.gnome.Calendar.desktop', 'org.gnome.Music.desktop', 'org.gnome.Photos.desktop', 'org.gnome.Nautilus.desktop' ]
1517 '';
1618 enable = true;
1719 };
nixos/modules/installer/cd-dvd/installation-cd-graphical-plasma5.nix+3−1
@@ -1,7 +1,9 @@
11# This module defines a NixOS installation CD that contains X11 and
22# Plasma 5.
33
4−{ pkgs, ... }:
4+{ config, lib, pkgs, ... }:
5+
6+with lib;
57
68{
79 imports = [ ./installation-cd-graphical-base.nix ];
nixos/modules/installer/cd-dvd/iso-image.nix+29−39
@@ -91,9 +91,29 @@ let
9191 SERIAL 0 115200
9292 TIMEOUT ${builtins.toString syslinuxTimeout}
9393 UI vesamenu.c32
94+ MENU TITLE NixOS
9495 MENU BACKGROUND /isolinux/background.png
95−
96− ${config.isoImage.syslinuxTheme}
96+ MENU RESOLUTION 800 600
97+ MENU CLEAR
98+ MENU ROWS 6
99+ MENU CMDLINEROW -4
100+ MENU TIMEOUTROW -3
101+ MENU TABMSGROW -2
102+ MENU HELPMSGROW -1
103+ MENU HELPMSGENDROW -1
104+ MENU MARGIN 0
105+
106+ # FG:AARRGGBB BG:AARRGGBB shadow
107+ MENU COLOR BORDER 30;44 #00000000 #00000000 none
108+ MENU COLOR SCREEN 37;40 #FF000000 #00E2E8FF none
109+ MENU COLOR TABMSG 31;40 #80000000 #00000000 none
110+ MENU COLOR TIMEOUT 1;37;40 #FF000000 #00000000 none
111+ MENU COLOR TIMEOUT_MSG 37;40 #FF000000 #00000000 none
112+ MENU COLOR CMDMARK 1;36;40 #FF000000 #00000000 none
113+ MENU COLOR CMDLINE 37;40 #FF000000 #00000000 none
114+ MENU COLOR TITLE 1;36;44 #00000000 #00000000 none
115+ MENU COLOR UNSEL 37;44 #FF000000 #00000000 none
116+ MENU COLOR SEL 7;37;40 #FFFFFFFF #FF5277C3 std
97117
98118 DEFAULT boot
99119
@@ -581,37 +601,6 @@ in
581601 '';
582602 };
583603
584− isoImage.syslinuxTheme = mkOption {
585− default = ''
586− MENU TITLE NixOS
587− MENU RESOLUTION 800 600
588− MENU CLEAR
589− MENU ROWS 6
590− MENU CMDLINEROW -4
591− MENU TIMEOUTROW -3
592− MENU TABMSGROW -2
593− MENU HELPMSGROW -1
594− MENU HELPMSGENDROW -1
595− MENU MARGIN 0
596−
597− # FG:AARRGGBB BG:AARRGGBB shadow
598− MENU COLOR BORDER 30;44 #00000000 #00000000 none
599− MENU COLOR SCREEN 37;40 #FF000000 #00E2E8FF none
600− MENU COLOR TABMSG 31;40 #80000000 #00000000 none
601− MENU COLOR TIMEOUT 1;37;40 #FF000000 #00000000 none
602− MENU COLOR TIMEOUT_MSG 37;40 #FF000000 #00000000 none
603− MENU COLOR CMDMARK 1;36;40 #FF000000 #00000000 none
604− MENU COLOR CMDLINE 37;40 #FF000000 #00000000 none
605− MENU COLOR TITLE 1;36;44 #00000000 #00000000 none
606− MENU COLOR UNSEL 37;44 #FF000000 #00000000 none
607− MENU COLOR SEL 7;37;40 #FFFFFFFF #FF5277C3 std
608− '';
609− type = types.str;
610− description = ''
611− The syslinux theme used for BIOS boot.
612− '';
613− };
614−
615604 isoImage.appendToMenuLabel = mkOption {
616605 default = " Installer";
617606 example = " Live System";
@@ -745,13 +734,13 @@ in
745734 { source = config.system.build.squashfsStore;
746735 target = "/nix-store.squashfs";
747736 }
737+ { source = config.isoImage.splashImage;
738+ target = "/isolinux/background.png";
739+ }
748740 { source = pkgs.writeText "version" config.system.nixos.label;
749741 target = "/version.txt";
750742 }
751743 ] ++ optionals canx86BiosBoot [
752− { source = config.isoImage.splashImage;
753− target = "/isolinux/background.png";
754− }
755744 { source = pkgs.substituteAll {
756745 name = "isolinux.cfg";
757746 src = pkgs.writeText "isolinux.cfg-in" isolinuxCfg;
@@ -772,9 +761,6 @@ in
772761 { source = (pkgs.writeTextDir "grub/loopback.cfg" "source /EFI/boot/grub.cfg") + "/grub";
773762 target = "/boot/grub";
774763 }
775− { source = config.isoImage.efiSplashImage;
776− target = "/EFI/boot/efi-background.png";
777− }
778764 ] ++ optionals (config.boot.loader.grub.memtest86.enable && canx86BiosBoot) [
779765 { source = "${pkgs.memtest86plus}/memtest.bin";
780766 target = "/boot/memtest.bin";
@@ -783,6 +769,10 @@ in
783769 { source = config.isoImage.grubTheme;
784770 target = "/EFI/boot/grub-theme";
785771 }
772+ ] ++ [
773+ { source = config.isoImage.efiSplashImage;
774+ target = "/EFI/boot/efi-background.png";
775+ }
786776 ];
787777
788778 boot.loader.timeout = 10;
nixos/modules/installer/cd-dvd/system-tarball-sheevaplug.nix+3−3
@@ -87,19 +87,19 @@ in
8787 boot.initrd.availableKernelModules =
8888 [ "mvsdio" "reiserfs" "ext3" "ums-cypress" "rtc_mv" "ext4" ];
8989
90− boot.postBootCommands = lib.mkIf (!boot.initrd.systemd.enable)
90+ boot.postBootCommands =
9191 ''
9292 mkdir -p /mnt
9393
9494 cp ${dummyConfiguration} /etc/nixos/configuration.nix
9595 '';
9696
97− boot.initrd.extraUtilsCommands = lib.mkIf (!boot.initrd.systemd.enable)
97+ boot.initrd.extraUtilsCommands =
9898 ''
9999 copy_bin_and_libs ${pkgs.util-linux}/sbin/hwclock
100100 '';
101101
102− boot.initrd.postDeviceCommands = lib.mkIf (!boot.initrd.systemd.enable)
102+ boot.initrd.postDeviceCommands =
103103 ''
104104 hwclock -s
105105 '';
nixos/modules/installer/kexec/kexec-boot.nixdeleted−51
@@ -1,51 +0,0 @@
1−# This module exposes a config.system.build.kexecBoot attribute,
2−# which returns a directory with kernel, initrd and a shell script
3−# running the necessary kexec commands.
4−
5−# It's meant to be scp'ed to a machine with working ssh and kexec binary
6−# installed.
7−
8−# This is useful for (cloud) providers where you can't boot a custom image, but
9−# get some Debian or Ubuntu installation.
10−
11−{ pkgs
12−, modulesPath
13−, config
14−, ...
15−}:
16−{
17− imports = [
18− (modulesPath + "/installer/netboot/netboot-minimal.nix")
19− ];
20−
21− config = {
22− system.build.kexecBoot =
23− let
24− kexecScript = pkgs.writeScript "kexec-boot" ''
25− #!/usr/bin/env bash
26− if ! kexec -v >/dev/null 2>&1; then
27− echo "kexec not found: please install kexec-tools" 2>&1
28− exit 1
29− fi
30− SCRIPT_DIR=$( cd -- "$( dirname -- "''${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
31− kexec --load ''${SCRIPT_DIR}/bzImage \
32− --initrd=''${SCRIPT_DIR}/initrd.gz \
33− --command-line "init=${config.system.build.toplevel}/init ${toString config.boot.kernelParams}"
34− kexec -e
35− ''; in
36− pkgs.linkFarm "kexec-tree" [
37− {
38− name = "initrd.gz";
39− path = "${config.system.build.netbootRamdisk}/initrd";
40− }
41− {
42− name = "bzImage";
43− path = "${config.system.build.kernel}/${config.system.boot.loader.kernelFile}";
44− }
45− {
46− name = "kexec-boot";
47− path = kexecScript;
48− }
49− ];
50− };
51−}
nixos/modules/installer/netboot/netboot.nix+1−3
@@ -94,9 +94,7 @@ with lib;
9494
9595 system.build.netbootIpxeScript = pkgs.writeTextDir "netboot.ipxe" ''
9696 #!ipxe
97− # Use the cmdline variable to allow the user to specify custom kernel params
98− # when chainloading this script from other iPXE scripts like netboot.xyz
99− kernel ${pkgs.stdenv.hostPlatform.linux-kernel.target} init=${config.system.build.toplevel}/init initrd=initrd ${toString config.boot.kernelParams} ''${cmdline}
97+ kernel ${pkgs.stdenv.hostPlatform.linux-kernel.target} init=${config.system.build.toplevel}/init initrd=initrd ${toString config.boot.kernelParams}
10098 initrd initrd
10199 boot
102100 '';
nixos/modules/installer/sd-card/sd-image-aarch64.nix−15
@@ -24,9 +24,6 @@
2424 [pi3]
2525 kernel=u-boot-rpi3.bin
2626
27− [pi02]
28− kernel=u-boot-rpi3.bin
29−
3027 [pi4]
3128 kernel=u-boot-rpi4.bin
3229 enable_gic=1
@@ -36,15 +33,6 @@
3633 # what the pi3 firmware does by default.
3734 disable_overscan=1
3835
39− # Supported in newer board revisions
40− arm_boost=1
41−
42− [cm4]
43− # Enable host mode on the 2711 built-in XHCI USB controller.
44− # This line should be removed if the legacy DWC2 controller is required
45− # (e.g. for USB device mode) or if USB support is not required.
46− otg_mode=1
47−
4836 [all]
4937 # Boot in 64-bit mode.
5038 arm_64bit=1
@@ -71,9 +59,6 @@
7159 cp ${pkgs.ubootRaspberryPi4_64bit}/u-boot.bin firmware/u-boot-rpi4.bin
7260 cp ${pkgs.raspberrypi-armstubs}/armstub8-gic.bin firmware/armstub8-gic.bin
7361 cp ${pkgs.raspberrypifw}/share/raspberrypi/boot/bcm2711-rpi-4-b.dtb firmware/
74− cp ${pkgs.raspberrypifw}/share/raspberrypi/boot/bcm2711-rpi-400.dtb firmware/
75− cp ${pkgs.raspberrypifw}/share/raspberrypi/boot/bcm2711-rpi-cm4.dtb firmware/
76− cp ${pkgs.raspberrypifw}/share/raspberrypi/boot/bcm2711-rpi-cm4s.dtb firmware/
7762 '';
7863 populateRootCommands = ''
7964 mkdir -p ./files/boot
nixos/modules/installer/sd-card/sd-image-riscv64-qemu-installer.nixdeleted−10
@@ -1,10 +0,0 @@
1−{
2− imports = [
3− ../../profiles/installation-device.nix
4− ./sd-image-riscv64-qemu.nix
5− ];
6−
7− # the installation media is also the installation target,
8− # so we don't want to provide the installation configuration.nix.
9− installer.cloneConfig = false;
10−}
nixos/modules/installer/tools/nix-fallback-paths.nix+5−5
@@ -1,7 +1,7 @@
11{
2− x86_64-linux = "/nix/store/yx36yzxpw1hn4fz8iyf1rfyd56jg3yf4-nix-2.8.0";
3− i686-linux = "/nix/store/c0hg806zvwg800qbszzj8ff4a224kjgf-nix-2.8.0";
4− aarch64-linux = "/nix/store/wic2832ll53q392r2wks4xr2nrk7p8p5-nix-2.8.0";
5− x86_64-darwin = "/nix/store/5yqdvnkmkrhl36xh0qy31pymdphjimdd-nix-2.8.0";
6− aarch64-darwin = "/nix/store/izc9592szrnpv8n86hr88bhpyc9g6b4s-nix-2.8.0";
2+ x86_64-linux = "/nix/store/hapw7q1fkjxvprnkcgw9ppczavg4daj2-nix-2.4";
3+ i686-linux = "/nix/store/8qlvh8pp5j8wgrzj3is2jlbhgrwgsiy9-nix-2.4";
4+ aarch64-linux = "/nix/store/h48lkygcqj4hdibbdnpl67q7ks6vkrd6-nix-2.4";
5+ x86_64-darwin = "/nix/store/c3mvzszvyzakvcp9spnjvsb8m2bpjk7m-nix-2.4";
6+ aarch64-darwin = "/nix/store/hbfqs62r0hga2yr4zi5kc7fzhf71bq9n-nix-2.4";
77}
nixos/modules/installer/tools/nixos-build-vms/build-vms.nix−3
@@ -25,7 +25,4 @@ pkgs.runCommand "nixos-build-vms" { nativeBuildInputs = [ pkgs.makeWrapper ]; }
2525 ln -s ${interactiveDriver}/bin/nixos-test-driver $out/bin/nixos-run-vms
2626 wrapProgram $out/bin/nixos-test-driver \
2727 --add-flags "--interactive"
28− wrapProgram $out/bin/nixos-run-vms \
29− --set testScript "${pkgs.writeText "start-all" "start_all(); join_all();"}" \
30− --add-flags "--no-interactive"
3128''
nixos/modules/installer/tools/nixos-enter.sh+11−13
@@ -63,32 +63,32 @@ mount --rbind /sys "$mountPoint/sys"
6363
6464# modified from https://github.com/archlinux/arch-install-scripts/blob/bb04ab435a5a89cd5e5ee821783477bc80db797f/arch-chroot.in#L26-L52
6565chroot_add_resolv_conf() {
66− local chrootDir="$1" resolvConf="$1/etc/resolv.conf"
66+ local chrootdir=$1 resolv_conf=$1/etc/resolv.conf
6767
6868 [[ -e /etc/resolv.conf ]] || return 0
6969
7070 # Handle resolv.conf as a symlink to somewhere else.
71− if [[ -L "$resolvConf" ]]; then
71+ if [[ -L $chrootdir/etc/resolv.conf ]]; then
7272 # readlink(1) should always give us *something* since we know at this point
7373 # it's a symlink. For simplicity, ignore the case of nested symlinks.
74− # We also ignore the possibility of `../`s escaping the root.
75− resolvConf="$(readlink "$resolvConf")"
76− if [[ "$resolvConf" = /* ]]; then
77− resolvConf="$chrootDir$resolvConf"
74+ # We also ignore the possibility if `../`s escaping the root.
75+ resolv_conf=$(readlink "$chrootdir/etc/resolv.conf")
76+ if [[ $resolv_conf = /* ]]; then
77+ resolv_conf=$chrootdir$resolv_conf
7878 else
79− resolvConf="$chrootDir/etc/$resolvConf"
79+ resolv_conf=$chrootdir/etc/$resolv_conf
8080 fi
8181 fi
8282
8383 # ensure file exists to bind mount over
84− if [[ ! -f "$resolvConf" ]]; then
85− install -Dm644 /dev/null "$resolvConf" || return 1
84+ if [[ ! -f $resolv_conf ]]; then
85+ install -Dm644 /dev/null "$resolv_conf" || return 1
8686 fi
8787
88− mount --bind /etc/resolv.conf "$resolvConf"
88+ mount --bind /etc/resolv.conf "$resolv_conf"
8989}
9090
91−chroot_add_resolv_conf "$mountPoint" || echo "$0: failed to set up resolv.conf" >&2
91+chroot_add_resolv_conf "$mountPoint" || print "ERROR: failed to set up resolv.conf"
9292
9393(
9494 # If silent, write both stdout and stderr of activation script to /dev/null
@@ -104,6 +104,4 @@ chroot_add_resolv_conf "$mountPoint" || echo "$0: failed to set up resolv.conf"
104104 chroot "$mountPoint" systemd-tmpfiles --create --remove --exclude-prefix=/dev 1>&2 || true
105105)
106106
107−unset TMPDIR
108−
109107exec chroot "$mountPoint" "${command[@]}"
nixos/modules/installer/tools/nixos-generate-config.pl+6−16
@@ -51,9 +51,7 @@ for (my $n = 0; $n < scalar @ARGV; $n++) {
5151 $n++;
5252 $rootDir = $ARGV[$n];
5353 die "$0: ‘--root’ requires an argument\n" unless defined $rootDir;
54− die "$0: no need to specify `/` with `--root`, it is the default\n" if $rootDir eq "/";
5554 $rootDir =~ s/\/*$//; # remove trailing slashes
56− $rootDir = File::Spec->rel2abs($rootDir); # resolve absolute path
5755 }
5856 elsif ($arg eq "--force") {
5957 $force = 1;
@@ -281,7 +279,7 @@ if (`lsblk -o TYPE` =~ "lvm") {
281279 push @initrdKernelModules, "dm-snapshot";
282280}
283281
284−my $virt = `@detectvirt@`;
282+my $virt = `systemd-detect-virt`;
285283chomp $virt;
286284
287285
@@ -400,7 +398,7 @@ foreach my $fs (read_file("/proc/self/mountinfo")) {
400398 # Maybe this is a bind-mount of a filesystem we saw earlier?
401399 if (defined $fsByDev{$fields[2]}) {
402400 # Make sure this isn't a btrfs subvolume.
403− my $msg = `@btrfs@ subvol show $rootDir$mountPoint`;
401+ my $msg = `btrfs subvol show $rootDir$mountPoint`;
404402 if ($? != 0 || $msg =~ /ERROR:/s) {
405403 my $path = $fields[3]; $path = "" if $path eq "/";
406404 my $base = $fsByDev{$fields[2]};
@@ -438,7 +436,7 @@ EOF
438436
439437 # Is this a btrfs filesystem?
440438 if ($fsType eq "btrfs") {
441− my ($status, @info) = runCommand("@btrfs@ subvol show $rootDir$mountPoint");
439+ my ($status, @info) = runCommand("btrfs subvol show $rootDir$mountPoint");
442440 if ($status != 0 || join("", @info) =~ /ERROR:/) {
443441 die "Failed to retrieve subvolume info for $mountPoint\n";
444442 }
@@ -560,8 +558,6 @@ if (!$noFilesystems) {
560558 $fsAndSwap .= "swapDevices =" . multiLineList(" ", @swapDevices) . ";\n";
561559}
562560
563−my $networkingDhcpConfig = generateNetworkingDhcpConfig();
564−
565561my $hwConfig = <<EOF;
566562# Do not modify this file! It was generated by ‘nixos-generate-config’
567563# and may be overwritten by future invocations. Please make changes
@@ -576,7 +572,6 @@ my $hwConfig = <<EOF;
576572 boot.kernelModules = [$kernelModules ];
577573 boot.extraModulePackages = [$modulePackages ];
578574$fsAndSwap
579−$networkingDhcpConfig
580575${\join "", (map { " $_\n" } (uniq @attrs))}}
581576EOF
582577
@@ -585,13 +580,13 @@ sub generateNetworkingDhcpConfig {
585580 # The global useDHCP flag is deprecated, therefore explicitly set to false here.
586581 # Per-interface useDHCP will be mandatory in the future, so this generated config
587582 # replicates the default behaviour.
588− networking.useDHCP = lib.mkDefault false;
583+ networking.useDHCP = false;
589584EOF
590585
591586 foreach my $path (glob "/sys/class/net/*") {
592587 my $dev = basename($path);
593588 if ($dev ne "lo") {
594− $config .= " networking.interfaces.$dev.useDHCP = lib.mkDefault true;\n";
589+ $config .= " networking.interfaces.$dev.useDHCP = true;\n";
595590 }
596591 }
597592
@@ -618,12 +613,7 @@ EOF
618613if ($showHardwareConfig) {
619614 print STDOUT $hwConfig;
620615} else {
621− if ($outDir eq "/etc/nixos") {
622− $outDir = "$rootDir$outDir";
623− } else {
624− $outDir = File::Spec->rel2abs($outDir);
625− $outDir =~ s/\/*$//; # remove trailing slashes
626− }
616+ $outDir = "$rootDir$outDir";
627617
628618 my $fn = "$outDir/hardware-configuration.nix";
629619 print STDERR "writing $fn...\n";
nixos/modules/installer/tools/tools.nix+4−15
@@ -33,9 +33,8 @@ let
3333 nixos-generate-config = makeProg {
3434 name = "nixos-generate-config";
3535 src = ./nixos-generate-config.pl;
36+ path = lib.optionals (lib.elem "btrfs" config.boot.supportedFilesystems) [ pkgs.btrfs-progs ];
3637 perl = "${pkgs.perl.withPackages (p: [ p.FileSlurp ])}/bin/perl";
37− detectvirt = "${pkgs.systemd}/bin/systemd-detect-virt";
38− btrfs = "${pkgs.btrfs-progs}/bin/btrfs";
3938 inherit (config.system.nixos-generate-config) configuration desktopConfiguration;
4039 xserverEnabled = config.services.xserver.enable;
4140 };
@@ -117,7 +116,7 @@ in
117116 '';
118117 };
119118
120− config = lib.mkIf (config.nix.enable && !config.system.disableInstallerTools) {
119+ config = lib.mkIf (!config.system.disableInstallerTools) {
121120
122121 system.nixos-generate-config.configuration = mkDefault ''
123122 # Edit this configuration file to define what should be installed on
@@ -134,13 +133,12 @@ in
134133
135134 $bootLoaderConfig
136135 # networking.hostName = "nixos"; # Define your hostname.
137− # Pick only one of the below networking options.
138136 # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
139− # networking.networkmanager.enable = true; # Easiest to use and most distros use this by default.
140137
141138 # Set your time zone.
142139 # time.timeZone = "Europe/Amsterdam";
143140
141+ $networkingDhcpConfig
144142 # Configure network proxy if necessary
145143 # networking.proxy.default = "http://user:password\@proxy:port/";
146144 # networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";
@@ -150,7 +148,6 @@ in
150148 # console = {
151149 # font = "Lat2-Terminus16";
152150 # keyMap = "us";
153− # useXkbConfig = true; # use xkbOptions in tty.
154151 # };
155152
156153 $xserverConfig
@@ -158,10 +155,7 @@ in
158155 $desktopConfiguration
159156 # Configure keymap in X11
160157 # services.xserver.layout = "us";
161− # services.xserver.xkbOptions = {
162− # "eurosign:e";
163− # "caps:escape" # map caps to escape.
164− # };
158+ # services.xserver.xkbOptions = "eurosign:e";
165159
166160 # Enable CUPS to print documents.
167161 # services.printing.enable = true;
@@ -206,11 +200,6 @@ in
206200 # Or disable the firewall altogether.
207201 # networking.firewall.enable = false;
208202
209− # Copy the NixOS configuration file and link it from the resulting system
210− # (/run/current-system/configuration.nix). This is useful in case you
211− # accidentally delete configuration.nix.
212− # system.copySystemConfiguration = true;
213−
214203 # This value determines the NixOS release from which the default
215204 # settings for stateful data, like file locations and database versions
216205 # on your system were taken. It‘s perfectly fine and recommended to leave
nixos/modules/installer/virtualbox-demo.nix+1−1
@@ -25,7 +25,7 @@ with lib;
2525
2626 installer.cloneConfigExtra = ''
2727 # Let demo build as a trusted user.
28− # nix.settings.trusted-users = [ "demo" ];
28+ # nix.trustedUsers = [ "demo" ];
2929
3030 # Mount a VirtualBox shared folder.
3131 # This is configurable in the VirtualBox menu at
nixos/modules/misc/documentation.nix+3−4
@@ -64,8 +64,7 @@ let
6464 filter =
6565 builtins.filterSource
6666 (n: t:
67− cleanSourceFilter n t
68− && (t == "directory" -> baseNameOf n != "tests")
67+ (t == "directory" -> baseNameOf n != "tests")
6968 && (t == "file" -> hasSuffix ".nix" n)
7069 );
7170 in
@@ -77,7 +76,7 @@ let
7776 } ''
7877 export NIX_STORE_DIR=$TMPDIR/store
7978 export NIX_STATE_DIR=$TMPDIR/state
80− ${pkgs.buildPackages.nix}/bin/nix-instantiate \
79+ ${pkgs.nix}/bin/nix-instantiate \
8180 --show-trace \
8281 --eval --json --strict \
8382 --argstr libPath "$libPath" \
@@ -130,7 +129,7 @@ let
130129 genericName = "View NixOS documentation in a web browser";
131130 icon = "nix-snowflake";
132131 exec = "nixos-help";
133− categories = ["System"];
132+ categories = "System";
134133 };
135134
136135 in pkgs.symlinkJoin {
nixos/modules/misc/ids.nix+5−7
@@ -82,14 +82,14 @@ in
8282 git = 41;
8383 #fourstore = 42; # dropped in 20.03
8484 #fourstorehttp = 43; # dropped in 20.03
85− #virtuoso = 44; dropped module
85+ virtuoso = 44;
8686 #rtkit = 45; # dynamically allocated 2021-09-03
8787 dovecot2 = 46;
8888 dovenull2 = 47;
8989 prayer = 49;
9090 mpd = 50;
9191 clamav = 51;
92− #fprot = 52; # unused
92+ fprot = 52;
9393 # bind = 53; #dynamically allocated as of 2021-09-03
9494 wwwrun = 54;
9595 #adm = 55; # unused
@@ -182,7 +182,7 @@ in
182182 yandexdisk = 143;
183183 mxisd = 144; # was once collectd
184184 #consul = 145;# dynamically allocated as of 2021-09-03
185− #mailpile = 146; # removed 2022-01-12
185+ mailpile = 146;
186186 redmine = 147;
187187 #seeks = 148; # removed 2020-06-21
188188 prosody = 149;
@@ -353,7 +353,6 @@ in
353353 distcc = 321;
354354 webdav = 322;
355355 pipewire = 323;
356− rstudio-server = 324;
357356
358357 # When adding a uid, make sure it doesn't match an existing gid. And don't use uids above 399!
359358
@@ -412,7 +411,7 @@ in
412411 prayer = 49;
413412 mpd = 50;
414413 clamav = 51;
415− #fprot = 52; # unused
414+ fprot = 52;
416415 #bind = 53; # unused
417416 wwwrun = 54;
418417 adm = 55;
@@ -503,7 +502,7 @@ in
503502 #yandexdisk = 143; # unused
504503 mxisd = 144; # was once collectd
505504 #consul = 145; # unused
506− #mailpile = 146; # removed 2022-01-12
505+ mailpile = 146;
507506 redmine = 147;
508507 #seeks = 148; # removed 2020-06-21
509508 prosody = 149;
@@ -661,7 +660,6 @@ in
661660 distcc = 321;
662661 webdav = 322;
663662 pipewire = 323;
664− rstudio-server = 324;
665663
666664 # When adding a gid, make sure it doesn't match an existing
667665 # uid. Users and groups with the same name should have equal
nixos/modules/misc/locate.nix+61−97
@@ -5,14 +5,11 @@ with lib;
55let
66 cfg = config.services.locate;
77 isMLocate = hasPrefix "mlocate" cfg.locate.name;
8− isPLocate = hasPrefix "plocate" cfg.locate.name;
9− isMorPLocate = (isMLocate || isPLocate);
108 isFindutils = hasPrefix "findutils" cfg.locate.name;
11−in
12−{
9+in {
1310 imports = [
1411 (mkRenamedOptionModule [ "services" "locate" "period" ] [ "services" "locate" "interval" ])
15− (mkRemovedOptionModule [ "services" "locate" "includeStore" ] "Use services.locate.prunePaths")
12+ (mkRemovedOptionModule [ "services" "locate" "includeStore" ] "Use services.locate.prunePaths" )
1613 ];
1714
1815 options.services.locate = with types; {
@@ -27,7 +24,7 @@ in
2724
2825 locate = mkOption {
2926 type = package;
30− default = pkgs.findutils.locate;
27+ default = pkgs.findutils;
3128 defaultText = literalExpression "pkgs.findutils";
3229 example = literalExpression "pkgs.mlocate";
3330 description = ''
@@ -166,16 +163,7 @@ in
166163
167164 prunePaths = mkOption {
168165 type = listOf path;
169− default = [
170− "/tmp"
171− "/var/tmp"
172− "/var/cache"
173− "/var/lock"
174− "/var/run"
175− "/var/spool"
176− "/nix/store"
177− "/nix/var/log/nix"
178− ];
166+ default = [ "/tmp" "/var/tmp" "/var/cache" "/var/lock" "/var/run" "/var/spool" "/nix/store" "/nix/var/log/nix" ];
179167 description = ''
180168 Which paths to exclude from indexing
181169 '';
@@ -183,11 +171,7 @@ in
183171
184172 pruneNames = mkOption {
185173 type = listOf str;
186− default = lib.optionals (!isFindutils) [ ".bzr" ".cache" ".git" ".hg" ".svn" ];
187− defaultText = literalDocBook ''
188− <literal>[ ".bzr" ".cache" ".git" ".hg" ".svn" ]</literal>, if
189− supported by the locate implementation (i.e. mlocate or plocate).
190− '';
174+ default = [ ".bzr" ".cache" ".git" ".hg" ".svn" ];
191175 description = ''
192176 Directory components which should exclude paths containing them from indexing
193177 '';
@@ -204,38 +188,26 @@ in
204188 };
205189
206190 config = mkIf cfg.enable {
207− users.groups = mkMerge [
208− (mkIf isMLocate { mlocate = { }; })
209− (mkIf isPLocate { plocate = { }; })
210− ];
191+ users.groups = mkIf isMLocate { mlocate = {}; };
211192
212− security.wrappers =
213− let
214− common = {
215− owner = "root";
216− permissions = "u+rx,g+x,o+x";
217− setgid = true;
218− setuid = false;
219− };
220− mlocate = (mkIf isMLocate {
221− group = "mlocate";
222− source = "${cfg.locate}/bin/locate";
223− });
224− plocate = (mkIf isPLocate {
225− group = "plocate";
226− source = "${cfg.locate}/bin/plocate";
227− });
228− in
229− mkIf isMorPLocate {
230− locate = mkMerge [ common mlocate plocate ];
231− plocate = (mkIf isPLocate (mkMerge [ common plocate ]));
193+ security.wrappers = mkIf isMLocate {
194+ locate = {
195+ group = "mlocate";
196+ owner = "root";
197+ permissions = "u+rx,g+x,o+x";
198+ setgid = true;
199+ setuid = false;
200+ source = "${cfg.locate}/bin/locate";
232201 };
202+ };
233203
234204 nixpkgs.config = { locate.dbfile = cfg.output; };
235205
236206 environment.systemPackages = [ cfg.locate ];
237207
238− environment.variables = mkIf (!isMorPLocate) { LOCATE_PATH = cfg.output; };
208+ environment.variables = mkIf (!isMLocate)
209+ { LOCATE_PATH = cfg.output;
210+ };
239211
240212 environment.etc = {
241213 # write /etc/updatedb.conf for manual calls to `updatedb`
@@ -249,65 +221,57 @@ in
249221 };
250222 };
251223
252− warnings = optional (isMorPLocate && cfg.localuser != null)
253− "mlocate does not support the services.locate.localuser option; updatedb will run as root. (Silence with services.locate.localuser = null.)"
254− ++ optional (isFindutils && cfg.pruneNames != [ ])
255− "findutils locate does not support pruning by directory component"
256− ++ optional (isFindutils && cfg.pruneBindMounts)
257− "findutils locate does not support skipping bind mounts";
224+ warnings = optional (isMLocate && cfg.localuser != null) "mlocate does not support the services.locate.localuser option; updatedb will run as root. (Silence with services.locate.localuser = null.)"
225+ ++ optional (isFindutils && cfg.pruneNames != []) "findutils locate does not support pruning by directory component"
226+ ++ optional (isFindutils && cfg.pruneBindMounts) "findutils locate does not support skipping bind mounts";
258227
259− systemd.services.update-locatedb = {
260− description = "Update Locate Database";
261− path = mkIf (!isMorPLocate) [ pkgs.su ];
228+ systemd.services.update-locatedb =
229+ { description = "Update Locate Database";
230+ path = mkIf (!isMLocate) [ pkgs.su ];
262231
263− # mlocate's updatedb takes flags via a configuration file or
264− # on the command line, but not by environment variable.
265− script =
266− if isMorPLocate then
267− let
268− toFlags = x:
269− optional (cfg.${x} != [ ])
270− "--${lib.toLower x} '${concatStringsSep " " cfg.${x}}'";
271− args = concatLists (map toFlags [ "pruneFS" "pruneNames" "prunePaths" ]);
272− in
273− ''
232+ # mlocate's updatedb takes flags via a configuration file or
233+ # on the command line, but not by environment variable.
234+ script =
235+ if isMLocate
236+ then let toFlags = x: optional (cfg.${x} != [])
237+ "--${lib.toLower x} '${concatStringsSep " " cfg.${x}}'";
238+ args = concatLists (map toFlags ["pruneFS" "pruneNames" "prunePaths"]);
239+ in ''
274240 exec ${cfg.locate}/bin/updatedb \
275241 --output ${toString cfg.output} ${concatStringsSep " " args} \
276242 --prune-bind-mounts ${if cfg.pruneBindMounts then "yes" else "no"} \
277243 ${concatStringsSep " " cfg.extraFlags}
278244 ''
279− else ''
280− exec ${cfg.locate}/bin/updatedb \
281− ${optionalString (cfg.localuser != null && !isMorPLocate) "--localuser=${cfg.localuser}"} \
282− --output=${toString cfg.output} ${concatStringsSep " " cfg.extraFlags}
283− '';
284− environment = optionalAttrs (!isMorPLocate) {
285− PRUNEFS = concatStringsSep " " cfg.pruneFS;
286− PRUNEPATHS = concatStringsSep " " cfg.prunePaths;
287− PRUNENAMES = concatStringsSep " " cfg.pruneNames;
288− PRUNE_BIND_MOUNTS = if cfg.pruneBindMounts then "yes" else "no";
245+ else ''
246+ exec ${cfg.locate}/bin/updatedb \
247+ ${optionalString (cfg.localuser != null && ! isMLocate) "--localuser=${cfg.localuser}"} \
248+ --output=${toString cfg.output} ${concatStringsSep " " cfg.extraFlags}
249+ '';
250+ environment = optionalAttrs (!isMLocate) {
251+ PRUNEFS = concatStringsSep " " cfg.pruneFS;
252+ PRUNEPATHS = concatStringsSep " " cfg.prunePaths;
253+ PRUNENAMES = concatStringsSep " " cfg.pruneNames;
254+ PRUNE_BIND_MOUNTS = if cfg.pruneBindMounts then "yes" else "no";
255+ };
256+ serviceConfig.Nice = 19;
257+ serviceConfig.IOSchedulingClass = "idle";
258+ serviceConfig.PrivateTmp = "yes";
259+ serviceConfig.PrivateNetwork = "yes";
260+ serviceConfig.NoNewPrivileges = "yes";
261+ serviceConfig.ReadOnlyPaths = "/";
262+ # Use dirOf cfg.output because mlocate creates temporary files next to
263+ # the actual database. We could specify and create them as well,
264+ # but that would make this quite brittle when they change something.
265+ # NOTE: If /var/cache does not exist, this leads to the misleading error message:
266+ # update-locatedb.service: Failed at step NAMESPACE spawning …/update-locatedb-start: No such file or directory
267+ serviceConfig.ReadWritePaths = dirOf cfg.output;
289268 };
290− serviceConfig.Nice = 19;
291− serviceConfig.IOSchedulingClass = "idle";
292− serviceConfig.PrivateTmp = "yes";
293− serviceConfig.PrivateNetwork = "yes";
294− serviceConfig.NoNewPrivileges = "yes";
295− serviceConfig.ReadOnlyPaths = "/";
296− # Use dirOf cfg.output because mlocate creates temporary files next to
297− # the actual database. We could specify and create them as well,
298− # but that would make this quite brittle when they change something.
299− # NOTE: If /var/cache does not exist, this leads to the misleading error message:
300− # update-locatedb.service: Failed at step NAMESPACE spawning …/update-locatedb-start: No such file or directory
301− serviceConfig.ReadWritePaths = dirOf cfg.output;
302− };
303269
304− systemd.timers.update-locatedb = mkIf (cfg.interval != "never") {
305− description = "Update timer for locate database";
306− partOf = [ "update-locatedb.service" ];
307− wantedBy = [ "timers.target" ];
308− timerConfig.OnCalendar = cfg.interval;
309− };
270+ systemd.timers.update-locatedb = mkIf (cfg.interval != "never")
271+ { description = "Update timer for locate database";
272+ partOf = [ "update-locatedb.service" ];
273+ wantedBy = [ "timers.target" ];
274+ timerConfig.OnCalendar = cfg.interval;
275+ };
310276 };
311−
312− meta.maintainers = with lib.maintainers; [ SuperSandro2000 ];
313277}
nixos/modules/misc/nixpkgs.nix−5
@@ -64,11 +64,6 @@ let
6464in
6565
6666{
67− imports = [
68− ./assertions.nix
69− ./meta.nix
70− ];
71−
7267 options.nixpkgs = {
7368
7469 pkgs = mkOption {
nixos/modules/misc/nixpkgs/test.nixdeleted−8
@@ -1,8 +0,0 @@
1−{ evalMinimalConfig, pkgs, lib, stdenv }:
2−lib.recurseIntoAttrs {
3− invokeNixpkgsSimple =
4− (evalMinimalConfig ({ config, modulesPath, ... }: {
5− imports = [ (modulesPath + "/misc/nixpkgs.nix") ];
6− nixpkgs.system = stdenv.hostPlatform.system;
7− }))._module.args.pkgs.hello;
8−}
nixos/modules/misc/version.nix+18−47
@@ -1,41 +1,12 @@
11{ config, lib, options, pkgs, ... }:
22
3+with lib;
4+
35let
46 cfg = config.system.nixos;
57 opt = options.system.nixos;
6−
7− inherit (lib)
8− concatStringsSep mapAttrsToList toLower
9− literalExpression mkRenamedOptionModule mkDefault mkOption trivial types;
10−
11− needsEscaping = s: null != builtins.match "[a-zA-Z0-9]+" s;
12− escapeIfNeccessary = s: if needsEscaping s then s else ''"${lib.escape [ "\$" "\"" "\\" "\`" ] s}"'';
13− attrsToText = attrs:
14− concatStringsSep "\n" (
15− mapAttrsToList (n: v: ''${n}=${escapeIfNeccessary (toString v)}'') attrs
16− );
17−
18− osReleaseContents = {
19− NAME = "NixOS";
20− ID = "nixos";
21− VERSION = "${cfg.release} (${cfg.codeName})";
22− VERSION_CODENAME = toLower cfg.codeName;
23− VERSION_ID = cfg.release;
24− BUILD_ID = cfg.version;
25− PRETTY_NAME = "NixOS ${cfg.release} (${cfg.codeName})";
26− LOGO = "nix-snowflake";
27− HOME_URL = "https://nixos.org/";
28− DOCUMENTATION_URL = "https://nixos.org/learn.html";
29− SUPPORT_URL = "https://nixos.org/community.html";
30− BUG_REPORT_URL = "https://github.com/NixOS/nixpkgs/issues";
31− };
32−
33− initrdReleaseContents = osReleaseContents // {
34− PRETTY_NAME = "${osReleaseContents.PRETTY_NAME} (Initrd)";
35− };
36− initrdRelease = pkgs.writeText "initrd-release" (attrsToText initrdReleaseContents);
37−
388in
9+
3910{
4011 imports = [
4112 (mkRenamedOptionModule [ "system" "nixosVersion" ] [ "system" "nixos" "version" ])
@@ -130,22 +101,22 @@ in
130101 # Generate /etc/os-release. See
131102 # https://www.freedesktop.org/software/systemd/man/os-release.html for the
132103 # format.
133− environment.etc = {
134− "lsb-release".text = attrsToText {
135− LSB_VERSION = "${cfg.release} (${cfg.codeName})";
136− DISTRIB_ID = "nixos";
137− DISTRIB_RELEASE = cfg.release;
138− DISTRIB_CODENAME = toLower cfg.codeName;
139− DISTRIB_DESCRIPTION = "NixOS ${cfg.release} (${cfg.codeName})";
140− };
141−
142− "os-release".text = attrsToText osReleaseContents;
143− };
104+ environment.etc.os-release.text =
105+ ''
106+ NAME=NixOS
107+ ID=nixos
108+ VERSION="${cfg.release} (${cfg.codeName})"
109+ VERSION_CODENAME=${toLower cfg.codeName}
110+ VERSION_ID="${cfg.release}"
111+ BUILD_ID="${cfg.version}"
112+ PRETTY_NAME="NixOS ${cfg.release} (${cfg.codeName})"
113+ LOGO="nix-snowflake"
114+ HOME_URL="https://nixos.org/"
115+ DOCUMENTATION_URL="https://nixos.org/learn.html"
116+ SUPPORT_URL="https://nixos.org/community.html"
117+ BUG_REPORT_URL="https://github.com/NixOS/nixpkgs/issues"
118+ '';
144119
145− boot.initrd.systemd.contents = {
146− "/etc/os-release".source = initrdRelease;
147− "/etc/initrd-release".source = initrdRelease;
148− };
149120 };
150121
151122 # uses version info nixpkgs, which requires a full nixpkgs path
nixos/modules/misc/wordlist.nixdeleted−59
@@ -1,59 +0,0 @@
1−{ config, lib, pkgs, ... }:
2−with lib;
3−let
4− concatAndSort = name: files: pkgs.runCommand name {} ''
5− awk 1 ${lib.escapeShellArgs files} | sed '{ /^\s*$/d; s/^\s\+//; s/\s\+$// }' | sort | uniq > $out
6− '';
7−in
8−{
9− options = {
10− environment.wordlist = {
11− enable = mkEnableOption "environment variables for lists of words";
12−
13− lists = mkOption {
14− type = types.attrsOf (types.nonEmptyListOf types.path);
15−
16− default = {
17− WORDLIST = [ "${pkgs.scowl}/share/dict/words.txt" ];
18− };
19−
20− defaultText = literalExpression ''
21− {
22− WORDLIST = [ "''${pkgs.scowl}/share/dict/words.txt" ];
23− }
24− '';
25−
26− description = ''
27− A set with the key names being the environment variable you'd like to
28− set and the values being a list of paths to text documents containing
29− lists of words. The various files will be merged, sorted, duplicates
30− removed, and extraneous spacing removed.
31−
32− If you have a handful of words that you want to add to an already
33− existing wordlist, you may find `builtins.toFile` useful for this
34− task.
35− '';
36−
37− example = literalExpression ''
38− {
39− WORDLIST = [ "''${pkgs.scowl}/share/dict/words.txt" ];
40− AUGMENTED_WORDLIST = [
41− "''${pkgs.scowl}/share/dict/words.txt"
42− "''${pkgs.scowl}/share/dict/words.variants.txt"
43− (builtins.toFile "extra-words" '''
44− desynchonization
45− oobleck''')
46− ];
47− }
48− '';
49− };
50− };
51− };
52−
53− config = mkIf config.environment.wordlist.enable {
54− environment.variables =
55− lib.mapAttrs
56− (name: value: "${concatAndSort "wordlist-${name}" value}")
57− config.environment.wordlist.lists;
58− };
59−}
nixos/modules/module-list.nix+17−71

This diff is too big to show here.

nixos/modules/profiles/all-hardware.nix−3

This diff is too big to show here.

nixos/modules/profiles/hardened.nix+1−1

This diff is too big to show here.

nixos/modules/profiles/installation-device.nix−4

This diff is too big to show here.

nixos/modules/profiles/qemu-guest.nix+2−2

This diff is too big to show here.

nixos/modules/programs/_1password-gui.nixdeleted−68

This diff is too big to show here.

nixos/modules/programs/_1password.nixdeleted−44

This diff is too big to show here.

nixos/modules/programs/adb.nix+2−1

This diff is too big to show here.

nixos/modules/programs/calls.nix−2

This diff is too big to show here.

nixos/modules/programs/captive-browser.nix+1−19

This diff is too big to show here.

nixos/modules/programs/chromium.nix−11

This diff is too big to show here.

nixos/modules/programs/command-not-found/command-not-found.pl+4−36

This diff is too big to show here.

nixos/modules/programs/dconf.nix+1−1

This diff is too big to show here.

nixos/modules/programs/environment.nix+1−3

This diff is too big to show here.

nixos/modules/programs/firejail.nix+2−2

This diff is too big to show here.

nixos/modules/programs/k3b.nixdeleted−52

This diff is too big to show here.

nixos/modules/programs/k40-whisperer.nixdeleted−40

This diff is too big to show here.

nixos/modules/programs/kclock.nixdeleted−13

This diff is too big to show here.

nixos/modules/programs/mininet.nix+2−2

This diff is too big to show here.

nixos/modules/programs/nbd.nixdeleted−19

This diff is too big to show here.

nixos/modules/programs/nethoscope.nixdeleted−30

This diff is too big to show here.

nixos/modules/programs/nix-ld.nixdeleted−12

This diff is too big to show here.

nixos/modules/programs/nncp.nixdeleted−101

This diff is too big to show here.

nixos/modules/programs/phosh.nix+10−9

This diff is too big to show here.

nixos/modules/programs/spacefm.nix+2

This diff is too big to show here.

nixos/modules/programs/ssh.nix+12−58

This diff is too big to show here.

nixos/modules/programs/ssmtp.nixnew file+190

This diff is too big to show here.

nixos/modules/programs/starship.nixdeleted−51

This diff is too big to show here.

nixos/modules/programs/sway.nix+2−3

This diff is too big to show here.

nixos/modules/programs/thefuck.nix+6−7

This diff is too big to show here.

nixos/modules/programs/tilp2.nixnew file+28

This diff is too big to show here.

nixos/modules/programs/tmux.nix+1−14

This diff is too big to show here.

nixos/modules/programs/tsm-client.nix+4−4

This diff is too big to show here.

nixos/modules/programs/zsh/zsh-autosuggestions.nix+10−11

This diff is too big to show here.

nixos/modules/rename.nix+47−60

This diff is too big to show here.

nixos/modules/security/acme.nixnew file+921

This diff is too big to show here.

nixos/modules/security/acme/doc.xml → nixos/modules/security/acme.xmlrenamed

The content is the same.

nixos/modules/security/acme/default.nixdeleted−921

This diff is too big to show here.

nixos/modules/security/acme/mk-cert-ownership-assertion.nixdeleted−4

This diff is too big to show here.

nixos/modules/security/google_oslogin.nix+3−6

This diff is too big to show here.

nixos/modules/security/misc.nix+2−2

This diff is too big to show here.

nixos/modules/security/pam.nix+13−123

This diff is too big to show here.

nixos/modules/security/pam_mount.nix+6−78

This diff is too big to show here.

nixos/modules/security/polkit.nix+5−1

This diff is too big to show here.

nixos/modules/security/sudo.nix+1−1

This diff is too big to show here.

nixos/modules/security/systemd-confinement.nix+2−2

This diff is too big to show here.

nixos/modules/security/wrappers/default.nix+1

This diff is too big to show here.

nixos/modules/services/admin/pgadmin.nixdeleted−127

This diff is too big to show here.

nixos/modules/services/audio/jmusicbot.nix+1−8

This diff is too big to show here.

nixos/modules/services/audio/mpd.nix+41−21

This diff is too big to show here.

nixos/modules/services/audio/roon-server.nix+1−4

This diff is too big to show here.

nixos/modules/services/audio/snapserver.nix+20−28

This diff is too big to show here.

nixos/modules/services/audio/squeezelite.nix+21−17

This diff is too big to show here.

nixos/modules/services/backup/borgbackup.nix+6−35

This diff is too big to show here.

nixos/modules/services/backup/mysql-backup.nix+1−2

This diff is too big to show here.

nixos/modules/services/backup/tsm.nix+14−33

This diff is too big to show here.

nixos/modules/services/backup/zrepl.nix−3

This diff is too big to show here.

nixos/modules/services/cluster/corosync/default.nixdeleted−112

This diff is too big to show here.

nixos/modules/services/cluster/hadoop/conf.nix+11−11

This diff is too big to show here.

nixos/modules/services/cluster/hadoop/default.nix+25−72

This diff is too big to show here.

nixos/modules/services/cluster/hadoop/hdfs.nix+147−148

This diff is too big to show here.

nixos/modules/services/cluster/hadoop/yarn.nix+13−85

This diff is too big to show here.

nixos/modules/services/cluster/k3s/default.nix+5−1

This diff is too big to show here.

nixos/modules/services/cluster/kubernetes/pki.nix+1−1

This diff is too big to show here.

nixos/modules/services/cluster/kubernetes/scheduler.nix+2−2

This diff is too big to show here.

nixos/modules/services/cluster/pacemaker/default.nixdeleted−52

This diff is too big to show here.

nixos/modules/services/computing/slurm/slurm.nix+4−5

This diff is too big to show here.

nixos/modules/services/continuous-integration/buildbot/master.nix+2−2

This diff is too big to show here.

nixos/modules/services/continuous-integration/github-runner.nix−19

This diff is too big to show here.

nixos/modules/services/continuous-integration/gitlab-runner.nix+3−10

This diff is too big to show here.

nixos/modules/services/continuous-integration/hercules-ci-agent/default.nix+1−1

This diff is too big to show here.

nixos/modules/services/continuous-integration/hydra/default.nix+12−15

This diff is too big to show here.

nixos/modules/services/continuous-integration/jenkins/slave.nix+1−15

This diff is too big to show here.

nixos/modules/services/databases/cockroachdb.nix+29−37

This diff is too big to show here.

nixos/modules/services/databases/couchdb.nix−6

This diff is too big to show here.

nixos/modules/services/databases/redis.nix+8−15

This diff is too big to show here.

nixos/modules/services/databases/virtuoso.nixnew file+99

This diff is too big to show here.

nixos/modules/services/desktops/flatpak.nix−2

This diff is too big to show here.

nixos/modules/services/desktops/gnome/glib-networking.nix+1−1

This diff is too big to show here.

nixos/modules/services/desktops/gnome/tracker-miners.nix−2

This diff is too big to show here.

nixos/modules/services/desktops/gnome/tracker.nix+1−24

This diff is too big to show here.

nixos/modules/services/desktops/gvfs.nix+1−1

This diff is too big to show here.

nixos/modules/services/desktops/pantheon/files.nixnew file+13

This diff is too big to show here.

nixos/modules/services/desktops/pipewire/daemon/client-rt.conf.json+1−1

This diff is too big to show here.

nixos/modules/services/desktops/pipewire/daemon/minimal.conf.jsondeleted−118

This diff is too big to show here.

nixos/modules/services/desktops/pipewire/daemon/pipewire-pulse.conf.json+10−68

This diff is too big to show here.

nixos/modules/services/desktops/pipewire/daemon/pipewire.conf.json+2−5

This diff is too big to show here.

nixos/modules/services/desktops/pipewire/pipewire-media-session.nix+7−11

This diff is too big to show here.

nixos/modules/services/desktops/pipewire/pipewire.nix+3−21

This diff is too big to show here.

nixos/modules/services/desktops/pipewire/wireplumber.nix+5−18

This diff is too big to show here.

nixos/modules/services/development/jupyter/default.nix−1

This diff is too big to show here.

nixos/modules/services/development/rstudio-server/default.nixdeleted−107

This diff is too big to show here.

nixos/modules/services/development/zammad.nixdeleted−323

This diff is too big to show here.

nixos/modules/services/editors/haste.nixdeleted−86

This diff is too big to show here.

nixos/modules/services/games/asf.nixdeleted−236

This diff is too big to show here.

nixos/modules/services/games/factorio.nix−9

This diff is too big to show here.

nixos/modules/services/games/minecraft-server.nix+1−1

This diff is too big to show here.

nixos/modules/services/hardware/ddccontrol.nix−3

This diff is too big to show here.

nixos/modules/services/hardware/joycond.nix+6−2

This diff is too big to show here.

nixos/modules/services/hardware/thermald.nix+1−3

This diff is too big to show here.

nixos/modules/services/hardware/triggerhappy.nix+1−1

This diff is too big to show here.

nixos/modules/services/hardware/udev.nix+24−127

This diff is too big to show here.

nixos/modules/services/hardware/udisks2.nix−41

This diff is too big to show here.

nixos/modules/services/hardware/undervolt.nix+3−1

This diff is too big to show here.

nixos/modules/services/hardware/upower.nix+6−6

This diff is too big to show here.

nixos/modules/services/hardware/usbrelayd.nixdeleted−44

This diff is too big to show here.

nixos/modules/services/home-automation/home-assistant.nixdeleted−552

This diff is too big to show here.

nixos/modules/services/logging/graylog.nix+1−1

This diff is too big to show here.

nixos/modules/services/logging/klogd.nix+35−6

This diff is too big to show here.

nixos/modules/services/logging/logrotate.nix+46−252

This diff is too big to show here.

nixos/modules/services/logging/promtail.nix+1−1

This diff is too big to show here.

nixos/modules/services/mail/dovecot.nix+41−14

This diff is too big to show here.

nixos/modules/services/mail/mailman.nix+7−14

This diff is too big to show here.

nixos/modules/services/mail/postfix.nix+17−22

This diff is too big to show here.

nixos/modules/services/mail/postfixadmin.nix+1−1

This diff is too big to show here.

nixos/modules/services/mail/roundcube.nix+1−1

This diff is too big to show here.

nixos/modules/services/matrix/matrix-synapse.nixdeleted−773

This diff is too big to show here.

nixos/modules/services/matrix/mjolnir.xml+2−2

This diff is too big to show here.

nixos/modules/services/misc/airsonic.nix+3−5

This diff is too big to show here.

nixos/modules/services/misc/ananicy.nix+1−1

This diff is too big to show here.

nixos/modules/services/misc/autorandr.nix+2−309

This diff is too big to show here.

nixos/modules/services/misc/bees.nix−3

This diff is too big to show here.

nixos/modules/services/misc/dendrite.nix+8−100

This diff is too big to show here.

nixos/modules/services/misc/etebase-server.nix+1−1

This diff is too big to show here.

nixos/modules/services/misc/ethminer.nix+4−4

This diff is too big to show here.

nixos/modules/services/misc/gitea.nix+17−25

This diff is too big to show here.

nixos/modules/services/misc/gitit.nix+1−1

This diff is too big to show here.

nixos/modules/services/misc/gitlab.nix+28−37

This diff is too big to show here.

nixos/modules/services/misc/heisenbridge.nix+12−26

This diff is too big to show here.

nixos/modules/services/misc/home-assistant.nixnew file+409

This diff is too big to show here.

nixos/modules/services/misc/input-remapper.nixdeleted−30

This diff is too big to show here.

nixos/modules/services/misc/jellyfin.nix+3−5

This diff is too big to show here.

nixos/modules/services/misc/matrix-conduit.nix−9

This diff is too big to show here.

nixos/modules/services/matrix/matrix-synapse-log_config.yaml → nixos/modules/services/misc/matrix-synapse-log_config.yamlrenamed

The content is the same.

nixos/modules/services/misc/matrix-synapse.nixnew file+818

This diff is too big to show here.

nixos/modules/services/matrix/matrix-synapse.xml → nixos/modules/services/misc/matrix-synapse.xmlrenamed+17−18

This diff is too big to show here.

nixos/modules/services/misc/mbpfan.nix+60−58

This diff is too big to show here.

nixos/modules/services/misc/mediatomb.nix+1−1

This diff is too big to show here.

nixos/modules/services/misc/moonraker.nix−40

This diff is too big to show here.

nixos/modules/services/misc/mx-puppet-discord.nix+4−1

This diff is too big to show here.

nixos/modules/services/misc/n8n.nix−1

This diff is too big to show here.

nixos/modules/services/misc/nitter.nix+4−11

This diff is too big to show here.

nixos/modules/services/misc/nix-daemon.nix+279−428

This diff is too big to show here.

nixos/modules/services/misc/nix-gc.nix+3−9

This diff is too big to show here.

nixos/modules/services/misc/nix-optimise.nix+2−8

This diff is too big to show here.

nixos/modules/services/misc/nix-ssh-serve.nix+1−1

This diff is too big to show here.

nixos/modules/services/misc/packagekit.nix+2−4

This diff is too big to show here.

nixos/modules/services/misc/paperless-ng.nixnew file+308

This diff is too big to show here.

nixos/modules/services/misc/paperless.nixdeleted−320

This diff is too big to show here.

nixos/modules/services/misc/plex.nix+13−18

This diff is too big to show here.

nixos/modules/services/misc/rmfakecloud.nixdeleted−147

This diff is too big to show here.

nixos/modules/services/misc/sourcehut/default.nix+1−1

This diff is too big to show here.

nixos/modules/services/misc/sourcehut/git.nix+1−1

This diff is too big to show here.

nixos/modules/services/misc/taskserver/default.nix+10−15

This diff is too big to show here.

nixos/modules/services/misc/taskserver/doc.xml+1−1

This diff is too big to show here.

nixos/modules/services/misc/taskserver/helper-tool.py+5−5

This diff is too big to show here.

nixos/modules/services/home-automation/zigbee2mqtt.nix → nixos/modules/services/misc/zigbee2mqtt.nixrenamed

The content is the same.

nixos/modules/services/misc/zoneminder.nix+2−2

This diff is too big to show here.

nixos/modules/services/misc/zookeeper.nix+1−8

This diff is too big to show here.

nixos/modules/services/monitoring/collectd.nix+26−30

This diff is too big to show here.

nixos/modules/services/monitoring/grafana.nix−5

This diff is too big to show here.

nixos/modules/services/monitoring/mimir.nixdeleted−63

This diff is too big to show here.

nixos/modules/services/monitoring/nagios.nix+2−2

This diff is too big to show here.

nixos/modules/services/monitoring/netdata.nix+2−38

This diff is too big to show here.

nixos/modules/services/monitoring/prometheus/default.nix+11−4

This diff is too big to show here.

nixos/modules/services/monitoring/prometheus/exporters.nix−2

This diff is too big to show here.

nixos/modules/services/monitoring/prometheus/exporters.xml−21

This diff is too big to show here.

nixos/modules/services/monitoring/prometheus/exporters/bird.nix+1−1

This diff is too big to show here.

nixos/modules/services/monitoring/prometheus/exporters/dmarc.nixdeleted−117

This diff is too big to show here.

nixos/modules/services/monitoring/prometheus/exporters/kea.nix−4

This diff is too big to show here.

nixos/modules/services/monitoring/prometheus/exporters/pve.nixdeleted−118

This diff is too big to show here.

nixos/modules/services/monitoring/prometheus/exporters/smartctl.nix+2−13

This diff is too big to show here.

nixos/modules/services/monitoring/prometheus/exporters/systemd.nix+1−1

This diff is too big to show here.

nixos/modules/services/monitoring/prometheus/exporters/varnish.nix+2−3

This diff is too big to show here.

nixos/modules/services/network-filesystems/ceph.nix+2−2

This diff is too big to show here.

nixos/modules/services/network-filesystems/ipfs.nix+31−36

This diff is too big to show here.

nixos/modules/services/network-filesystems/moosefs.nixdeleted−249

This diff is too big to show here.

nixos/modules/services/network-filesystems/rsyncd.nix+1−1

This diff is too big to show here.

nixos/modules/services/network-filesystems/samba.nix−1

This diff is too big to show here.

nixos/modules/services/networking/adguardhome.nix+1−17

This diff is too big to show here.

nixos/modules/services/networking/amuled.nix+1−1

This diff is too big to show here.

nixos/modules/services/networking/asterisk.nix+43−11

This diff is too big to show here.

nixos/modules/services/networking/bind.nix+1−9

This diff is too big to show here.

nixos/modules/services/networking/bird.nix+75−90

This diff is too big to show here.

nixos/modules/services/networking/blocky.nixdeleted−40

This diff is too big to show here.

nixos/modules/services/networking/cloudflare-dyndns.nixdeleted−93

This diff is too big to show here.

nixos/modules/services/networking/connman.nix+2−2

This diff is too big to show here.

nixos/modules/services/networking/consul.nix+6−32

This diff is too big to show here.

nixos/modules/services/networking/create_ap.nixdeleted−50

This diff is too big to show here.

nixos/modules/services/networking/ddclient.nix+4−8

This diff is too big to show here.

nixos/modules/services/networking/dhcpcd.nix−14

This diff is too big to show here.

nixos/modules/services/networking/dhcpd.nix+52−49

This diff is too big to show here.

nixos/modules/services/networking/envoy.nixdeleted−84

This diff is too big to show here.

nixos/modules/services/networking/ergochat.nixdeleted−155

This diff is too big to show here.

nixos/modules/services/networking/eternal-terminal.nix+1−1

This diff is too big to show here.

nixos/modules/services/networking/firewall.nix+7−1

This diff is too big to show here.

nixos/modules/services/networking/frr.nixdeleted−211

This diff is too big to show here.

nixos/modules/services/networking/gogoclient.nixnew file+87

This diff is too big to show here.

nixos/modules/services/networking/headscale.nixdeleted−490

This diff is too big to show here.

nixos/modules/services/networking/https-dns-proxy.nixdeleted−128

This diff is too big to show here.

nixos/modules/services/networking/hylafax/options.nix+9−7

This diff is too big to show here.

nixos/modules/services/networking/i2pd.nix+9−7

This diff is too big to show here.

nixos/modules/services/networking/iwd.nix+6−15

This diff is too big to show here.

nixos/modules/services/networking/kea.nix+8−74

This diff is too big to show here.

nixos/modules/services/networking/kresd.nix+4−5

This diff is too big to show here.

nixos/modules/services/networking/lxd-image-server.nix+11−7

This diff is too big to show here.

nixos/modules/services/networking/mailpile.nixnew file+74

This diff is too big to show here.

nixos/modules/services/networking/mosquitto.nix+3−12

This diff is too big to show here.

nixos/modules/services/networking/mozillavpn.nixdeleted−19

This diff is too big to show here.

nixos/modules/services/networking/mtr-exporter.nixdeleted−87

This diff is too big to show here.

nixos/modules/services/networking/multipath.nix+15

This diff is too big to show here.

nixos/modules/services/networking/murmur.nix+2−2

This diff is too big to show here.

nixos/modules/services/networking/nbd.nixdeleted−159

This diff is too big to show here.

nixos/modules/services/networking/ncdns.nix+2−2

This diff is too big to show here.

nixos/modules/services/networking/networkmanager.nix+52−73

This diff is too big to show here.

nixos/modules/services/networking/nftables.nix+12−4

This diff is too big to show here.

nixos/modules/services/networking/nix-serve.nix−10

This diff is too big to show here.

nixos/modules/services/networking/nsd.nix+12−8

This diff is too big to show here.

nixos/modules/services/networking/ntopng.nix+10−53

This diff is too big to show here.

nixos/modules/services/networking/openconnect.nixdeleted−137

This diff is too big to show here.

nixos/modules/services/networking/openfire.nixnew file+56

This diff is too big to show here.

nixos/modules/services/networking/pdns-recursor.nix+7−12

This diff is too big to show here.

nixos/modules/services/networking/pleroma.nix+4−4

This diff is too big to show here.

nixos/modules/services/networking/powerdns.nix+2−2

This diff is too big to show here.

nixos/modules/services/networking/prosody.nix−1

This diff is too big to show here.

nixos/modules/services/networking/racoon.nixnew file+45

This diff is too big to show here.

nixos/modules/services/networking/seafile.nix+17−13

This diff is too big to show here.

nixos/modules/services/networking/shellhub-agent.nix+17−26

This diff is too big to show here.

nixos/modules/services/networking/sniproxy.nix+15−4

This diff is too big to show here.

nixos/modules/services/networking/snowflake-proxy.nixdeleted−81

This diff is too big to show here.

nixos/modules/services/networking/squid.nix+4−23

This diff is too big to show here.

nixos/modules/services/networking/ssh/sshd.nix+4−8

This diff is too big to show here.

nixos/modules/services/networking/stunnel.nix+2−2

This diff is too big to show here.

nixos/modules/services/networking/supplicant.nix+1−1

This diff is too big to show here.

nixos/modules/services/networking/syncplay.nix+2−18

This diff is too big to show here.

nixos/modules/services/networking/syncthing.nix+2−2

This diff is too big to show here.

nixos/modules/services/networking/tailscale.nix+1−9

This diff is too big to show here.

nixos/modules/services/networking/teleport.nixdeleted−99

This diff is too big to show here.

nixos/modules/services/networking/tetrd.nix+1−1

This diff is too big to show here.

nixos/modules/services/networking/thelounge.nix+7−38

This diff is too big to show here.

nixos/modules/services/networking/tox-node.nix+6−1

This diff is too big to show here.

nixos/modules/services/networking/unbound.nix−1

This diff is too big to show here.

nixos/modules/services/networking/vsftpd.nix−1

This diff is too big to show here.

nixos/modules/services/networking/wg-netmanager.nixdeleted−42

This diff is too big to show here.

nixos/modules/services/networking/wg-quick.nix+1−8

This diff is too big to show here.

nixos/modules/services/networking/wpa_supplicant.nix+3−46

This diff is too big to show here.

nixos/modules/services/networking/yggdrasil.xml+1

This diff is too big to show here.

nixos/modules/services/networking/zeronet.nix+1−1

This diff is too big to show here.

nixos/modules/services/search/elasticsearch.nix+1−15

This diff is too big to show here.

nixos/modules/services/security/aesmd.nix−5

This diff is too big to show here.

nixos/modules/services/security/cfssl.nix+41−54

This diff is too big to show here.

nixos/modules/services/security/clamav.nix+5−4

This diff is too big to show here.

nixos/modules/services/security/fprot.nixnew file+82

This diff is too big to show here.

nixos/modules/services/security/haveged.nix+29−39

This diff is too big to show here.

nixos/modules/services/security/oauth2_proxy.nix+4−9

This diff is too big to show here.

nixos/modules/services/security/opensnitch.nix+1−102

This diff is too big to show here.

nixos/modules/services/security/sslmate-agent.nixdeleted−32

This diff is too big to show here.

nixos/modules/services/security/step-ca.nix+3−12

This diff is too big to show here.

nixos/modules/services/security/tor.nix+3−17

This diff is too big to show here.

nixos/modules/services/security/vaultwarden/default.nix+3−3

This diff is too big to show here.

nixos/modules/services/system/cachix-agent/default.nixdeleted−57

This diff is too big to show here.

nixos/modules/services/system/cloud-init.nix+1−15

This diff is too big to show here.

nixos/modules/services/system/earlyoom.nix+97−133

This diff is too big to show here.

nixos/modules/services/system/nscd.nix+9−20

This diff is too big to show here.

nixos/modules/services/system/self-deploy.nix+2−3

This diff is too big to show here.

nixos/modules/services/system/systembus-notify.nixdeleted−27

This diff is too big to show here.

nixos/modules/services/ttys/kmscon.nix+5−24

This diff is too big to show here.

nixos/modules/services/video/epgstation/default.nix+168−180

This diff is too big to show here.

nixos/modules/services/video/epgstation/streaming.json+108−129

This diff is too big to show here.

nixos/modules/services/video/unifi-video.nix+82−86

This diff is too big to show here.

nixos/modules/services/wayland/cage.nix−2

This diff is too big to show here.

nixos/modules/services/web-apps/atlassian/jira.nix−1

This diff is too big to show here.

nixos/modules/services/web-apps/baget.nixdeleted−170

This diff is too big to show here.

nixos/modules/services/web-apps/bookstack.nix+60−142

This diff is too big to show here.

nixos/modules/services/web-apps/discourse.nix+3−9

This diff is too big to show here.

nixos/modules/services/web-apps/dokuwiki.nix+37−22

This diff is too big to show here.

nixos/modules/services/web-apps/ethercalc.nixdeleted−62

This diff is too big to show here.

nixos/modules/services/web-apps/galene.nix−29

This diff is too big to show here.

nixos/modules/services/web-apps/invoiceplane.nixdeleted−305

This diff is too big to show here.

nixos/modules/services/web-apps/jirafeau.nix+1−1

This diff is too big to show here.

nixos/modules/services/web-apps/jitsi-meet.nix+1−1

This diff is too big to show here.

nixos/modules/services/web-apps/keycloak.nix+601−544

This diff is too big to show here.

nixos/modules/services/web-apps/keycloak.xml+69−65

This diff is too big to show here.

nixos/modules/services/web-apps/mastodon.nix+1−4

This diff is too big to show here.

nixos/modules/services/web-apps/matomo.nix−1

This diff is too big to show here.

nixos/modules/services/web-apps/mattermost.nix+1−1

This diff is too big to show here.

nixos/modules/services/web-apps/miniflux.nix+29−26

This diff is too big to show here.

nixos/modules/services/web-apps/netbox.nixdeleted−265

This diff is too big to show here.

nixos/modules/services/web-apps/nextcloud.nix+21−94

This diff is too big to show here.

nixos/modules/services/web-apps/nifi.nixdeleted−318

This diff is too big to show here.

nixos/modules/services/web-apps/peertube.nix+1−11

This diff is too big to show here.

nixos/modules/services/web-apps/plantuml-server.nix+3−18

This diff is too big to show here.

nixos/modules/services/web-apps/plausible.nix+8−7

This diff is too big to show here.

nixos/modules/services/web-apps/prosody-filer.nixdeleted−86

This diff is too big to show here.

nixos/modules/services/web-apps/restya-board.nix+1−1

This diff is too big to show here.

nixos/modules/services/web-apps/rss-bridge.nix+1−1

This diff is too big to show here.

nixos/modules/services/web-apps/timetagger.nixdeleted−80

This diff is too big to show here.

nixos/modules/services/web-apps/wordpress.nix+40−30

This diff is too big to show here.

nixos/modules/services/web-servers/agate.nixdeleted−148

This diff is too big to show here.

nixos/modules/services/web-servers/apache-httpd/default.nix+14−15

This diff is too big to show here.

nixos/modules/services/web-servers/caddy/default.nix+3−10

This diff is too big to show here.

nixos/modules/services/web-servers/hydron.nix+1−1

This diff is too big to show here.

nixos/modules/services/web-servers/nginx/default.nix+19−49

This diff is too big to show here.

nixos/modules/services/web-servers/nginx/gitweb.nix+1−1

This diff is too big to show here.

nixos/modules/services/web-servers/nginx/vhost-options.nix+3−12

This diff is too big to show here.

nixos/modules/services/web-servers/pomerium.nix+3−7

This diff is too big to show here.

nixos/modules/services/web-servers/shellinabox.nixnew file+122

This diff is too big to show here.

nixos/modules/services/web-servers/tomcat.nix+3−4

This diff is too big to show here.

nixos/modules/services/web-servers/uwsgi.nix+9−7

This diff is too big to show here.

nixos/modules/services/x11/desktop-managers/cinnamon.nix+5−5

This diff is too big to show here.

nixos/modules/services/x11/desktop-managers/default.nix+1−1

This diff is too big to show here.

nixos/modules/services/x11/desktop-managers/enlightenment.nix−5

This diff is too big to show here.

nixos/modules/services/x11/desktop-managers/gnome.nix+69−44

This diff is too big to show here.

nixos/modules/services/x11/desktop-managers/gnome.xml+9

This diff is too big to show here.

nixos/modules/services/x11/desktop-managers/lumina.nix−4

This diff is too big to show here.

nixos/modules/services/x11/desktop-managers/lxqt.nix+2−11

This diff is too big to show here.

nixos/modules/services/x11/desktop-managers/mate.nix+37−9

This diff is too big to show here.

nixos/modules/services/x11/desktop-managers/none.nix+5−44

This diff is too big to show here.

nixos/modules/services/x11/desktop-managers/pantheon.nix+7−10

This diff is too big to show here.

nixos/modules/services/x11/desktop-managers/pantheon.xml+5−5

This diff is too big to show here.

nixos/modules/services/x11/desktop-managers/plasma5.nix+3−4

This diff is too big to show here.

nixos/modules/services/x11/desktop-managers/retroarch.nixdeleted−40

This diff is too big to show here.

nixos/modules/services/x11/desktop-managers/xfce.nix+1−8

This diff is too big to show here.

nixos/modules/services/x11/display-managers/default.nix−1

This diff is too big to show here.

nixos/modules/services/x11/display-managers/gdm.nix+25−4

This diff is too big to show here.

nixos/modules/services/x11/display-managers/lightdm.nix−2

This diff is too big to show here.

nixos/modules/services/x11/window-managers/qtile.nix+4−11

This diff is too big to show here.

nixos/modules/services/x11/window-managers/xmonad.nix+12−45

This diff is too big to show here.

nixos/modules/services/x11/xserver.nix+7−11

This diff is too big to show here.

nixos/modules/system/activation/activation-script.nix−1

This diff is too big to show here.

nixos/modules/system/activation/switch-to-configuration.plmode 100755 → 100644+259−642

This diff is too big to show here.

nixos/modules/system/activation/top-level.nix+18−58

This diff is too big to show here.

nixos/modules/system/boot/binfmt.nix+8−5

This diff is too big to show here.

nixos/modules/system/boot/kernel.nix+2−2

This diff is too big to show here.

nixos/modules/system/boot/loader/grub/grub.nix−26

This diff is too big to show here.

nixos/modules/system/boot/loader/grub/install-grub.pl+3−5

This diff is too big to show here.

nixos/modules/system/boot/loader/systemd-boot/systemd-boot-builder.py+32−34

This diff is too big to show here.

nixos/modules/system/boot/loader/systemd-boot/systemd-boot.nix+2−135

This diff is too big to show here.

nixos/modules/system/boot/luksroot.nix+7−74

This diff is too big to show here.

nixos/modules/system/boot/modprobe.nix−2

This diff is too big to show here.

nixos/modules/system/boot/networkd.nix+3−192

This diff is too big to show here.

nixos/modules/system/boot/stage-1-init.sh+23−28

This diff is too big to show here.

nixos/modules/system/boot/stage-1.nix+16−38

This diff is too big to show here.

nixos/modules/system/boot/stage-2-init.sh+98−66

This diff is too big to show here.

nixos/modules/system/boot/stage-2.nix+39−2

This diff is too big to show here.

nixos/modules/system/boot/systemd-nspawn.nixnew file+133

This diff is too big to show here.

nixos/modules/system/boot/systemd.nix+676−71

This diff is too big to show here.

nixos/modules/system/boot/systemd/coredump.nixdeleted−57

This diff is too big to show here.

nixos/modules/system/boot/systemd/initrd-secrets.nixdeleted−36

This diff is too big to show here.

nixos/modules/system/boot/systemd/initrd.nixdeleted−502

This diff is too big to show here.

nixos/modules/system/boot/systemd/journald.nixdeleted−131

This diff is too big to show here.

nixos/modules/system/boot/systemd/logind.nixdeleted−114

This diff is too big to show here.

nixos/modules/system/boot/systemd/nspawn.nixdeleted−131

This diff is too big to show here.

nixos/modules/system/boot/systemd/shutdown.nixdeleted−58

This diff is too big to show here.

nixos/modules/system/boot/systemd/tmpfiles.nixdeleted−120

This diff is too big to show here.

nixos/modules/system/boot/systemd/user.nixdeleted−153

This diff is too big to show here.

nixos/modules/system/boot/timesyncd.nix+5−17

This diff is too big to show here.

nixos/modules/system/boot/tmp.nix+1−6

This diff is too big to show here.

nixos/modules/system/build.nixdeleted−21

This diff is too big to show here.

nixos/modules/system/etc/etc-activation.nixdeleted−12

This diff is too big to show here.

nixos/modules/system/etc/etc.nix+3−3

This diff is too big to show here.

nixos/modules/system/etc/test.nixdeleted−70

This diff is too big to show here.

nixos/modules/tasks/auto-upgrade.nix+20−104

This diff is too big to show here.

nixos/modules/tasks/bcache.nix+6−16

This diff is too big to show here.

nixos/modules/tasks/filesystems.nix+2−31

This diff is too big to show here.

nixos/modules/tasks/filesystems/apfs.nixdeleted−22

This diff is too big to show here.

nixos/modules/tasks/filesystems/btrfs.nix+3−3

This diff is too big to show here.

nixos/modules/tasks/filesystems/cifs.nix+1−1

This diff is too big to show here.

nixos/modules/tasks/filesystems/ext.nix+4−10

This diff is too big to show here.

nixos/modules/tasks/filesystems/f2fs.nix+1−1

This diff is too big to show here.

nixos/modules/tasks/filesystems/jfs.nix+1−1

This diff is too big to show here.

nixos/modules/tasks/filesystems/reiserfs.nix+1−1

This diff is too big to show here.

nixos/modules/tasks/filesystems/unionfs-fuse.nix+2−13

This diff is too big to show here.

nixos/modules/tasks/filesystems/vfat.nix+1−1

This diff is too big to show here.

nixos/modules/tasks/filesystems/xfs.nix+2−2

This diff is too big to show here.

nixos/modules/tasks/filesystems/zfs.nix+33−9

This diff is too big to show here.

nixos/modules/tasks/lvm.nix+6−55

This diff is too big to show here.

nixos/modules/tasks/network-interfaces-scripted.nix−2

This diff is too big to show here.

nixos/modules/tasks/network-interfaces-systemd.nix+1−64

This diff is too big to show here.

nixos/modules/tasks/network-interfaces.nix+24−51

This diff is too big to show here.

nixos/modules/tasks/swraid.nix+9−35

This diff is too big to show here.

nixos/modules/testing/test-instrumentation.nix+26−23

This diff is too big to show here.

nixos/modules/virtualisation/amazon-image.nix+1−6

This diff is too big to show here.

nixos/modules/virtualisation/azure-agent.nix+9−5

This diff is too big to show here.

nixos/modules/virtualisation/azure-common.nix+1−5

This diff is too big to show here.

nixos/modules/virtualisation/build-vm.nixdeleted−58

This diff is too big to show here.

nixos/modules/virtualisation/container-config.nix+1−1

This diff is too big to show here.

nixos/modules/virtualisation/containerd.nix−1

This diff is too big to show here.

nixos/modules/virtualisation/docker-rootless.nix+1−5

This diff is too big to show here.

nixos/modules/virtualisation/fetch-instance-ssh-keys.bashnew file+36

This diff is too big to show here.

nixos/modules/virtualisation/google-compute-config.nix+103−32

This diff is too big to show here.

nixos/modules/virtualisation/kvmgt.nix+1−1

This diff is too big to show here.

nixos/modules/virtualisation/libvirtd.nix−4

This diff is too big to show here.

nixos/modules/virtualisation/nixos-containers.nix+11−26

This diff is too big to show here.

nixos/modules/virtualisation/oci-containers.nix+9−7

This diff is too big to show here.

nixos/modules/virtualisation/openstack-config.nix+7−39

This diff is too big to show here.

nixos/modules/virtualisation/openstack-metadata-fetcher.nix+4−5

This diff is too big to show here.

nixos/modules/virtualisation/openstack-options.nixdeleted−71

This diff is too big to show here.

nixos/modules/virtualisation/openvswitch.nix+53−8

This diff is too big to show here.

nixos/modules/virtualisation/podman/default.nix+1−4

This diff is too big to show here.

nixos/modules/virtualisation/proxmox-lxc.nixdeleted−64

This diff is too big to show here.

nixos/modules/virtualisation/qemu-vm.nix+8−55

This diff is too big to show here.

nixos/modules/virtualisation/virtualbox-guest.nix+1−1

This diff is too big to show here.

nixos/modules/virtualisation/vmware-guest.nix−1

This diff is too big to show here.

nixos/modules/virtualisation/vmware-host.nixdeleted−166

This diff is too big to show here.

nixos/modules/virtualisation/waydroid.nix+2−4

This diff is too big to show here.

nixos/release-combined.nix+2−4

This diff is too big to show here.

nixos/release-small.nix+2−4

This diff is too big to show here.

nixos/release.nix+2−2

This diff is too big to show here.

nixos/tests/acme.nix+6−6

This diff is too big to show here.

nixos/tests/adguardhome.nixdeleted−57

This diff is too big to show here.

nixos/tests/aesmd.nix+1−1

This diff is too big to show here.

nixos/tests/agda.nix+1−1

This diff is too big to show here.

nixos/tests/airsonic.nix+1−1

This diff is too big to show here.

nixos/tests/all-terminfo.nixdeleted−31

This diff is too big to show here.

nixos/tests/all-tests.nix+13−98

This diff is too big to show here.

nixos/tests/amazon-init-shell.nix+1−1

This diff is too big to show here.

nixos/tests/apfs.nixdeleted−54

This diff is too big to show here.

nixos/tests/apparmor.nix+1−1

This diff is too big to show here.

nixos/tests/atd.nix+1−1

This diff is too big to show here.

nixos/tests/atop.nix+14−6

This diff is too big to show here.

nixos/tests/avahi.nix+1−1

This diff is too big to show here.

nixos/tests/bcachefs.nix+9−8

This diff is too big to show here.

nixos/tests/beanstalkd.nix+1−1

This diff is too big to show here.

nixos/tests/bees.nix+1−1

This diff is too big to show here.

nixos/tests/bind.nix+1−1

This diff is too big to show here.

nixos/tests/bird.nixdeleted−129

This diff is too big to show here.

nixos/tests/bitcoind.nix+1−1

This diff is too big to show here.

nixos/tests/blockbook-frontend.nix+1−1

This diff is too big to show here.

nixos/tests/blocky.nixdeleted−34

This diff is too big to show here.

nixos/tests/boot-stage1.nix+1−3

This diff is too big to show here.

nixos/tests/boot.nix+1

This diff is too big to show here.

nixos/tests/borgbackup.nix+1−1

This diff is too big to show here.

nixos/tests/botamusique.nix−4

This diff is too big to show here.

nixos/tests/bpf.nix+2−6

This diff is too big to show here.

nixos/tests/breitbandmessung.nixdeleted−33

This diff is too big to show here.

nixos/tests/brscan5.nix+1−1

This diff is too big to show here.

nixos/tests/btrbk.nix+1−1

This diff is too big to show here.

nixos/tests/buildkite-agents.nix+1−1

This diff is too big to show here.

nixos/tests/caddy.nix+3−3

This diff is too big to show here.

nixos/tests/cage.nix+1−1

This diff is too big to show here.

nixos/tests/cagebreak.nix+1−1

This diff is too big to show here.

nixos/tests/ceph-multi-node.nix+1−1

This diff is too big to show here.

nixos/tests/cfssl.nix+1−1

This diff is too big to show here.

nixos/tests/chromium.nix+18−20

This diff is too big to show here.

nixos/tests/clickhouse.nix+1−1

This diff is too big to show here.

nixos/tests/cloud-init.nix+2−27

This diff is too big to show here.

nixos/tests/cntr.nix+5−17

This diff is too big to show here.

nixos/tests/collectd.nix+2−7

This diff is too big to show here.

nixos/tests/common/lxd/config.yamldeleted−24

This diff is too big to show here.

nixos/tests/containers-bridge.nix+1−1

This diff is too big to show here.

nixos/tests/containers-custom-pkgs.nix+1−1

This diff is too big to show here.

nixos/tests/containers-ephemeral.nix+4−4

This diff is too big to show here.

nixos/tests/containers-extra_veth.nix+1−1

This diff is too big to show here.

nixos/tests/containers-hosts.nix+1−1

This diff is too big to show here.

nixos/tests/containers-imperative.nix+9−9

This diff is too big to show here.

nixos/tests/containers-ip.nix+1−1

This diff is too big to show here.

nixos/tests/containers-names.nix+1−1

This diff is too big to show here.

nixos/tests/containers-nested.nix+1−1

This diff is too big to show here.

nixos/tests/containers-portforward.nix+1−1

This diff is too big to show here.

nixos/tests/containers-tmpfs.nix+6−6

This diff is too big to show here.

nixos/tests/cri-o.nix+1−1

This diff is too big to show here.

nixos/tests/custom-ca.nix+90−104

This diff is too big to show here.

nixos/tests/disable-installer-tools.nix+1−1

This diff is too big to show here.

nixos/tests/dnsdist.nixdeleted−48

This diff is too big to show here.

nixos/tests/doas.nix+1−1

This diff is too big to show here.

nixos/tests/docker-tools-cross.nix+2−2

This diff is too big to show here.

nixos/tests/docker-tools.nix+1−1

This diff is too big to show here.

nixos/tests/documize.nix+1−1

This diff is too big to show here.

nixos/tests/doh-proxy-rust.nix+1−1

This diff is too big to show here.

nixos/tests/domination.nix+1−1

This diff is too big to show here.

nixos/tests/dovecot.nix+1−1

This diff is too big to show here.

nixos/tests/earlyoom.nixdeleted−16

This diff is too big to show here.

nixos/tests/ecryptfs.nix+1−1

This diff is too big to show here.

nixos/tests/emacs-daemon.nix+2−2

This diff is too big to show here.

nixos/tests/empty-filedeleted

No changes to the content.

nixos/tests/enlightenment.nix+1−1

This diff is too big to show here.

nixos/tests/env.nix+1−1

This diff is too big to show here.

nixos/tests/envoy.nixdeleted−33

This diff is too big to show here.

nixos/tests/ergochat.nixdeleted−97

This diff is too big to show here.

nixos/tests/etebase-server.nix+1−1

This diff is too big to show here.

nixos/tests/etesync-dav.nix+1−1

This diff is too big to show here.

nixos/tests/fancontrol.nix+1−1

This diff is too big to show here.

nixos/tests/fcitx/default.nix+1−1

This diff is too big to show here.

nixos/tests/fenics.nix+1−1

This diff is too big to show here.

nixos/tests/firefox.nix+1−1

This diff is too big to show here.

nixos/tests/fish.nix+1−1

This diff is too big to show here.

nixos/tests/fluentd.nix+1−1

This diff is too big to show here.

nixos/tests/fontconfig-default-fonts.nix+1−1

This diff is too big to show here.

nixos/tests/frr.nixdeleted−104

This diff is too big to show here.

nixos/tests/fsck.nix+1−1

This diff is too big to show here.

nixos/tests/ft2-clone.nix+1−1

This diff is too big to show here.

nixos/tests/geth.nix+2−2

This diff is too big to show here.

nixos/tests/gitlab.nix+21−300

This diff is too big to show here.

nixos/tests/gitolite-fcgiwrap.nix+2−2

This diff is too big to show here.

nixos/tests/gnome-xorg.nix+1−2

This diff is too big to show here.

nixos/tests/gnome.nix+1−2

This diff is too big to show here.

nixos/tests/google-oslogin/default.nix+2−2

This diff is too big to show here.

nixos/tests/google-oslogin/server.nix+4−2

This diff is too big to show here.

nixos/tests/google-oslogin/server.pymode 100755 → 100644

Only the mode changed.

nixos/tests/gotify-server.nix+1−1

This diff is too big to show here.

nixos/tests/graylog.nix+1−1

This diff is too big to show here.

nixos/tests/grocy.nix+1−1

This diff is too big to show here.

nixos/tests/grub.nix+1−1

This diff is too big to show here.

nixos/tests/hadoop/default.nixdeleted−7

This diff is too big to show here.

nixos/tests/hadoop/hadoop.nix+123−150

This diff is too big to show here.

nixos/tests/hadoop/hdfs.nix+18−43

This diff is too big to show here.

nixos/tests/hadoop/yarn.nix+13−21

This diff is too big to show here.

nixos/tests/handbrake.nixnew file+33

This diff is too big to show here.

nixos/tests/haproxy.nix+1

This diff is too big to show here.

nixos/tests/hardened.nix+2−2

This diff is too big to show here.

nixos/tests/haste-server.nixdeleted−23

This diff is too big to show here.

nixos/tests/hbase.nixdeleted−30

This diff is too big to show here.

nixos/tests/herbstluftwm.nix+1−1

This diff is too big to show here.

nixos/tests/hibernate.nix+5−16

This diff is too big to show here.

nixos/tests/hitch/default.nix+1−1

This diff is too big to show here.

nixos/tests/hocker-fetchdocker/default.nix+1−1

This diff is too big to show here.

nixos/tests/hockeypuck.nix+1−1

This diff is too big to show here.

nixos/tests/home-assistant.nix+35−78

This diff is too big to show here.

nixos/tests/hostname.nix+1−1

This diff is too big to show here.

nixos/tests/hound.nix+1−1

This diff is too big to show here.

nixos/tests/hydra/common.nix+1−1

This diff is too big to show here.

nixos/tests/hydra/default.nix+1−1

This diff is too big to show here.

nixos/tests/i3wm.nix+1−1

This diff is too big to show here.

nixos/tests/ihatemoney/default.nix+1−1

This diff is too big to show here.

nixos/tests/incron.nix+1−1

This diff is too big to show here.

nixos/tests/initrd-network.nix+1−1

This diff is too big to show here.

nixos/tests/initrd-secrets.nix+1−1

This diff is too big to show here.

nixos/tests/input-remapper.nixdeleted−52

This diff is too big to show here.

nixos/tests/installed-tests/appstream-qt.nixdeleted−9

This diff is too big to show here.

nixos/tests/installed-tests/appstream.nixdeleted−9

This diff is too big to show here.

nixos/tests/installed-tests/default.nix+1−3

This diff is too big to show here.

nixos/tests/installed-tests/flatpak.nix−1

This diff is too big to show here.

nixos/tests/installed-tests/gjs.nix−6

This diff is too big to show here.

nixos/tests/installer-systemd-stage-1.nixdeleted−33

This diff is too big to show here.

nixos/tests/installer.nix+19−25

This diff is too big to show here.

nixos/tests/invidious.nix+1−1

This diff is too big to show here.

nixos/tests/invoiceplane.nixdeleted−82

This diff is too big to show here.

nixos/tests/ipfs.nix−5

This diff is too big to show here.

nixos/tests/iscsi-multipath-root.nix+5−5

This diff is too big to show here.

nixos/tests/iscsi-root.nix+5−5

This diff is too big to show here.

nixos/tests/isso.nix+1−1

This diff is too big to show here.

nixos/tests/jellyfin.nix+1−1

This diff is too big to show here.

nixos/tests/jenkins.nix−2

This diff is too big to show here.

nixos/tests/jibri.nix+2−2

This diff is too big to show here.

nixos/tests/jitsi-meet.nix+2−2

This diff is too big to show here.

nixos/tests/k3s-single-node-docker.nixdeleted−84

This diff is too big to show here.

nixos/tests/k3s-single-node.nixdeleted−82

This diff is too big to show here.

nixos/tests/k3s.nixnew file+78

This diff is too big to show here.

nixos/tests/kbd-setfont-decompress.nix+1−1

This diff is too big to show here.

nixos/tests/kbd-update-search-paths-patch.nix+1−1

This diff is too big to show here.

nixos/tests/keepassxc.nix+9−43

This diff is too big to show here.

nixos/tests/kerberos/heimdal.nix+1−1

This diff is too big to show here.

nixos/tests/kerberos/mit.nix+1−1

This diff is too big to show here.

nixos/tests/kernel-generic.nix+1−1

This diff is too big to show here.

nixos/tests/kernel-latest-ath-user-regd.nix+1−1

This diff is too big to show here.

nixos/tests/kexec.nix+16−44

This diff is too big to show here.

nixos/tests/keycloak.nix+13−33

This diff is too big to show here.

nixos/tests/krb5/deprecated-config.nix+1−1

This diff is too big to show here.

nixos/tests/krb5/example-config.nix+1−1

This diff is too big to show here.

nixos/tests/ksm.nix+1−1

This diff is too big to show here.

nixos/tests/kubernetes/base.nix+2−2

This diff is too big to show here.

nixos/tests/kubernetes/rbac.nix+2−2

This diff is too big to show here.

nixos/tests/libinput.nix+1−1

This diff is too big to show here.

nixos/tests/libresprite.nix+1−1

This diff is too big to show here.

nixos/tests/libreswan.nix+2−2

This diff is too big to show here.

nixos/tests/lightdm.nix+1−1

This diff is too big to show here.

nixos/tests/limesurvey.nix+1−1

This diff is too big to show here.

nixos/tests/litestream.nix+1−1

This diff is too big to show here.

nixos/tests/login.nix+1−1

This diff is too big to show here.

nixos/tests/logrotate.nixdeleted−152

This diff is too big to show here.

nixos/tests/loki.nix+1−1

This diff is too big to show here.

nixos/tests/lorri/default.nix+2−2

This diff is too big to show here.

nixos/tests/lvm2/default.nixdeleted−45

This diff is too big to show here.

nixos/tests/lvm2/systemd-stage-1.nixdeleted−104

This diff is too big to show here.

nixos/tests/lvm2/thinpool.nixdeleted−32

This diff is too big to show here.

nixos/tests/lvm2/vdo.nixdeleted−27

This diff is too big to show here.

nixos/tests/lxd-image-server.nix+49−16

This diff is too big to show here.

nixos/tests/lxd-image.nixnew file+89

This diff is too big to show here.

nixos/tests/lxd-nftables.nix+1−1

This diff is too big to show here.

nixos/tests/lxd.nix+64−41

This diff is too big to show here.

nixos/tests/maestral.nixdeleted−72

This diff is too big to show here.

nixos/tests/magnetico.nix+1−1

This diff is too big to show here.

nixos/tests/mailcatcher.nix+3−8

This diff is too big to show here.

nixos/tests/mailhog.nix+1−1

This diff is too big to show here.

nixos/tests/matomo.nix+1−1

This diff is too big to show here.

nixos/tests/matrix-appservice-irc.nix+21−28

This diff is too big to show here.

nixos/tests/matrix-synapse.nix+18−46

This diff is too big to show here.

nixos/tests/matrix/mjolnir.nix+19−24

This diff is too big to show here.

nixos/tests/matrix/pantalaimon.nix+4−27

This diff is too big to show here.

nixos/tests/mediawiki.nix+1−1

This diff is too big to show here.

nixos/tests/meilisearch.nix+1−1

This diff is too big to show here.

nixos/tests/memcached.nix+1−1

This diff is too big to show here.

nixos/tests/minidlna.nix+2−4

This diff is too big to show here.

nixos/tests/miniflux.nix+6−18

This diff is too big to show here.

nixos/tests/misc.nix+4−4

This diff is too big to show here.

nixos/tests/mod_perl.nix+1−1

This diff is too big to show here.

nixos/tests/mongodb.nix−4

This diff is too big to show here.

nixos/tests/moodle.nix+1−1

This diff is too big to show here.

nixos/tests/moonraker.nixdeleted−45

This diff is too big to show here.

nixos/tests/moosefs.nixdeleted−89

This diff is too big to show here.

nixos/tests/mpd.nix+1−1

This diff is too big to show here.

nixos/tests/mtp.nixdeleted−109

This diff is too big to show here.

nixos/tests/musescore.nix+1−1

This diff is too big to show here.

nixos/tests/mysql/common.nixdeleted−10

This diff is too big to show here.

nixos/tests/mysql/mariadb-galera-mariabackup.nixnew file+233

This diff is too big to show here.

nixos/tests/mysql/mariadb-galera-rsync.nixnew file+226

This diff is too big to show here.

nixos/tests/mysql/mariadb-galera.nixdeleted−250

This diff is too big to show here.

nixos/tests/mysql/mysql-autobackup.nix+33−48

This diff is too big to show here.

nixos/tests/mysql/mysql-backup.nix+44−60

This diff is too big to show here.

nixos/tests/mysql/mysql-replication.nix+74−84

This diff is too big to show here.

nixos/tests/mysql/mysql.nix+206−134

This diff is too big to show here.

nixos/tests/nagios.nix+1−1

This diff is too big to show here.

nixos/tests/nano.nixnew file+44

This diff is too big to show here.

nixos/tests/nar-serve.nix+1−1

This diff is too big to show here.

nixos/tests/nats.nix+13−11

This diff is too big to show here.

nixos/tests/navidrome.nix+1−1

This diff is too big to show here.

nixos/tests/nbd.nixdeleted−103

This diff is too big to show here.

nixos/tests/ncdns.nix+9−6

This diff is too big to show here.

nixos/tests/networking.nix+12−65

This diff is too big to show here.

nixos/tests/nextcloud/default.nix+1−1

This diff is too big to show here.

nixos/tests/nextcloud/with-mysql-and-memcached.nix+21−1

This diff is too big to show here.

nixos/tests/nginx-modsecurity.nixdeleted−39

This diff is too big to show here.

nixos/tests/nginx-pubhtml.nix+1−1

This diff is too big to show here.

nixos/tests/nginx-sandbox.nix+1−1

This diff is too big to show here.

nixos/tests/nginx-sso.nix+1−1

This diff is too big to show here.

nixos/tests/nginx-variants.nix+1−1

This diff is too big to show here.

nixos/tests/nix-ld.nixdeleted−20

This diff is too big to show here.

nixos/tests/nix-serve.nix+1−1

This diff is too big to show here.

nixos/tests/nixops/default.nix+3−3

This diff is too big to show here.

nixos/tests/nixops/legacy/base-configuration.nix+1−1

This diff is too big to show here.

nixos/tests/nixos-generate-config.nix+1−1

This diff is too big to show here.

nixos/tests/noto-fonts.nixdeleted−44

This diff is too big to show here.

nixos/tests/novacomd.nix+1−1

This diff is too big to show here.

nixos/tests/oh-my-zsh.nix+1−1

This diff is too big to show here.

nixos/tests/openldap.nix+3−3

This diff is too big to show here.

nixos/tests/openssh.nix+6−12

This diff is too big to show here.

nixos/tests/opentabletdriver.nix+1−1

This diff is too big to show here.

nixos/tests/os-prober.nix+6−6

This diff is too big to show here.

nixos/tests/osrm-backend.nix+1−1

This diff is too big to show here.

nixos/tests/overlayfs.nix+1−1

This diff is too big to show here.

nixos/tests/pacemaker.nixdeleted−110

This diff is too big to show here.

nixos/tests/packagekit.nix+1−1

This diff is too big to show here.

nixos/tests/pam/pam-oath-login.nix+2−2

This diff is too big to show here.

nixos/tests/pam/pam-u2f.nix+1−1

This diff is too big to show here.

nixos/tests/pam/pam-ussh.nixdeleted−70

This diff is too big to show here.

nixos/tests/pantheon.nix+1−1

This diff is too big to show here.

nixos/tests/paperless-ng.nixnew file+45

This diff is too big to show here.

nixos/tests/paperless.nixdeleted−44

This diff is too big to show here.

nixos/tests/pdns-recursor.nix+1−4

This diff is too big to show here.

nixos/tests/pgadmin4-standalone.nixdeleted−43

This diff is too big to show here.

nixos/tests/pgadmin4.nixdeleted−132

This diff is too big to show here.

nixos/tests/php/fpm.nix+2−2

This diff is too big to show here.

nixos/tests/php/httpd.nix+1−1

This diff is too big to show here.

nixos/tests/php/pcre.nix+1−1

This diff is too big to show here.

nixos/tests/pict-rs.nix+1−1

This diff is too big to show here.

nixos/tests/plasma5-systemd-start.nix+1−1

This diff is too big to show here.

nixos/tests/plasma5.nix+1−1

This diff is too big to show here.

nixos/tests/plausible.nix+1−4

This diff is too big to show here.

nixos/tests/pleroma.nix+18−2

This diff is too big to show here.

nixos/tests/plikd.nix+1−1

This diff is too big to show here.

nixos/tests/plotinus.nix+1−1

This diff is too big to show here.

nixos/tests/podman/default.nix+1−1

This diff is too big to show here.

nixos/tests/podman/tls-ghostunnel.nix+1−1

This diff is too big to show here.

nixos/tests/postfix-raise-smtpd-tls-security-level.nix+1−1

This diff is too big to show here.

nixos/tests/postfix.nix+1−1

This diff is too big to show here.

nixos/tests/postgresql-wal-receiver.nix+1−1

This diff is too big to show here.

nixos/tests/postgresql.nix+1−1

This diff is too big to show here.

nixos/tests/power-profiles-daemon.nix+1−1

This diff is too big to show here.

nixos/tests/powerdns.nix−1

This diff is too big to show here.

nixos/tests/predictable-interface-names.nix+1−1

This diff is too big to show here.

nixos/tests/privacyidea.nix+1−1

This diff is too big to show here.

nixos/tests/privoxy.nix+1−1

This diff is too big to show here.

nixos/tests/prometheus-exporters.nix+1−31

This diff is too big to show here.

nixos/tests/pt2-clone.nix+1−1

This diff is too big to show here.

nixos/tests/pulseaudio.nix+1−1

This diff is too big to show here.

nixos/tests/qboot.nix+1−1

This diff is too big to show here.

nixos/tests/quorum.nix+9−32

This diff is too big to show here.

nixos/tests/rabbitmq.nix+1−1

This diff is too big to show here.

nixos/tests/radicale.nix+1−1

This diff is too big to show here.

nixos/tests/rasdaemon.nix+1−1

This diff is too big to show here.

nixos/tests/redmine.nix+1−1

This diff is too big to show here.

nixos/tests/restart-by-activation-script.nix+1−1

This diff is too big to show here.

nixos/tests/retroarch.nixdeleted−49

This diff is too big to show here.

nixos/tests/riak.nix+1−1

This diff is too big to show here.

nixos/tests/rspamd.nix+5−5

This diff is too big to show here.

nixos/tests/rstudio-server.nixdeleted−24

This diff is too big to show here.

nixos/tests/rsyslogd.nix+2−2

This diff is too big to show here.

nixos/tests/sabnzbd.nix+1−1

This diff is too big to show here.

nixos/tests/sddm.nix+2−2

This diff is too big to show here.

nixos/tests/sfxr-qt.nixdeleted−32

This diff is too big to show here.

nixos/tests/shattered-pixel-dungeon.nix+1−1

This diff is too big to show here.

nixos/tests/shiori.nix+2−1

This diff is too big to show here.

nixos/tests/signal-desktop.nix+1−1

This diff is too big to show here.

nixos/tests/simple.nix+1−1

This diff is too big to show here.

nixos/tests/snapcast.nix−1

This diff is too big to show here.

nixos/tests/snapper.nix+1−1

This diff is too big to show here.

nixos/tests/soapui.nix+1−1

This diff is too big to show here.

nixos/tests/solr.nix+1−1

This diff is too big to show here.

nixos/tests/sourcehut.nix+3−18

This diff is too big to show here.

nixos/tests/ssh-keys.nix+1−1

This diff is too big to show here.

nixos/tests/sssd-ldap.nix+1−1

This diff is too big to show here.

nixos/tests/sssd.nix+1−1

This diff is too big to show here.

nixos/tests/starship.nixdeleted−42

This diff is too big to show here.

nixos/tests/step-ca.nix+2−3

This diff is too big to show here.

nixos/tests/sudo.nix−4

This diff is too big to show here.

nixos/tests/sway.nix+25−51

This diff is too big to show here.

nixos/tests/switch-test.nix+16−735

This diff is too big to show here.

nixos/tests/sympa.nix+1−1

This diff is too big to show here.

nixos/tests/syncthing-init.nix+1−1

This diff is too big to show here.

nixos/tests/syncthing-relay.nix+1−1

This diff is too big to show here.

nixos/tests/systemd-analyze.nix+1−1

This diff is too big to show here.

nixos/tests/systemd-binfmt.nix+3−3

This diff is too big to show here.

nixos/tests/systemd-boot.nix+4−145

This diff is too big to show here.

nixos/tests/systemd-confinement.nix+4−27

This diff is too big to show here.

nixos/tests/systemd-cryptenroll.nix+1−1

This diff is too big to show here.

nixos/tests/systemd-escaping.nixdeleted−45

This diff is too big to show here.

nixos/tests/systemd-initrd-btrfs-raid.nixdeleted−45

This diff is too big to show here.

nixos/tests/systemd-initrd-luks-keyfile.nixdeleted−53

This diff is too big to show here.

nixos/tests/systemd-initrd-luks-password.nixdeleted−48

This diff is too big to show here.

nixos/tests/systemd-initrd-simple.nixdeleted−44

This diff is too big to show here.

nixos/tests/systemd-initrd-swraid.nixdeleted−50

This diff is too big to show here.

nixos/tests/systemd-journal.nix+1−1

This diff is too big to show here.

nixos/tests/systemd-machinectl.nixdeleted−85

This diff is too big to show here.

nixos/tests/systemd-misc.nixdeleted−62

This diff is too big to show here.

nixos/tests/systemd-networkd-ipv6-prefix-delegation.nix+14−5

This diff is too big to show here.

nixos/tests/systemd-networkd-vrf.nix−2

This diff is too big to show here.

nixos/tests/systemd-networkd.nix−10

This diff is too big to show here.

nixos/tests/systemd-shutdown.nixdeleted−26

This diff is too big to show here.

nixos/tests/systemd-unit-path.nixnew file+47

This diff is too big to show here.

nixos/tests/systemd.nix+1−5

This diff is too big to show here.

nixos/tests/taskserver.nix−1

This diff is too big to show here.

nixos/tests/teeworlds.nix+2−2

This diff is too big to show here.

nixos/tests/telegraf.nix+1−1

This diff is too big to show here.

nixos/tests/teleport.nixdeleted−99

This diff is too big to show here.

nixos/tests/terminal-emulators.nixdeleted−207

This diff is too big to show here.

nixos/tests/thelounge.nixdeleted−29

This diff is too big to show here.

nixos/tests/tinywl.nixdeleted−57

This diff is too big to show here.

nixos/tests/tomcat.nixdeleted−21

This diff is too big to show here.

nixos/tests/tor.nix+15−10

This diff is too big to show here.

nixos/tests/transmission.nix+1−1

This diff is too big to show here.

nixos/tests/tsm-client-gui.nixdeleted−57

This diff is too big to show here.

nixos/tests/tuptime.nix+1−1

This diff is too big to show here.

nixos/tests/turbovnc-headless-server.nix+1−1

This diff is too big to show here.

nixos/tests/tuxguitar.nix+1−1

This diff is too big to show here.

nixos/tests/udisks2.nix+1−1

This diff is too big to show here.

nixos/tests/unifi.nix+1−2

This diff is too big to show here.

nixos/tests/usbguard.nix+1−1

This diff is too big to show here.

nixos/tests/user-activation-scripts.nix+1−1

This diff is too big to show here.

nixos/tests/uwsgi.nix+1−1

This diff is too big to show here.

nixos/tests/v2ray.nix+1−1

This diff is too big to show here.

nixos/tests/vault-postgresql.nix+1−1

This diff is too big to show here.

nixos/tests/vault.nix+1−1

This diff is too big to show here.

nixos/tests/vaultwarden.nix+1

This diff is too big to show here.

nixos/tests/vector.nix+1−1

This diff is too big to show here.

nixos/tests/vengi-tools.nix+1−1

This diff is too big to show here.

nixos/tests/virtualbox.nix+1−1

This diff is too big to show here.

nixos/tests/vscodium.nix+5−4

This diff is too big to show here.

nixos/tests/vsftpd.nixdeleted−42

This diff is too big to show here.

nixos/tests/web-apps/mastodon.nixdeleted−170

This diff is too big to show here.

nixos/tests/web-apps/netbox.nixdeleted−30

This diff is too big to show here.

nixos/tests/web-apps/nifi.nixdeleted−30

This diff is too big to show here.

nixos/tests/web-apps/peertube.nix+2−6

This diff is too big to show here.

nixos/tests/web-servers/agate.nixdeleted−29

This diff is too big to show here.

nixos/tests/web-servers/unit-php.nix+1−1

This diff is too big to show here.

nixos/tests/wiki-js.nix+1−1

This diff is too big to show here.

nixos/tests/wine.nix+6−13

This diff is too big to show here.

nixos/tests/without-nix.nix+6−15

This diff is too big to show here.

nixos/tests/wmderland.nix+1−1

This diff is too big to show here.

nixos/tests/wordpress.nix+6−3

This diff is too big to show here.

nixos/tests/wpa_supplicant.nix+3−18

This diff is too big to show here.

nixos/tests/xfce.nix+1−1

This diff is too big to show here.

nixos/tests/xmonad-xdg-autostart.nixdeleted−35

This diff is too big to show here.

nixos/tests/xmonad.nix+17−84

This diff is too big to show here.

nixos/tests/xmpp/prosody-mysql.nix+33−65

This diff is too big to show here.

nixos/tests/xmpp/prosody.nix−1

This diff is too big to show here.

nixos/tests/xmpp/xmpp-sendmessage.nix+4−1

This diff is too big to show here.

nixos/tests/xterm.nix+1−1

This diff is too big to show here.

nixos/tests/xxh.nixdeleted−67

This diff is too big to show here.

nixos/tests/yabar.nix+1−1

This diff is too big to show here.

nixos/tests/zammad.nixdeleted−60

This diff is too big to show here.

nixos/tests/zfs.nix+1−51

This diff is too big to show here.

nixos/tests/zigbee2mqtt.nix+1−1

This diff is too big to show here.

nixos/tests/zoneminder.nix+1−1

This diff is too big to show here.

nixos/tests/zrepl.nixdeleted−66

This diff is too big to show here.

pkgs/applications/accessibility/contrast/default.nix+14−14

This diff is too big to show here.

pkgs/applications/accessibility/espeakup/default.nixdeleted−46

This diff is too big to show here.

pkgs/applications/accessibility/squeekboard/default.nix+15−8

This diff is too big to show here.

pkgs/applications/accessibility/svkbd/default.nix+2−2

This diff is too big to show here.

pkgs/applications/accessibility/wvkbd/default.nixdeleted−36

This diff is too big to show here.

pkgs/applications/audio/ChowCentaur/default.nixdeleted−53

This diff is too big to show here.

pkgs/applications/audio/ChowPhaser/default.nixdeleted−76

This diff is too big to show here.

pkgs/applications/audio/LibreArp/default.nixdeleted−53

This diff is too big to show here.

pkgs/applications/audio/LibreArp/lv2.nixdeleted−53

This diff is too big to show here.

pkgs/applications/audio/airwave/default.nix+2−2

This diff is too big to show here.

pkgs/applications/audio/aj-snapshot/default.nix+3−2

This diff is too big to show here.

pkgs/applications/audio/amberol/default.nixdeleted−75

This diff is too big to show here.

pkgs/applications/audio/ams/default.nix+1−1

This diff is too big to show here.

pkgs/applications/audio/audacity/0001-Use-a-different-approach-to-estimate-the-disk-space-.patchnew file+355

This diff is too big to show here.

pkgs/applications/audio/audacity/default.nix+37−60

This diff is too big to show here.

pkgs/applications/audio/audio-recorder/default.nix+1−1

This diff is too big to show here.

pkgs/applications/audio/aumix/default.nix−11

This diff is too big to show here.

pkgs/applications/audio/bespokesynth/default.nix+85−114

This diff is too big to show here.

pkgs/applications/audio/bitwig-studio/bitwig-studio2.nix+1−1

This diff is too big to show here.

pkgs/applications/audio/bitwig-studio/bitwig-studio4.nix+2−2

This diff is too big to show here.

pkgs/applications/audio/blanket/default.nix+7−7

This diff is too big to show here.

pkgs/applications/audio/callaudiod/default.nix+3−3

This diff is too big to show here.

pkgs/applications/audio/cantata/default.nix+2−2

This diff is too big to show here.

pkgs/applications/audio/cardinal/default.nixdeleted−67

This diff is too big to show here.

pkgs/applications/audio/carla/default.nix+2−2

This diff is too big to show here.

pkgs/applications/audio/caudec/default.nix+2−2

This diff is too big to show here.

pkgs/applications/audio/cider/default.nixdeleted−30

This diff is too big to show here.

pkgs/applications/audio/clementine/default.nix+10−3

This diff is too big to show here.

pkgs/applications/audio/clerk/default.nix+6−19

This diff is too big to show here.

pkgs/applications/audio/cmt/default.nix+2−2

This diff is too big to show here.

pkgs/applications/audio/cmus/default.nix+2−2

This diff is too big to show here.

pkgs/applications/audio/cmusfm/default.nix+10−16

This diff is too big to show here.

pkgs/applications/audio/cozy/default.nix+2−2

This diff is too big to show here.

pkgs/applications/audio/csound/default.nix+4−4

This diff is too big to show here.

pkgs/applications/audio/cyanrip/default.nix+3−3

This diff is too big to show here.

pkgs/applications/audio/deadbeef/default.nix+1

This diff is too big to show here.

pkgs/applications/audio/denemo/default.nix+2−2

This diff is too big to show here.

pkgs/applications/audio/dfasma/default.nix+1−1

This diff is too big to show here.

pkgs/applications/audio/dragonfly-reverb/default.nix+2−2

This diff is too big to show here.

pkgs/applications/audio/easyeffects/default.nix+8−10

This diff is too big to show here.

pkgs/applications/audio/espeak-ng/default.nix−4

This diff is too big to show here.

pkgs/applications/audio/eteroj.lv2/default.nixnew file+23

This diff is too big to show here.

pkgs/applications/audio/faust/faust2.nix+2−2

This diff is too big to show here.

pkgs/applications/audio/faust/faustlive.nix+12−9

This diff is too big to show here.

pkgs/applications/audio/faustPhysicalModeling/default.nix+2−2

This diff is too big to show here.

pkgs/applications/audio/flac/default.nix+10−2

This diff is too big to show here.

pkgs/applications/audio/fluidsynth/default.nix+2−2

This diff is too big to show here.

pkgs/applications/audio/fomp/default.nix+2−2

This diff is too big to show here.

pkgs/applications/audio/foo-yc20/default.nixnew file+29

This diff is too big to show here.

pkgs/applications/audio/freac/default.nix+2−2

This diff is too big to show here.

pkgs/applications/audio/freewheeling/default.nix+2−2

This diff is too big to show here.

pkgs/applications/audio/friture/default.nix+12−3

This diff is too big to show here.

pkgs/applications/audio/ft2-clone/default.nix+2−2

This diff is too big to show here.

pkgs/applications/audio/furnace/default.nixdeleted−100

This diff is too big to show here.

pkgs/applications/audio/game-music-emu/default.nix+1−1

This diff is too big to show here.

pkgs/applications/audio/geonkick/default.nix+2−2

This diff is too big to show here.

pkgs/applications/audio/gnome-podcasts/default.nix−11

This diff is too big to show here.

pkgs/applications/audio/goattracker/default.nix+3−2

This diff is too big to show here.

pkgs/applications/audio/gpodder/default.nix+4−9

This diff is too big to show here.

pkgs/applications/audio/gpodder/disable-autoupdate.patch+29−8

This diff is too big to show here.

pkgs/applications/audio/greg/default.nix+3−3

This diff is too big to show here.

pkgs/applications/audio/gspeech/default.nix+2−2

This diff is too big to show here.

pkgs/applications/audio/gtkpod/default.nix+4−5

This diff is too big to show here.

pkgs/applications/audio/guitarix/default.nix−2

This diff is too big to show here.

pkgs/applications/audio/helio-workstation/default.nix+2−2

This diff is too big to show here.

pkgs/applications/audio/helvum/default.nix+19−6

This diff is too big to show here.

pkgs/applications/audio/hivelytracker/default.nix+1−1

This diff is too big to show here.

pkgs/applications/audio/hqplayer-desktop/default.nix−1

This diff is too big to show here.

pkgs/applications/audio/hybridreverb2/default.nix+1−1

This diff is too big to show here.

pkgs/applications/audio/indicator-sound-switcher/default.nixdeleted−62

This diff is too big to show here.

pkgs/applications/audio/industrializer/default.nix+3−1

This diff is too big to show here.

pkgs/applications/audio/jacktrip/default.nixdeleted−61

This diff is too big to show here.

pkgs/applications/audio/jamesdsp/default.nixdeleted−95

This diff is too big to show here.

pkgs/applications/audio/jamin/default.nix+1−1

This diff is too big to show here.

pkgs/applications/audio/jamulus/default.nix+2−2

This diff is too big to show here.

pkgs/applications/audio/japa/default.nix+2−2

This diff is too big to show here.

pkgs/applications/audio/jellycli/default.nixdeleted−33

This diff is too big to show here.

pkgs/applications/audio/jellycli/fix-test-dir.patchdeleted−13

This diff is too big to show here.

pkgs/applications/audio/jmusicbot/default.nix+3−3

This diff is too big to show here.

pkgs/applications/audio/kid3/default.nix+2−2

This diff is too big to show here.

pkgs/applications/audio/libopenmpt/default.nixnew file+42

This diff is too big to show here.

pkgs/applications/audio/librespot/default.nix+1−2

This diff is too big to show here.

pkgs/applications/audio/lollypop/default.nix+2−2

This diff is too big to show here.

pkgs/applications/audio/losslessaudiochecker/default.nix+1−1

This diff is too big to show here.

pkgs/applications/audio/lv2lint/default.nixdeleted−22

This diff is too big to show here.

pkgs/applications/audio/lyrebird/default.nix+2−2

This diff is too big to show here.

pkgs/applications/audio/magnetophonDSP/faustCompressors/default.nix+1−1

This diff is too big to show here.

pkgs/applications/audio/mbrola/default.nix−3

This diff is too big to show here.

pkgs/applications/audio/meters_lv2/default.nix+36−43

This diff is too big to show here.

pkgs/applications/audio/mid2key/default.nix+4−7

This diff is too big to show here.

pkgs/applications/audio/midas/generic.nix+5−4

This diff is too big to show here.

pkgs/applications/audio/milkytracker/default.nix−6

This diff is too big to show here.

pkgs/applications/audio/mixxx/default.nix+3−3

This diff is too big to show here.

pkgs/applications/audio/moc/default.nix+3−5

This diff is too big to show here.

pkgs/applications/audio/mopidy/mopidy.nix+3−3

This diff is too big to show here.

pkgs/applications/audio/mopidy/youtube.nix+5−6

This diff is too big to show here.

pkgs/applications/audio/mopidy/ytmusic.nix+2−11

This diff is too big to show here.

pkgs/applications/audio/mpc/default.nix+12−40

This diff is too big to show here.

pkgs/applications/audio/mpg123/default.nix+2−2

This diff is too big to show here.

pkgs/applications/audio/munt/default.nixnew file+50

This diff is too big to show here.

pkgs/applications/audio/munt/libmt32emu.nixdeleted−38

This diff is too big to show here.

pkgs/applications/audio/munt/mt32emu-qt.nixdeleted−75

This diff is too big to show here.

pkgs/applications/audio/munt/mt32emu-smf2wav.nixdeleted−50

This diff is too big to show here.

pkgs/applications/audio/musescore/darwin.nix+1

This diff is too big to show here.

pkgs/applications/audio/musescore/default.nix+1

This diff is too big to show here.

pkgs/applications/audio/musikcube/default.nix+3−5

This diff is too big to show here.

pkgs/applications/audio/ncspot/default.nix+7−7

This diff is too big to show here.

pkgs/applications/audio/netease-cloud-music-gtk/default.nix+1

This diff is too big to show here.

pkgs/applications/audio/new-session-manager/default.nix+3−3

This diff is too big to show here.

pkgs/applications/audio/noise-repellent/default.nix+9−11

This diff is too big to show here.

pkgs/applications/audio/ocenaudio/default.nix+3−3

This diff is too big to show here.

pkgs/applications/audio/odin2/default.nixdeleted−79

This diff is too big to show here.

pkgs/applications/audio/open-music-kontrollers/eteroj.nixdeleted−10

This diff is too big to show here.

pkgs/applications/audio/open-music-kontrollers/generic.nixdeleted−37

This diff is too big to show here.

pkgs/applications/audio/open-music-kontrollers/jit.nixdeleted−12

This diff is too big to show here.

pkgs/applications/audio/open-music-kontrollers/mephisto.nixdeleted−17

This diff is too big to show here.

pkgs/applications/audio/open-music-kontrollers/midi_matrix.nixdeleted−10

This diff is too big to show here.

pkgs/applications/audio/open-music-kontrollers/moony.nixdeleted−13

This diff is too big to show here.

pkgs/applications/audio/open-music-kontrollers/orbit.nixdeleted−12

This diff is too big to show here.

pkgs/applications/audio/open-music-kontrollers/patchmatrix.nixdeleted−13

This diff is too big to show here.

pkgs/applications/audio/open-music-kontrollers/router.nixdeleted−11

This diff is too big to show here.

pkgs/applications/audio/open-music-kontrollers/sherlock.nixdeleted−12

This diff is too big to show here.

pkgs/applications/audio/open-music-kontrollers/synthpod.nixdeleted−13

This diff is too big to show here.

pkgs/applications/audio/open-music-kontrollers/vm.nixdeleted−10

This diff is too big to show here.

pkgs/applications/audio/orca-c/default.nix−3

This diff is too big to show here.

pkgs/applications/audio/osdlyrics/default.nixdeleted−87

This diff is too big to show here.

pkgs/applications/audio/parlatype/default.nixnew file+68

This diff is too big to show here.

pkgs/applications/audio/patchage/default.nix+11−33

This diff is too big to show here.

pkgs/applications/audio/patchmatrix/default.nixnew file+45

This diff is too big to show here.

pkgs/applications/audio/pd-plugins/zexy/default.nix+1−2

This diff is too big to show here.

pkgs/applications/audio/pianobar/default.nix+2−2

This diff is too big to show here.

pkgs/applications/audio/picard/default.nix+2−5

This diff is too big to show here.

pkgs/applications/audio/pifi/Gemfilenew file+2

This diff is too big to show here.

pkgs/applications/audio/pifi/Gemfile.locknew file+39

This diff is too big to show here.

pkgs/applications/audio/pifi/default.nixnew file+18

This diff is too big to show here.

pkgs/applications/audio/pifi/gemset.nixnew file+137

This diff is too big to show here.

pkgs/applications/audio/pipecontrol/default.nixdeleted−50

This diff is too big to show here.

pkgs/applications/audio/pithos/default.nix+2−2

This diff is too big to show here.

pkgs/applications/audio/plexamp/default.nix+3−3

This diff is too big to show here.

pkgs/applications/audio/plujain-ramp/default.nix+1−1

This diff is too big to show here.

pkgs/applications/audio/praat/default.nix+2−2

This diff is too big to show here.

pkgs/applications/audio/psst/default.nixdeleted−39

This diff is too big to show here.

pkgs/applications/audio/pt2-clone/default.nix+2−2

This diff is too big to show here.

pkgs/applications/audio/ptcollab/default.nix+2−2

This diff is too big to show here.

pkgs/applications/audio/puddletag/default.nix+9−46

This diff is too big to show here.

pkgs/applications/audio/pulseaudio-modules-bt/default.nixnew file+91

This diff is too big to show here.

pkgs/applications/audio/pulseaudio-modules-bt/fix-install-path.patchnew file+11

This diff is too big to show here.

pkgs/applications/audio/pyradio/default.nix+3−9

This diff is too big to show here.

pkgs/applications/audio/qjackctl/default.nix+2−2

This diff is too big to show here.

pkgs/applications/audio/qmidiarp/default.nix+2−2

This diff is too big to show here.

pkgs/applications/audio/qmmp/default.nix+1

This diff is too big to show here.

pkgs/applications/audio/qpwgraph/default.nix+3−3

This diff is too big to show here.

pkgs/applications/audio/qtractor/default.nix+2−2

This diff is too big to show here.

pkgs/applications/audio/r128gain/default.nix+8−2

This diff is too big to show here.

pkgs/applications/audio/reaper/default.nix+3−3

This diff is too big to show here.

pkgs/applications/audio/redux/default.nixdeleted−49

This diff is too big to show here.

pkgs/applications/audio/rhvoice/default.nix+2−2

This diff is too big to show here.

pkgs/applications/audio/rhythmbox/default.nix−10

This diff is too big to show here.

pkgs/applications/audio/roomeqwizard/default.nix+3−3

This diff is too big to show here.

pkgs/applications/audio/rubyripper/default.nix+11−23

This diff is too big to show here.

pkgs/applications/audio/schismtracker/default.nix+4−4

This diff is too big to show here.

pkgs/applications/audio/scream/default.nix+2−2

This diff is too big to show here.

pkgs/applications/audio/sfizz/default.nix+3−8

This diff is too big to show here.

pkgs/applications/audio/sfxr-qt/default.nix+3−29

This diff is too big to show here.

pkgs/applications/audio/sfxr-qt/test-export-square-wave/default.nixdeleted−6

This diff is too big to show here.

pkgs/applications/audio/sfxr-qt/test-export-square-wave/input.sfxjdeleted−29

This diff is too big to show here.

pkgs/applications/audio/shortwave/default.nix+11−9

This diff is too big to show here.

pkgs/applications/audio/sidplayfp/default.nix+2−2

This diff is too big to show here.

pkgs/applications/audio/sisco.lv2/default.nix+2−2

This diff is too big to show here.

pkgs/applications/audio/snd/default.nix+2−2

This diff is too big to show here.

pkgs/applications/audio/songrec/default.nix+4−5

This diff is too big to show here.

pkgs/applications/audio/sonic-pi/default.nix+41−59

This diff is too big to show here.

pkgs/applications/audio/sonixd/default.nixdeleted−27

This diff is too big to show here.

pkgs/applications/audio/sony-headphones-client/default.nix+1−1

This diff is too big to show here.

pkgs/applications/audio/sorcer/default.nix+2−2

This diff is too big to show here.

pkgs/applications/audio/sound-juicer/default.nix−10

This diff is too big to show here.

pkgs/applications/audio/soundconverter/default.nixdeleted−85

This diff is too big to show here.

pkgs/applications/audio/soundkonverter/default.nix+1−1

This diff is too big to show here.

pkgs/applications/audio/soundscape-renderer/default.nix+11−13

This diff is too big to show here.

pkgs/applications/audio/soundwireserver/default.nix−1

This diff is too big to show here.

pkgs/applications/audio/split2flac/default.nix+2−2

This diff is too big to show here.

pkgs/applications/audio/spot/default.nix+3−3

This diff is too big to show here.

pkgs/applications/audio/spotify-qt/default.nix+2−2

This diff is too big to show here.

pkgs/applications/audio/spotify-tui/default.nix−1

This diff is too big to show here.

pkgs/applications/audio/spotify/default.nix+5−5

This diff is too big to show here.

pkgs/applications/audio/sptlrx/default.nixdeleted−24

This diff is too big to show here.

pkgs/applications/audio/squeezelite/default.nix+30−48

This diff is too big to show here.

pkgs/applications/audio/squishyball/default.nix+11−21

This diff is too big to show here.

pkgs/applications/audio/strawberry/default.nix+2−6

This diff is too big to show here.

pkgs/applications/audio/sunvox/default.nix+3−3

This diff is too big to show here.

pkgs/applications/audio/synaesthesia/default.nixdeleted−33

This diff is too big to show here.

pkgs/applications/audio/tauon/default.nix+5−17

This diff is too big to show here.

pkgs/applications/audio/termusic/default.nixdeleted−28

This diff is too big to show here.

pkgs/applications/audio/timemachine/default.nix+2−2

This diff is too big to show here.

pkgs/applications/audio/tonelib-gfx/default.nix+3−3

This diff is too big to show here.

pkgs/applications/audio/tonelib-jam/default.nix+3−3

This diff is too big to show here.

pkgs/applications/audio/tonelib-metal/default.nixdeleted−60

This diff is too big to show here.

pkgs/applications/audio/vgmstream/default.nix+12−21

This diff is too big to show here.

pkgs/applications/audio/vgmstream/update.shdeleted−77

This diff is too big to show here.

pkgs/applications/audio/viper4linux-gui/default.nixdeleted−82

This diff is too big to show here.

pkgs/applications/audio/viper4linux/default.nixdeleted−61

This diff is too big to show here.

pkgs/applications/audio/vmpk/default.nix+2−2

This diff is too big to show here.

pkgs/applications/audio/vocal/default.nix+1−7

This diff is too big to show here.

pkgs/applications/audio/whipper/default.nix−8

This diff is too big to show here.

pkgs/applications/audio/x42-plugins/default.nix+2−2

This diff is too big to show here.

pkgs/applications/audio/xsynth-dssi/default.nix+1−2

This diff is too big to show here.

pkgs/applications/audio/yoshimi/default.nix+18−49

This diff is too big to show here.

pkgs/applications/audio/zrythm/default.nix+13−14

This diff is too big to show here.

pkgs/applications/backup/deja-dup/default.nix+10−10

This diff is too big to show here.

pkgs/applications/backup/deja-dup/fix-paths.patch+3−3

This diff is too big to show here.

pkgs/applications/backup/pika-backup/default.nix−9

This diff is too big to show here.

pkgs/applications/backup/vorta/default.nix+2−2

This diff is too big to show here.

pkgs/applications/blockchains/aeon/default.nix+2−2

This diff is too big to show here.

pkgs/applications/blockchains/alfis/default.nix+3−3

This diff is too big to show here.

pkgs/applications/blockchains/besu/default.nixdeleted−29

This diff is too big to show here.

pkgs/applications/blockchains/bisq-desktop/default.nix+5−4

This diff is too big to show here.

pkgs/applications/blockchains/bitcoin-unlimited/default.nix+1−1

This diff is too big to show here.

pkgs/applications/blockchains/bitcoin/default.nix+2−2

This diff is too big to show here.

pkgs/applications/blockchains/btcpayserver/default.nix+12−6

This diff is too big to show here.

pkgs/applications/blockchains/btcpayserver/deps.nix+308−268

This diff is too big to show here.

pkgs/applications/blockchains/cgminer/default.nix+2−2

This diff is too big to show here.

pkgs/applications/blockchains/chia-plotter/default.nix+8−15

This diff is too big to show here.

pkgs/applications/blockchains/chia-plotter/dont_fetch_dependencies.patch+11−24

This diff is too big to show here.

pkgs/applications/blockchains/chia/default.nix+2−6

This diff is too big to show here.

pkgs/applications/blockchains/clightning/default.nix+5−15

This diff is too big to show here.

pkgs/applications/blockchains/crypto-org-wallet/default.nix+1−1

This diff is too big to show here.

pkgs/applications/blockchains/dogecoin/default.nix+1−1

This diff is too big to show here.

pkgs/applications/blockchains/electrs/default.nix+3−3

This diff is too big to show here.

pkgs/applications/blockchains/elements/default.nix+5−7

This diff is too big to show here.

pkgs/applications/blockchains/ergo/default.nix+2−2

This diff is too big to show here.

pkgs/applications/blockchains/erigon.nix+3−3

This diff is too big to show here.

pkgs/applications/blockchains/exodus/default.nix+2−2

This diff is too big to show here.

pkgs/applications/blockchains/fulcrum/default.nixdeleted−36

This diff is too big to show here.

pkgs/applications/blockchains/go-ethereum/default.nix+4−6

This diff is too big to show here.

pkgs/applications/blockchains/groestlcoin/default.nixdeleted−93

This diff is too big to show here.

pkgs/applications/blockchains/ledger-live-desktop/default.nix+2−2

This diff is too big to show here.

pkgs/applications/blockchains/lightning-loop/default.nix+3−3

This diff is too big to show here.

pkgs/applications/blockchains/lightwalletd/default.nix+2−2

This diff is too big to show here.

pkgs/applications/blockchains/litecoin/default.nix+2−1

This diff is too big to show here.

pkgs/applications/blockchains/lnd/default.nix+3−3

This diff is too big to show here.

pkgs/applications/blockchains/lndmanage/default.nix+2−2

This diff is too big to show here.

pkgs/applications/blockchains/monero-cli/default.nix+2−2

This diff is too big to show here.

pkgs/applications/blockchains/monero-gui/default.nix+3−3

This diff is too big to show here.

pkgs/applications/blockchains/mycrypto/default.nix+1−1

This diff is too big to show here.

pkgs/applications/blockchains/namecoin/default.nix+7−6

This diff is too big to show here.

pkgs/applications/blockchains/nbxplorer/default.nix+5−5

This diff is too big to show here.

pkgs/applications/blockchains/nbxplorer/deps.nix+6−21

This diff is too big to show here.

pkgs/applications/blockchains/nbxplorer/util/update-common.sh+1−1

This diff is too big to show here.

pkgs/applications/blockchains/nearcore/default.nixdeleted−42

This diff is too big to show here.

pkgs/applications/blockchains/openethereum/default.nix+3−3

This diff is too big to show here.

pkgs/applications/blockchains/oxen/default.nix+3−4

This diff is too big to show here.

pkgs/applications/blockchains/parity-ui/default.nixnew file+48

This diff is too big to show here.

pkgs/applications/blockchains/parity-ui/env.nixnew file+19

This diff is too big to show here.

pkgs/applications/blockchains/pivx/default.nix+1−1

This diff is too big to show here.

pkgs/applications/blockchains/polkadot/default.nix+4−27

This diff is too big to show here.

pkgs/applications/blockchains/snarkos/default.nixdeleted−61

This diff is too big to show here.

pkgs/applications/blockchains/solana/default.nixdeleted−61

This diff is too big to show here.

pkgs/applications/blockchains/solana/pin.jsondeleted−5

This diff is too big to show here.

pkgs/applications/blockchains/solana/update.shdeleted−33

This diff is too big to show here.

pkgs/applications/blockchains/stellar-core/default.nix+3−7

This diff is too big to show here.

pkgs/applications/blockchains/trezor-suite/default.nix+3−3

This diff is too big to show here.

pkgs/applications/blockchains/wasabibackend/default.nix+2−2

This diff is too big to show here.

pkgs/applications/blockchains/wasabiwallet/default.nix+1−1

This diff is too big to show here.

pkgs/applications/blockchains/whirlpool-gui/default.nixnew file+104

This diff is too big to show here.

pkgs/applications/blockchains/wownero/default.nix+16−17

This diff is too big to show here.

pkgs/applications/blockchains/zcash/default.nix+6−6

This diff is too big to show here.

pkgs/applications/display-managers/lightdm-enso-os-greeter/default.nix+5−6

This diff is too big to show here.

pkgs/applications/editors/android-studio/common.nix+9−11

This diff is too big to show here.

pkgs/applications/editors/android-studio/default.nix+7−8

This diff is too big to show here.

pkgs/applications/editors/apostrophe/default.nix+2−2

This diff is too big to show here.

pkgs/applications/editors/bless/default.nix+6−12

This diff is too big to show here.

pkgs/applications/editors/bluej/default.nix+10−37

This diff is too big to show here.

pkgs/applications/editors/bonzomatic/default.nix+2−2

This diff is too big to show here.

pkgs/applications/editors/cudatext/default.nix+2−2

This diff is too big to show here.

pkgs/applications/editors/cudatext/deps.json+16−16

This diff is too big to show here.

pkgs/applications/editors/cudatext/update.sh+1−1

This diff is too big to show here.

pkgs/applications/editors/deadpixi-sam/default.nix−2

This diff is too big to show here.

pkgs/applications/editors/eclipse/build-eclipse.nix+2−3

This diff is too big to show here.

pkgs/applications/editors/eclipse/default.nix+13−13

This diff is too big to show here.

pkgs/applications/editors/eclipse/plugins.nix+2−2

This diff is too big to show here.

pkgs/applications/editors/ed/default.nix+2−2

This diff is too big to show here.

pkgs/applications/editors/emacs/27.nixnew file+11

This diff is too big to show here.

pkgs/applications/editors/emacs/28.nixdeleted−5

This diff is too big to show here.

pkgs/applications/editors/emacs/at-fdcwd.patchnew file+15

This diff is too big to show here.

pkgs/applications/editors/emacs/elisp-packages/apheleia/default.nix+4−8

This diff is too big to show here.

pkgs/applications/editors/emacs/elisp-packages/bqn-mode/default.nix+3−3

This diff is too big to show here.

pkgs/applications/editors/emacs/elisp-packages/cedet/default.nixnew file+52

This diff is too big to show here.

pkgs/applications/editors/emacs/elisp-packages/control-lock/default.nixdeleted−23

This diff is too big to show here.

pkgs/applications/editors/emacs/elisp-packages/ebuild-mode/default.nix+2−2

This diff is too big to show here.

pkgs/applications/editors/emacs/elisp-packages/elpa-generated.nix+193−531

This diff is too big to show here.

pkgs/applications/editors/emacs/elisp-packages/elpa-packages.nix+1−7

This diff is too big to show here.

pkgs/applications/editors/emacs/elisp-packages/emacs2nix.nix+3−4

This diff is too big to show here.

pkgs/applications/editors/emacs/elisp-packages/emacspeak/default.nix+1−2

This diff is too big to show here.

pkgs/applications/editors/emacs/elisp-packages/ement/default.nix+3−11

This diff is too big to show here.

pkgs/applications/editors/emacs/elisp-packages/header-file-mode/default.nixdeleted−30

This diff is too big to show here.

pkgs/applications/editors/emacs/elisp-packages/libgenerated.nix+1−4

This diff is too big to show here.

pkgs/applications/editors/emacs/elisp-packages/manual-packages.nix+2−6

This diff is too big to show here.

pkgs/applications/editors/emacs/elisp-packages/melpa-packages.nix+2−47

This diff is too big to show here.

pkgs/applications/editors/emacs/elisp-packages/nongnu-generated.nix+56−1101

This diff is too big to show here.

pkgs/applications/editors/emacs/elisp-packages/nongnu-packages.nix+1−2

This diff is too big to show here.

pkgs/applications/editors/emacs/elisp-packages/org-generated.nixnew file+33

This diff is too big to show here.

pkgs/applications/editors/emacs/elisp-packages/plz/default.nix+4−12

This diff is too big to show here.

pkgs/applications/editors/emacs/elisp-packages/recipes-archive-melpa.json+5510−7291

This diff is too big to show here.

pkgs/applications/editors/emacs/elisp-packages/tramp/default.nixnew file+29

This diff is too big to show here.

pkgs/applications/editors/emacs/elisp-packages/tree-sitter-langs/default-grammars.jsondeleted−32

This diff is too big to show here.

pkgs/applications/editors/emacs/elisp-packages/tree-sitter-langs/default.nixdeleted−44

This diff is too big to show here.

pkgs/applications/editors/emacs/elisp-packages/tree-sitter-langs/update-defaults.pydeleted−74

This diff is too big to show here.

pkgs/applications/editors/emacs/elisp-packages/tsc/default.nixdeleted−89

This diff is too big to show here.

pkgs/applications/editors/emacs/elisp-packages/tsc/src.jsondeleted−10

This diff is too big to show here.

pkgs/applications/editors/emacs/elisp-packages/tsc/update.pydeleted−122

This diff is too big to show here.

pkgs/applications/editors/emacs/elisp-packages/updatedeleted−10

This diff is too big to show here.

pkgs/applications/editors/emacs/elisp-packages/update-manualdeleted−7

This diff is too big to show here.

pkgs/applications/editors/emacs/elisp-packages/update-manual.nixdeleted−11

This diff is too big to show here.

pkgs/applications/editors/emacs/generic.nix+7−17

This diff is too big to show here.

pkgs/applications/editors/featherpad/default.nix+2−2

This diff is too big to show here.

pkgs/applications/editors/ghostwriter/default.nix+2−2

This diff is too big to show here.

pkgs/applications/editors/gnome-builder/default.nix+10−10

This diff is too big to show here.

pkgs/applications/editors/gophernotes/default.nix+3−3

This diff is too big to show here.

pkgs/applications/editors/helix/default.nix+10−13

This diff is too big to show here.

pkgs/applications/editors/heme/default.nixnew file+29

This diff is too big to show here.

pkgs/applications/editors/hexdino/default.nix+6−6

This diff is too big to show here.

pkgs/applications/editors/jetbrains/common.nixnew file+98

This diff is too big to show here.

pkgs/applications/editors/jetbrains/darwin.nixdeleted−36

This diff is too big to show here.

pkgs/applications/editors/jetbrains/default.nix+115−123

This diff is too big to show here.

pkgs/applications/editors/jetbrains/linux.nixdeleted−93

This diff is too big to show here.

pkgs/applications/editors/jetbrains/update.plnew file+101

This diff is too big to show here.

pkgs/applications/editors/jetbrains/update.pydeleted−100

This diff is too big to show here.

pkgs/applications/editors/jetbrains/versions.jsondeleted−296

This diff is too big to show here.

pkgs/applications/editors/jove/default.nix+1−2

This diff is too big to show here.

pkgs/applications/editors/jucipp/default.nix+2−1

This diff is too big to show here.

pkgs/applications/editors/jupyter-kernels/octave/default.nix+1−2

This diff is too big to show here.

pkgs/applications/editors/jupyter-kernels/octave/kernel.nix+6−4

This diff is too big to show here.

pkgs/applications/editors/jupyter-kernels/wolfram/default.nixdeleted−22

This diff is too big to show here.

pkgs/applications/editors/jupyter-kernels/wolfram/kernel.nixdeleted−32

This diff is too big to show here.

pkgs/applications/editors/kakoune/plugins/default.nix+1−1

This diff is too big to show here.

pkgs/applications/editors/kakoune/plugins/kakoune-plugin-names+19−20

This diff is too big to show here.

pkgs/applications/editors/kakoune/plugins/update.py+2−2

This diff is too big to show here.

pkgs/applications/editors/kdevelop5/kdev-php.nix+6−4

This diff is too big to show here.

pkgs/applications/editors/kdevelop5/kdev-python.nix+6−4

This diff is too big to show here.

pkgs/applications/editors/kodestudio/default.nix+2−2

This diff is too big to show here.

pkgs/applications/editors/lapce/default.nixdeleted−99

This diff is too big to show here.

pkgs/applications/editors/leo-editor/default.nix+7−5

This diff is too big to show here.

pkgs/applications/editors/lifeograph/default.nix+5−5

This diff is too big to show here.

pkgs/applications/editors/lite-xl/default.nix+2−2

This diff is too big to show here.

pkgs/applications/editors/marker/default.nix+1−4

This diff is too big to show here.

pkgs/applications/editors/mg/default.nix−4

This diff is too big to show here.

pkgs/applications/editors/micro/default.nix+1−3

This diff is too big to show here.

pkgs/applications/editors/micro/test-with-expect.nixdeleted−30

This diff is too big to show here.

pkgs/applications/editors/mle/default.nix+1−11

This diff is too big to show here.

pkgs/applications/editors/moe/default.nix+2−2

This diff is too big to show here.

pkgs/applications/editors/monodevelop/default.nixnew file+81

This diff is too big to show here.

pkgs/applications/editors/monodevelop/git-revert-12d610fb3f6dce121df538e36f21d8c2eeb0a6e3.patchnew file+57

This diff is too big to show here.

pkgs/applications/editors/music/tuxguitar/default.nix+3−3

This diff is too big to show here.

pkgs/applications/editors/nano/default.nix+4−6

This diff is too big to show here.

pkgs/applications/editors/nano/test-with-expect.nixdeleted−35

This diff is too big to show here.

pkgs/applications/editors/neovim/default.nix+17−13

This diff is too big to show here.

pkgs/applications/editors/neovim/neovide/default.nix+8−10

This diff is too big to show here.

pkgs/applications/editors/neovim/neovide/skia-externals.json+6−6

This diff is too big to show here.

pkgs/applications/editors/neovim/neovim-remote.nix+3−2

This diff is too big to show here.

pkgs/applications/editors/neovim/ruby_provider/Gemfile.lock+2−2

This diff is too big to show here.

pkgs/applications/editors/neovim/ruby_provider/gemset.nix+5−5

This diff is too big to show here.

pkgs/applications/editors/netbeans/default.nix+5−5

This diff is too big to show here.

pkgs/applications/editors/nvi/default.nix−1

This diff is too big to show here.

pkgs/applications/editors/oed/default.nix−9

This diff is too big to show here.

pkgs/applications/editors/okteta/default.nix+2−4

This diff is too big to show here.

pkgs/applications/editors/oni2/common.nix+1

This diff is too big to show here.

pkgs/applications/editors/pinegrow/default.nixdeleted−80

This diff is too big to show here.

pkgs/applications/editors/poke/default.nix+2−19

This diff is too big to show here.

pkgs/applications/editors/quartus-prime/default.nix+1−2

This diff is too big to show here.

pkgs/applications/editors/qxmledit/default.nix+1−1

This diff is too big to show here.

pkgs/applications/editors/rednotebook/default.nix+3−4

This diff is too big to show here.

pkgs/applications/editors/rehex/default.nix+8−14

This diff is too big to show here.

pkgs/applications/editors/retext/default.nix+16−37

This diff is too big to show here.

pkgs/applications/editors/rstudio/default.nix+141−171

This diff is too big to show here.

pkgs/applications/editors/setzer/default.nix+2−2

This diff is too big to show here.

pkgs/applications/editors/sigil/default.nix+2−2

This diff is too big to show here.

pkgs/applications/editors/standardnotes/default.nix+3−3

This diff is too big to show here.

pkgs/applications/editors/sublime/2/default.nix+1−1

This diff is too big to show here.

pkgs/applications/editors/sublime/3/common.nix+1−1

This diff is too big to show here.

pkgs/applications/editors/texmaker/default.nix+2−2

This diff is too big to show here.

pkgs/applications/editors/texstudio/default.nix+2−2

This diff is too big to show here.

pkgs/applications/editors/texworks/default.nix+2−2

This diff is too big to show here.

pkgs/applications/editors/thonny/default.nix+1−1

This diff is too big to show here.

pkgs/applications/editors/tiled/default.nix+4−4

This diff is too big to show here.

pkgs/applications/editors/vim/common.nix+2−2

This diff is too big to show here.

pkgs/applications/editors/vim/configurable.nix+34−7

This diff is too big to show here.

pkgs/applications/editors/vim/macvim.nix+3−3

This diff is too big to show here.

pkgs/applications/editors/vim/macvim.patch+34−32

This diff is too big to show here.

pkgs/applications/editors/vim/plugins/default.nixdeleted−52

This diff is too big to show here.

pkgs/applications/editors/vim/plugins/overrides.nixdeleted−1160

This diff is too big to show here.

pkgs/applications/editors/vim/plugins/patches/sniprun/fix-paths.patchdeleted−36

This diff is too big to show here.

pkgs/applications/editors/vim/plugins/update-shell.nixdeleted−16

This diff is too big to show here.

pkgs/applications/editors/vim/plugins/update.pydeleted−128

This diff is too big to show here.

pkgs/applications/editors/vim/plugins/vim-command-check-hook.shdeleted−25

This diff is too big to show here.

pkgs/applications/editors/vim/plugins/vim-plugin-namesdeleted−1014

This diff is too big to show here.

pkgs/applications/editors/vis/default.nix+8−4

This diff is too big to show here.

pkgs/applications/editors/vscode/extensions/cpptools/default.nixdeleted−111

This diff is too big to show here.

pkgs/applications/editors/vscode/extensions/default.nixdeleted−2348

This diff is too big to show here.

pkgs/applications/editors/vscode/extensions/language-packs.nixdeleted−89

This diff is too big to show here.

pkgs/applications/editors/vscode/extensions/ms-dotnettools-csharp/default.nixdeleted−152

This diff is too big to show here.

pkgs/applications/editors/vscode/extensions/ms-dotnettools-csharp/rt-deps-bin-srcs.jsondeleted−94

This diff is too big to show here.

pkgs/applications/editors/vscode/extensions/ms-vsliveshare-vsliveshare/default.nixdeleted−133

This diff is too big to show here.

pkgs/applications/editors/vscode/extensions/python/default.nixdeleted−128

This diff is too big to show here.

pkgs/applications/editors/vscode/extensions/remote-ssh/default.nixdeleted−54

This diff is too big to show here.

pkgs/applications/editors/vscode/extensions/rust-analyzer/build-deps/package.jsondeleted−19

This diff is too big to show here.

pkgs/applications/editors/vscode/extensions/rust-analyzer/default.nixdeleted−88

This diff is too big to show here.

pkgs/applications/editors/vscode/extensions/rust-analyzer/update.shdeleted−49

This diff is too big to show here.

pkgs/applications/editors/vscode/extensions/terraform/default.nixdeleted−20

This diff is too big to show here.

pkgs/applications/editors/vscode/extensions/vscode-lldb/default.nixdeleted−104

This diff is too big to show here.

pkgs/applications/editors/vscode/extensions/vscode-lldb/update.shdeleted−46

This diff is too big to show here.

pkgs/applications/editors/vscode/extensions/wakatime/default.nixdeleted−22

This diff is too big to show here.

pkgs/applications/editors/vscode/generic.nix+31−31

This diff is too big to show here.

pkgs/applications/editors/vscode/update-shell.nixdeleted−18

This diff is too big to show here.

pkgs/applications/editors/vscode/update-vscode.sh+2−2

This diff is too big to show here.

pkgs/applications/editors/vscode/update-vscodium.sh+14−18

This diff is too big to show here.

pkgs/applications/editors/vscode/vscode.nix+6−6

This diff is too big to show here.

pkgs/applications/editors/vscode/vscodium.nix+13−10

This diff is too big to show here.

pkgs/applications/editors/wxhexeditor/default.nix+2−3

This diff is too big to show here.

pkgs/applications/editors/xed-editor/default.nix+2−2

This diff is too big to show here.

pkgs/applications/editors/xedit/default.nix+2−2

This diff is too big to show here.

pkgs/applications/editors/xxe-pe/default.nix+1−1

This diff is too big to show here.

pkgs/applications/editors/your-editor/default.nix+2−2

This diff is too big to show here.

pkgs/applications/emulators/attract-mode/default.nixdeleted−33

This diff is too big to show here.

pkgs/applications/emulators/basiliskii/default.nixdeleted−28

This diff is too big to show here.

pkgs/applications/emulators/basiliskii/remove-redhat-6-workaround-for-scsi-sg.h.patchdeleted−10

This diff is too big to show here.

pkgs/applications/emulators/bsnes/higan/default.nixdeleted−155

This diff is too big to show here.

pkgs/applications/emulators/ccemux/default.nixdeleted−67

This diff is too big to show here.

pkgs/applications/emulators/cdemu/base.nixdeleted−36

This diff is too big to show here.

pkgs/applications/emulators/cdemu/daemon.nixdeleted−9

This diff is too big to show here.

pkgs/applications/emulators/cdemu/vhba.nixdeleted−22

This diff is too big to show here.

pkgs/applications/emulators/collapseos-cvm/default.nixdeleted−30

This diff is too big to show here.

pkgs/applications/emulators/commanderx16/emulator.nixdeleted−44

This diff is too big to show here.

pkgs/applications/emulators/commanderx16/rom.nixdeleted−52

This diff is too big to show here.

pkgs/applications/emulators/dosbox-staging/default.nixdeleted−112

This diff is too big to show here.

pkgs/applications/emulators/dosbox/default.nixdeleted−75

This diff is too big to show here.

pkgs/applications/emulators/duckstation/default.nixdeleted−106

This diff is too big to show here.

pkgs/applications/emulators/dynamips/default.nixdeleted−36

This diff is too big to show here.

pkgs/applications/emulators/fceux/default.nixdeleted−24

This diff is too big to show here.

pkgs/applications/emulators/flycast/default.nixdeleted−52

This diff is too big to show here.

pkgs/applications/emulators/goldberg-emu/default.nixdeleted−52

This diff is too big to show here.

pkgs/applications/emulators/goldberg-emu/dont-install-unsupported.patchdeleted−34

This diff is too big to show here.

pkgs/applications/emulators/hercules/default.nixdeleted−27

This diff is too big to show here.

pkgs/applications/emulators/libdsk/default.nixdeleted−19

This diff is too big to show here.

pkgs/applications/emulators/mame/0001-Revert-Added-PDF-documentation-to-dist.mak.patchdeleted−37

This diff is too big to show here.

pkgs/applications/emulators/mame/default.nixdeleted−155

This diff is too big to show here.

pkgs/applications/emulators/mednafen/default.nixdeleted−98

This diff is too big to show here.

pkgs/applications/emulators/mednaffe/default.nixdeleted−41

This diff is too big to show here.

pkgs/applications/emulators/melonDS/default.nixdeleted−43

This diff is too big to show here.

pkgs/applications/emulators/mgba/default.nixdeleted−87

This diff is too big to show here.

pkgs/applications/emulators/proton-caller/default.nixdeleted−24

This diff is too big to show here.

pkgs/applications/emulators/punes/default.nixdeleted−64

This diff is too big to show here.

pkgs/applications/emulators/resim/default.nixdeleted−21

This diff is too big to show here.

pkgs/applications/emulators/retroarch/default.nixdeleted−139

This diff is too big to show here.

pkgs/applications/emulators/retroarch/disable-menu_show_core_updater.patchdeleted−25

This diff is too big to show here.

pkgs/applications/emulators/retroarch/hashes.jsondeleted−488

This diff is too big to show here.

pkgs/applications/emulators/retroarch/update_cores.pydeleted−173

This diff is too big to show here.

pkgs/applications/emulators/retroarch/use-fixed-paths-on-libretro_info_path.patchdeleted−84

This diff is too big to show here.

pkgs/applications/emulators/retroarch/wrapper.nixdeleted−41

This diff is too big to show here.

pkgs/applications/emulators/retrofe/default.nixdeleted−78

This diff is too big to show here.

pkgs/applications/emulators/ripes/default.nixdeleted−50

This diff is too big to show here.

pkgs/applications/emulators/rpcs3/0001-llvm-ExecutionEngine-IntelJITEvents-only-use-ITTAPI_.patchdeleted−62

This diff is too big to show here.

pkgs/applications/emulators/rpcs3/default.nixdeleted−80

This diff is too big to show here.

pkgs/applications/emulators/rpcs3/update.shdeleted−59

This diff is too big to show here.

pkgs/applications/emulators/ruffle/default.nixdeleted−60

This diff is too big to show here.

pkgs/applications/emulators/ryujinx/appdir.patchdeleted−23

This diff is too big to show here.

pkgs/applications/emulators/ryujinx/default.nixdeleted−108

This diff is too big to show here.

pkgs/applications/emulators/ryujinx/deps.nixdeleted−227

This diff is too big to show here.

pkgs/applications/emulators/ryujinx/updater.shdeleted−86

This diff is too big to show here.

pkgs/applications/emulators/snes9x/default.nixdeleted−130

This diff is too big to show here.

pkgs/applications/emulators/tiny8086/default.nixdeleted−68

This diff is too big to show here.

pkgs/applications/emulators/tinyemu/default.nixdeleted−46

This diff is too big to show here.

pkgs/applications/emulators/vice/default.nixdeleted−187

This diff is too big to show here.

pkgs/applications/emulators/wine/base.nixdeleted−199

This diff is too big to show here.

pkgs/applications/emulators/wine/darwin-metal-compat.patchdeleted−31

This diff is too big to show here.

pkgs/applications/emulators/wine/default.nixdeleted−67

This diff is too big to show here.

pkgs/applications/emulators/wine/packages.nixdeleted−44

This diff is too big to show here.

pkgs/applications/emulators/wine/setup-hook-darwin.shdeleted−37

This diff is too big to show here.

pkgs/applications/emulators/wine/sources.nixdeleted−93

This diff is too big to show here.

pkgs/applications/emulators/wine/vkd3d.nixdeleted−28

This diff is too big to show here.

pkgs/applications/emulators/yuzu/compatibility-list.jsondeleted−1

This diff is too big to show here.

pkgs/applications/emulators/yuzu/default.nixdeleted−40

This diff is too big to show here.

pkgs/applications/emulators/yuzu/generic.nixdeleted−157

This diff is too big to show here.

pkgs/applications/emulators/yuzu/update.shdeleted−102

This diff is too big to show here.

pkgs/applications/emulators/zesarux/default.nixdeleted−97

This diff is too big to show here.

pkgs/applications/emulators/zsnes/default.nixdeleted−64

This diff is too big to show here.

pkgs/applications/finance/cryptowatch/default.nixdeleted−57

This diff is too big to show here.

pkgs/applications/finance/irpf/default.nixdeleted−73

This diff is too big to show here.

pkgs/applications/finance/odoo/default.nix+2−7

This diff is too big to show here.

pkgs/applications/gis/gmt/dcw.nix+2−2

This diff is too big to show here.

pkgs/applications/gis/gmt/default.nix+2−2

This diff is too big to show here.

pkgs/applications/gis/grass/default.nix+44−32

This diff is too big to show here.

pkgs/applications/gis/qgis/default.nix+4−10

This diff is too big to show here.

pkgs/applications/gis/qgis/ltr.nixdeleted−32

This diff is too big to show here.

pkgs/applications/gis/qgis/unwrapped-ltr.nixdeleted−153

This diff is too big to show here.

pkgs/applications/gis/qgis/unwrapped.nix+11−36

This diff is too big to show here.

pkgs/applications/gis/zombietrackergps/default.nix+5−15

This diff is too big to show here.

pkgs/applications/graphics/ImageMagick/6.x.nix+1−1

This diff is too big to show here.

pkgs/applications/graphics/ImageMagick/7.0.nix+23−59

This diff is too big to show here.

pkgs/applications/graphics/antimony/default.nix+7−3

This diff is too big to show here.

pkgs/applications/graphics/apitrace/default.nix−6

This diff is too big to show here.

pkgs/applications/graphics/apitrace/glibc-2.34-compat.patchdeleted−13

This diff is too big to show here.

pkgs/applications/graphics/avocode/default.nix+3−3

This diff is too big to show here.

pkgs/applications/graphics/awesomebump/default.nix+1−1

This diff is too big to show here.

pkgs/applications/graphics/azpainter/default.nix+11−20

This diff is too big to show here.

pkgs/applications/graphics/blockbench-electron/default.nix+4−4

This diff is too big to show here.

pkgs/applications/graphics/cloudcompare/default.nix+12−47

This diff is too big to show here.

pkgs/applications/graphics/cq-editor/default.nix+1−1

This diff is too big to show here.

pkgs/applications/graphics/darktable/default.nix+14−6

This diff is too big to show here.

pkgs/applications/graphics/deskew/default.nix+9−11

This diff is too big to show here.

pkgs/applications/graphics/digikam/default.nix+3−14

This diff is too big to show here.

pkgs/applications/graphics/displaycal/default.nixnew file+72

This diff is too big to show here.

pkgs/applications/graphics/drawing/default.nix+2−15

This diff is too big to show here.

pkgs/applications/graphics/drawio/default.nix+2−8

This diff is too big to show here.

pkgs/applications/graphics/evilpixie/default.nix+4−4

This diff is too big to show here.

pkgs/applications/graphics/exrtools/default.nix+1−1

This diff is too big to show here.

pkgs/applications/graphics/feh/default.nix+7−7

This diff is too big to show here.

pkgs/applications/graphics/fig2dev/default.nix+1−3

This diff is too big to show here.

pkgs/applications/graphics/fiji/default.nix+9−4

This diff is too big to show here.

pkgs/applications/graphics/foxotron/default.nix+3−3

This diff is too big to show here.

pkgs/applications/graphics/gcolor3/default.nix+2−6

This diff is too big to show here.

pkgs/applications/graphics/geeqie/default.nix+5−16

This diff is too big to show here.

pkgs/applications/graphics/gimp/default.nix−1

This diff is too big to show here.

pkgs/applications/graphics/gimp/plugins/default.nix+1−40

This diff is too big to show here.

pkgs/applications/graphics/gimp/wrapper.nix−2

This diff is too big to show here.

pkgs/applications/graphics/glabels/default.nix+1−1

This diff is too big to show here.

pkgs/applications/graphics/glimpse/default.nix−1

This diff is too big to show here.

pkgs/applications/graphics/glimpse/wrapper.nix−2

This diff is too big to show here.

pkgs/applications/graphics/gnome-obfuscate/default.nixdeleted−70

This diff is too big to show here.

pkgs/applications/graphics/gnome-photos/default.nix+3−2

This diff is too big to show here.

pkgs/applications/graphics/gpicview/default.nix+1

This diff is too big to show here.

pkgs/applications/graphics/graphicsmagick/default.nix+4−17

This diff is too big to show here.

pkgs/applications/graphics/gscan2pdf/default.nix+5−3

This diff is too big to show here.

pkgs/applications/graphics/gthumb/default.nix+2−2

This diff is too big to show here.

pkgs/applications/graphics/hdrmerge/default.nixdeleted−76

This diff is too big to show here.

pkgs/applications/graphics/hugin/default.nix+11−2

This diff is too big to show here.

pkgs/applications/graphics/hydrus/default.nix+3−6

This diff is too big to show here.

pkgs/applications/graphics/icon-library/default.nix+12−18

This diff is too big to show here.

pkgs/applications/graphics/image-roll/default.nix+3−3

This diff is too big to show here.

pkgs/applications/graphics/imagej/default.nix+1−1

This diff is too big to show here.

pkgs/applications/graphics/imgbrd-grabber/default.nix+3−3

This diff is too big to show here.

pkgs/applications/graphics/imlibsetroot/default.nix+6−13

This diff is too big to show here.

pkgs/applications/graphics/inkscape/default.nix+10−7

This diff is too big to show here.

pkgs/applications/graphics/inkscape/extensions.nix+2−2

This diff is too big to show here.

pkgs/applications/graphics/ipe/default.nix+6−4

This diff is too big to show here.

pkgs/applications/graphics/jpegrescan/default.nix+1−5

This diff is too big to show here.

pkgs/applications/graphics/k3d/default.nixnew file+51

This diff is too big to show here.

pkgs/applications/graphics/krita/default.nix+2−2

This diff is too big to show here.

pkgs/applications/graphics/lightburn/default.nix+2−2

This diff is too big to show here.

pkgs/applications/graphics/mandelbulber/default.nix+3−3

This diff is too big to show here.

pkgs/applications/graphics/menyoki/default.nix+3−3

This diff is too big to show here.

pkgs/applications/graphics/meshlab/default.nix+2−2

This diff is too big to show here.

pkgs/applications/graphics/mtpaint/default.nix+5−3

This diff is too big to show here.

pkgs/applications/graphics/mypaint/default.nix−10

This diff is too big to show here.

pkgs/applications/graphics/nomacs/default.nix+1

This diff is too big to show here.

pkgs/applications/graphics/nsxiv/default.nixdeleted−61

This diff is too big to show here.

pkgs/applications/graphics/ocrfeeder/default.nix+8−5

This diff is too big to show here.

pkgs/applications/graphics/openboard/default.nix+3−11

This diff is too big to show here.

pkgs/applications/graphics/openscad/default.nix+2−5

This diff is too big to show here.

pkgs/applications/graphics/ovito/default.nix+2−2

This diff is too big to show here.

pkgs/applications/graphics/paraview/default.nix+2−2

This diff is too big to show here.

pkgs/applications/graphics/pdfcpu/default.nix+1−1

This diff is too big to show here.

pkgs/applications/graphics/photivo/default.nixnew file+54

This diff is too big to show here.

pkgs/applications/graphics/photivo/gcc6.patchnew file+13

This diff is too big to show here.

pkgs/applications/graphics/pinta/default.nix+39−40

This diff is too big to show here.

pkgs/applications/graphics/pixeluvo/default.nix−1

This diff is too big to show here.

pkgs/applications/graphics/pixinsight/default.nixdeleted−132

This diff is too big to show here.

pkgs/applications/graphics/qiv/default.upstreamnew file+3

This diff is too big to show here.

pkgs/applications/graphics/rawtherapee/default.nix−3

This diff is too big to show here.

pkgs/applications/graphics/rawtherapee/fix-6324.patchdeleted−356

This diff is too big to show here.

pkgs/applications/graphics/renderdoc/default.nix+7−28

This diff is too big to show here.

pkgs/applications/graphics/rnote/default.nixdeleted−78

This diff is too big to show here.

pkgs/applications/graphics/sane/backends/brscan4/default.nix+2−2

This diff is too big to show here.

pkgs/applications/graphics/sane/backends/brscan5/default.nix+21−31

This diff is too big to show here.

pkgs/applications/graphics/sane/config.nix+1−1

This diff is too big to show here.

pkgs/applications/graphics/screencloud/default.nix+3−3

This diff is too big to show here.

pkgs/applications/graphics/shotwell/default.nix+2−2

This diff is too big to show here.

pkgs/applications/graphics/solvespace/default.nix+15−63

This diff is too big to show here.

pkgs/applications/graphics/swingsane/default.nix+1−1

This diff is too big to show here.

pkgs/applications/graphics/synfigstudio/default.nix+2−2

This diff is too big to show here.

pkgs/applications/graphics/tesseract/default.nix−6

This diff is too big to show here.

pkgs/applications/graphics/tesseract/fetch-language-hashes+2−2

This diff is too big to show here.

pkgs/applications/graphics/tesseract/languages.nix+245−245

This diff is too big to show here.

pkgs/applications/graphics/tesseract/tesseract3.nix+3−14

This diff is too big to show here.

pkgs/applications/graphics/tesseract/tesseract4.nix+3−15

This diff is too big to show here.

pkgs/applications/graphics/tesseract/tesseract5.nixdeleted−39

This diff is too big to show here.

pkgs/applications/graphics/tesseract/wrapper.nix+3−29

This diff is too big to show here.

pkgs/applications/graphics/tev/default.nix+7−3

This diff is too big to show here.

pkgs/applications/graphics/unigine-heaven/default.nixdeleted−107

This diff is too big to show here.

pkgs/applications/graphics/unigine-sanctuary/default.nixdeleted−97

This diff is too big to show here.

pkgs/applications/graphics/unigine-superposition/default.nixdeleted−146

This diff is too big to show here.

pkgs/applications/graphics/unigine-tropics/default.nixdeleted−95

This diff is too big to show here.

pkgs/applications/graphics/unigine-valley/default.nix+99−120

This diff is too big to show here.

pkgs/applications/graphics/vengi-tools/default.nix+21−14

This diff is too big to show here.

pkgs/applications/graphics/vengi-tools/test-voxconvert-all-formats.nixdeleted−15

This diff is too big to show here.

pkgs/applications/graphics/vengi-tools/test-voxconvert-roundtrip.nix+3−3

This diff is too big to show here.

pkgs/applications/graphics/weylus/default.nix+38−53

This diff is too big to show here.

pkgs/applications/graphics/write_stylus/default.nix+1−1

This diff is too big to show here.

pkgs/applications/graphics/xfig/default.nix+2−13

This diff is too big to show here.

pkgs/applications/graphics/xournal/default.nix+5−5

This diff is too big to show here.

pkgs/applications/graphics/xournalpp/default.nix+3−4

This diff is too big to show here.

pkgs/applications/graphics/xrgears/default.nix+3−14

This diff is too big to show here.

pkgs/applications/graphics/yed/default.nix+2−2

This diff is too big to show here.

pkgs/applications/kde/default.nix+1−8

This diff is too big to show here.

pkgs/applications/kde/falkon.nixdeleted−40

This diff is too big to show here.

pkgs/applications/kde/fetch.sh+1−1

This diff is too big to show here.

pkgs/applications/kde/kaddressbook.nix−4

This diff is too big to show here.

pkgs/applications/kde/kalarm.nix+2−2

This diff is too big to show here.

pkgs/applications/kde/kalarmcal.nixnew file+19

This diff is too big to show here.

pkgs/applications/kde/kalendar.nixdeleted−94

This diff is too big to show here.

pkgs/applications/kde/kamoso.nix+1−1

This diff is too big to show here.

pkgs/applications/kde/kbreakout.nix+1−1

This diff is too big to show here.

pkgs/applications/kde/kdegraphics-thumbnailers.nix+2−2

This diff is too big to show here.

pkgs/applications/kde/kdepim-addons.nix+2−2

This diff is too big to show here.

pkgs/applications/kde/kdepim-runtime/default.nix+2−2

This diff is too big to show here.

pkgs/applications/kde/kio-extras.nix−7

This diff is too big to show here.

pkgs/applications/kde/kmousetool.nixdeleted−35

This diff is too big to show here.

pkgs/applications/kde/konsole.nix+1−3

This diff is too big to show here.

pkgs/applications/kde/ktorrent.nixdeleted−22

This diff is too big to show here.

pkgs/applications/kde/libktorrent.nixdeleted−22

This diff is too big to show here.

pkgs/applications/kde/picmi.nix+11−1

This diff is too big to show here.

pkgs/applications/kde/pimcommon.nix+2−2

This diff is too big to show here.

pkgs/applications/kde/skanlite.nixdeleted−18

This diff is too big to show here.

pkgs/applications/kde/skanpage.nixdeleted−32

This diff is too big to show here.

pkgs/applications/kde/srcs.nix+921−937

This diff is too big to show here.

pkgs/applications/kde/yakuake.nix−2

This diff is too big to show here.

pkgs/applications/kde/zanshin.nixdeleted−18

This diff is too big to show here.

pkgs/applications/logging/sosreport/default.nixdeleted−51

This diff is too big to show here.

pkgs/applications/misc/1password-gui/beta.nixdeleted−132

This diff is too big to show here.

pkgs/applications/misc/1password-gui/default.nix+5−18

This diff is too big to show here.

pkgs/applications/misc/1password/default.nix+30−47

This diff is too big to show here.

pkgs/applications/misc/ArchiSteamFarm/default.nix+12−16

This diff is too big to show here.

pkgs/applications/misc/ArchiSteamFarm/deps-aarch64-linux.nixdeleted−280

This diff is too big to show here.

pkgs/applications/misc/ArchiSteamFarm/deps-x86_64-linux.nixdeleted−280

This diff is too big to show here.

pkgs/applications/misc/ArchiSteamFarm/deps.nixnew file+291

This diff is too big to show here.

pkgs/applications/misc/ArchiSteamFarm/mutable-customdir.patchnew file+13

This diff is too big to show here.

pkgs/applications/misc/ArchiSteamFarm/updater.sh+8−16

This diff is too big to show here.

pkgs/applications/misc/ArchiSteamFarm/web-ui/default.nixdeleted−40

This diff is too big to show here.

pkgs/applications/misc/ArchiSteamFarm/web-ui/node-composition.nixdeleted−17

This diff is too big to show here.

pkgs/applications/misc/ArchiSteamFarm/web-ui/node-packages.nixdeleted−7645

This diff is too big to show here.

pkgs/applications/misc/ArchiSteamFarm/web-ui/update.shdeleted−26

This diff is too big to show here.

pkgs/applications/misc/HentaiAtHome/default.nix+1−1

This diff is too big to show here.

pkgs/applications/misc/OSCAR/default.nix+4−6

This diff is too big to show here.

pkgs/applications/misc/ablog/default.nixdeleted−36

This diff is too big to show here.

pkgs/applications/misc/abook/default.nix+1−1

This diff is too big to show here.

pkgs/applications/misc/airtame/default.nixnew file+79

This diff is too big to show here.

pkgs/applications/misc/almanah/default.nix+1−13

This diff is too big to show here.

pkgs/applications/misc/anytype/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/appeditor/default.nix−5

This diff is too big to show here.

pkgs/applications/misc/archivebox/default.nix+24−16

This diff is too big to show here.

pkgs/applications/misc/archivy/default.nix+26−16

This diff is too big to show here.

pkgs/applications/misc/artha/default.nix+8−4

This diff is too big to show here.

pkgs/applications/misc/artha/gio-underlink.patchnew file+13

This diff is too big to show here.

pkgs/applications/misc/audio/sox/default.nix+7−14

This diff is too big to show here.

pkgs/applications/misc/audio/wavesurfer/default.nixnew file+30

This diff is too big to show here.

pkgs/applications/misc/ausweisapp2/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/authy/default.nix+7−30

This diff is too big to show here.

pkgs/applications/misc/auto-multiple-choice/default.nix+2−3

This diff is too big to show here.

pkgs/applications/misc/autospotting/default.nix−1

This diff is too big to show here.

pkgs/applications/misc/avizo/default.nix+4−4

This diff is too big to show here.

pkgs/applications/misc/avrdudess/default.nix+4−5

This diff is too big to show here.

pkgs/applications/misc/azuredatastudio/default.nix+23−19

This diff is too big to show here.

pkgs/applications/misc/barrier/default.nix+1−12

This diff is too big to show here.

pkgs/applications/misc/batsignal/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/bemenu/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/bicon/default.nix+1−1

This diff is too big to show here.

pkgs/applications/misc/bikeshed/default.nixdeleted−77

This diff is too big to show here.

pkgs/applications/misc/binance/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/blender/default.nix+15−16

This diff is too big to show here.

pkgs/applications/misc/blender/wrapper.nixdeleted−39

This diff is too big to show here.

pkgs/applications/misc/bottles/default.nix+12−25

This diff is too big to show here.

pkgs/applications/misc/buku/default.nix+20−28

This diff is too big to show here.

pkgs/applications/misc/bukut/default.nixdeleted−28

This diff is too big to show here.

pkgs/applications/misc/calcoo/0001-javac-encoding.diffdeleted−21

This diff is too big to show here.

pkgs/applications/misc/calcoo/default.nixdeleted−58

This diff is too big to show here.

pkgs/applications/misc/calcurse/default.nix+3−4

This diff is too big to show here.

pkgs/applications/misc/calibre/default.nix+7−11

This diff is too big to show here.

pkgs/applications/misc/catclock/default.nix−1

This diff is too big to show here.

pkgs/applications/misc/cbatticon/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/charm/default.nix+5−3

This diff is too big to show here.

pkgs/applications/misc/cherrytree/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/clifm/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/clight/clightd.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/clight/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/cloak/default.nix+3−3

This diff is too big to show here.

pkgs/applications/misc/cobang/0001-Poetry-core-and-pillow-9.patchdeleted−31

This diff is too big to show here.

pkgs/applications/misc/cobang/default.nixdeleted−102

This diff is too big to show here.

pkgs/applications/misc/cointop/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/copyq/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/corectrl/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/cpu-x/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/crow-translate/default.nix+4−4

This diff is too big to show here.

pkgs/applications/misc/crow-translate/dont-fetch-external-libs.patch+1−1

This diff is too big to show here.

pkgs/applications/misc/cubiomes-viewer/default.nixdeleted−70

This diff is too big to show here.

pkgs/applications/misc/cubocore-packages/coreaction/default.nix+11−3

This diff is too big to show here.

pkgs/applications/misc/cubocore-packages/corearchiver/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/cubocore-packages/corefm/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/cubocore-packages/coregarage/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/cubocore-packages/corehunt/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/cubocore-packages/coreimage/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/cubocore-packages/coreinfo/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/cubocore-packages/corekeyboard/0001-fix-installPhase.patchdeleted−8

This diff is too big to show here.

pkgs/applications/misc/cubocore-packages/corekeyboard/default.nix+2−7

This diff is too big to show here.

pkgs/applications/misc/cubocore-packages/corepad/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/cubocore-packages/corepaint/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/cubocore-packages/corepdf/default.nix+3−4

This diff is too big to show here.

pkgs/applications/misc/cubocore-packages/corepins/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/cubocore-packages/corerenamer/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/cubocore-packages/coreshot/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/cubocore-packages/corestats/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/cubocore-packages/corestuff/0001-fix-installPhase.patchdeleted−11

This diff is too big to show here.

pkgs/applications/misc/cubocore-packages/corestuff/default.nix+2−7

This diff is too big to show here.

pkgs/applications/misc/cubocore-packages/coreterminal/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/cubocore-packages/coretime/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/cubocore-packages/coretoppings/0001-fix-install-phase.patch+3−3

This diff is too big to show here.

pkgs/applications/misc/cubocore-packages/coretoppings/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/cubocore-packages/coreuniverse/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/cubocore-packages/libcprime/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/cubocore-packages/libcsys/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/cura/stable.nix+1−1

This diff is too big to show here.

pkgs/applications/misc/curabydagoma/default.nixnew file+78

This diff is too big to show here.

pkgs/applications/misc/curaengine/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/dasel/default.nix+3−3

This diff is too big to show here.

pkgs/applications/misc/dbeaver/default.nix+37−9

This diff is too big to show here.

pkgs/applications/misc/ddcui/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/ddgr/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/debian-goodies/default.nixdeleted−70

This diff is too big to show here.

pkgs/applications/misc/deco/default.nix+3−3

This diff is too big to show here.

pkgs/applications/misc/dmenu/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/dunst/default.nix+4−4

This diff is too big to show here.

pkgs/applications/misc/dupeguru/default.nix+16−11

This diff is too big to show here.

pkgs/applications/misc/edgetx/default.nixdeleted−47

This diff is too big to show here.

pkgs/applications/misc/electron-cash/default.nix+2−3

This diff is too big to show here.

pkgs/applications/misc/electrum-grs/default.nixdeleted−111

This diff is too big to show here.

pkgs/applications/misc/electrum/default.nix+30−4

This diff is too big to show here.

pkgs/applications/misc/electrum/ltc.nix−5

This diff is too big to show here.

pkgs/applications/misc/emojipick/default.nixdeleted−71

This diff is too big to show here.

pkgs/applications/misc/eos-installer/default.nixdeleted−48

This diff is too big to show here.

pkgs/applications/misc/etesync-dav/default.nix+7−23

This diff is too big to show here.

pkgs/applications/misc/eureka-editor/default.nix+14−10

This diff is too big to show here.

pkgs/applications/misc/evtest/default.nix+1−1

This diff is too big to show here.

pkgs/applications/misc/expenses/default.nix+5−14

This diff is too big to show here.

pkgs/applications/misc/faircamp/default.nixdeleted−56

This diff is too big to show here.

pkgs/applications/misc/faircamp/test-wav.nixdeleted−14

This diff is too big to show here.

pkgs/applications/misc/far2l/default.nix+53−53

This diff is too big to show here.

pkgs/applications/misc/far2l/python_prebuild.patchdeleted−20

This diff is too big to show here.

pkgs/applications/misc/feedbackd/default.nix+3−13

This diff is too big to show here.

pkgs/applications/misc/fetchmail/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/ff2mpv/default.nixdeleted−34

This diff is too big to show here.

pkgs/applications/misc/firefly-desktop/default.nixdeleted−34

This diff is too big to show here.

pkgs/applications/misc/firestarter/default.nix+1−3

This diff is too big to show here.

pkgs/applications/misc/fluidd/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/fme/default.nixnew file+59

This diff is too big to show here.

pkgs/applications/misc/fnott/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/font-manager/default.nix+12−2

This diff is too big to show here.

pkgs/applications/misc/foxitreader/default.nix−1

This diff is too big to show here.

pkgs/applications/misc/free42/default.nix+4−2

This diff is too big to show here.

pkgs/applications/misc/freeplane/default.nix+15−20

This diff is too big to show here.

pkgs/applications/misc/fslint/default.nixnew file+41

This diff is too big to show here.

pkgs/applications/misc/fspy/default.nix+3−2

This diff is too big to show here.

pkgs/applications/misc/fuzzel/default.nix+2−4

This diff is too big to show here.

pkgs/applications/misc/gImageReader/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/gallery-dl/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/ganttproject-bin/default.nix+1−1

This diff is too big to show here.

pkgs/applications/misc/genact/default.nix+3−3

This diff is too big to show here.

pkgs/applications/misc/geoipupdate/default.nix+3−5

This diff is too big to show here.

pkgs/applications/misc/girara/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/gkrellm/default.nix+1−1

This diff is too big to show here.

pkgs/applications/misc/gksu/default.nixnew file+53

This diff is too big to show here.

pkgs/applications/misc/gksu/gksu-2.0.2-glib-2.31.patchnew file+29

This diff is too big to show here.

pkgs/applications/misc/globe-cli/default.nixdeleted−21

This diff is too big to show here.

pkgs/applications/misc/gnome-firmware-updater/default.nixnew file+75

This diff is too big to show here.

pkgs/applications/misc/gnome-firmware/default.nixdeleted−63

This diff is too big to show here.

pkgs/applications/misc/gnome-passwordsafe/default.nixnew file+67

This diff is too big to show here.

pkgs/applications/misc/gnome-secrets/default.nixdeleted−73

This diff is too big to show here.

pkgs/applications/misc/gnome-solanum/default.nixdeleted−80

This diff is too big to show here.

pkgs/applications/misc/gofu/default.nix+3−3

This diff is too big to show here.

pkgs/applications/misc/golden-cheetah/default.nix+1−1

This diff is too big to show here.

pkgs/applications/misc/gometer/default.nixdeleted−47

This diff is too big to show here.

pkgs/applications/misc/googleearth/default.nixnew file+106

This diff is too big to show here.

pkgs/applications/misc/gosmore/default.nix+4−2

This diff is too big to show here.

pkgs/applications/misc/gphoto2/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/gpsprune/default.nix+3−3

This diff is too big to show here.

pkgs/applications/misc/gpxsee/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/gramps/default.nix−4

This diff is too big to show here.

pkgs/applications/misc/gremlin-console/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/gremlin-server/default.nixdeleted−33

This diff is too big to show here.

pkgs/applications/misc/grip/default.nix+10

This diff is too big to show here.

pkgs/applications/misc/gsctl/default.nix+7−18

This diff is too big to show here.

pkgs/applications/misc/gsimplecal/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/gtk2fontsel/default.nix+1−1

This diff is too big to show here.

pkgs/applications/misc/gxmessage/default.nix+3−3

This diff is too big to show here.

pkgs/applications/misc/haxor-news/default.nix+1−2

This diff is too big to show here.

pkgs/applications/misc/hcl2json/default.nixdeleted−27

This diff is too big to show here.

pkgs/applications/misc/heimer/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/hello/default.nix+10−21

This diff is too big to show here.

pkgs/applications/misc/hello/test.nixdeleted−8

This diff is too big to show here.

pkgs/applications/misc/hivemind/default.nix+5−5

This diff is too big to show here.

pkgs/applications/misc/hubstaff/default.nix+4−4

This diff is too big to show here.

pkgs/applications/misc/hugo/default.nix+6−6

This diff is too big to show here.

pkgs/applications/misc/ideamaker/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/index-fm/default.nix+4−7

This diff is too big to show here.

pkgs/applications/misc/inherd-quake/default.nix+3−3

This diff is too big to show here.

pkgs/applications/misc/ipmiview/default.nix+4−4

This diff is too big to show here.

pkgs/applications/misc/iptsd/default.nix+1−1

This diff is too big to show here.

pkgs/applications/misc/join-desktop/default.nixdeleted−73

This diff is too big to show here.

pkgs/applications/misc/joplin-desktop/default.nix+3−3

This diff is too big to show here.

pkgs/applications/misc/joshuto/default.nix+3−3

This diff is too big to show here.

pkgs/applications/misc/josm/default.nix+4−4

This diff is too big to show here.

pkgs/applications/misc/jotta-cli/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/jrnl/default.nix+16−6

This diff is too big to show here.

pkgs/applications/misc/k40-whisperer/default.nixdeleted−74

This diff is too big to show here.

pkgs/applications/misc/k4dirstat/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/kanboard/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/kchmviewer/default.nixdeleted−48

This diff is too big to show here.

pkgs/applications/misc/keepass/default.nix+5−2

This diff is too big to show here.

pkgs/applications/misc/keepassx/community.nix+1−2

This diff is too big to show here.

pkgs/applications/misc/keylight-controller-mschneider82/default.nixdeleted−53

This diff is too big to show here.

pkgs/applications/misc/kiln/default.nix+3−3

This diff is too big to show here.

pkgs/applications/misc/kjv/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/klayout/default.nix+6−8

This diff is too big to show here.

pkgs/applications/misc/kondo/default.nix+3−3

This diff is too big to show here.

pkgs/applications/misc/koreader/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/kratos/default.nix+4−4

This diff is too big to show here.

pkgs/applications/misc/kup/default.nixdeleted−60

This diff is too big to show here.

pkgs/applications/misc/leetcode-cli/default.nixdeleted−41

This diff is too big to show here.

pkgs/applications/misc/lemonade/default.nixdeleted−35

This diff is too big to show here.

pkgs/applications/misc/liberasurecode/default.nix+3−27

This diff is too big to show here.

pkgs/applications/misc/libosmocore/default.nix+6−21

This diff is too big to show here.

pkgs/applications/misc/librecad/default.nix−9

This diff is too big to show here.

pkgs/applications/misc/lighthouse/default.nixnew file+35

This diff is too big to show here.

pkgs/applications/misc/limesctl/default.nix+3−3

This diff is too big to show here.

pkgs/applications/misc/llama/default.nixdeleted−22

This diff is too big to show here.

pkgs/applications/misc/logseq/default.nix+4−5

This diff is too big to show here.

pkgs/applications/misc/lscolors/default.nix+3−3

This diff is too big to show here.

pkgs/applications/misc/lsd2dsl/default.nix+1−1

This diff is too big to show here.

pkgs/applications/misc/lutris/default.nix+12−14

This diff is too big to show here.

pkgs/applications/misc/lutris/fhsenv.nix+1−1

This diff is too big to show here.

pkgs/applications/misc/lutris/fixes.patchnew file+67

This diff is too big to show here.

pkgs/applications/misc/mapproxy/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/markets/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/marktext/default.nix+8−7

This diff is too big to show here.

pkgs/applications/misc/masterpdfeditor/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/mdzk/default.nix+3−3

This diff is too big to show here.

pkgs/applications/misc/mediaelch/default.nix+5−17

This diff is too big to show here.

pkgs/applications/misc/mediainfo/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/megacmd/default.nix+16−6

This diff is too big to show here.

pkgs/applications/misc/megasync/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/mepo/default.nixdeleted−83

This diff is too big to show here.

pkgs/applications/misc/metadata-cleaner/default.nix+4−4

This diff is too big to show here.

pkgs/applications/misc/metamorphose2/default.nixnew file+43

This diff is too big to show here.

pkgs/applications/misc/michabo/default.nix+1

This diff is too big to show here.

pkgs/applications/misc/minder/default.nix+2−4

This diff is too big to show here.

pkgs/applications/misc/minigalaxy/default.nix+3−7

This diff is too big to show here.

pkgs/applications/misc/mkgmap/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/mkgmap/splitter/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/mob/default.nix+4−4

This diff is too big to show here.

pkgs/applications/misc/mobilecoin-wallet/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/moolticute/default.nix+4−4

This diff is too big to show here.

pkgs/applications/misc/moonlight-embedded/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/moonlight-qt/default.nix+2−3

This diff is too big to show here.

pkgs/applications/misc/mop/default.nix+13−12

This diff is too big to show here.

pkgs/applications/misc/mop/deps.nixnew file+11

This diff is too big to show here.

pkgs/applications/misc/mucommander/default.nix+4−4

This diff is too big to show here.

pkgs/applications/misc/multibootusb/default.nix+1−1

This diff is too big to show here.

pkgs/applications/misc/mupdf/0001-Use-command-v-in-favor-of-which.patchdeleted−25

This diff is too big to show here.

pkgs/applications/misc/mupdf/0002-Add-Darwin-deps.patchdeleted−57

This diff is too big to show here.

pkgs/applications/misc/mupdf/1.17.nix+1

This diff is too big to show here.

pkgs/applications/misc/mupdf/default.nix+45−46

This diff is too big to show here.

pkgs/applications/misc/mupdf/default.upstreamnew file+7

This diff is too big to show here.

pkgs/applications/misc/natural-docs/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/navi/default.nix+3−3

This diff is too big to show here.

pkgs/applications/misc/neap/default.nixnew file+44

This diff is too big to show here.

pkgs/applications/misc/neo/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/neo4j-desktop/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/nerd-font-patcher/default.nix+8−9

This diff is too big to show here.

pkgs/applications/misc/nimbo/default.nix+6−27

This diff is too big to show here.

pkgs/applications/misc/nix-tour/default.nix+19−35

This diff is too big to show here.

pkgs/applications/misc/nnn/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/notejot/default.nix+19−6

This diff is too big to show here.

pkgs/applications/misc/notejot/use-gtk4-update-icon-cache.patchnew file+20

This diff is too big to show here.

pkgs/applications/misc/numberstation/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/nut/default.nix+1−2

This diff is too big to show here.

pkgs/applications/misc/nwg-drawer/default.nix+7−21

This diff is too big to show here.

pkgs/applications/misc/nwg-menu/default.nix+1−1

This diff is too big to show here.

pkgs/applications/misc/nwg-panel/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/nwg-wrapper/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/obinskit/default.nix+1−1

This diff is too big to show here.

pkgs/applications/misc/obsidian/default.nix+60−74

This diff is too big to show here.

pkgs/applications/misc/ocropus/default.nix+3−3

This diff is too big to show here.

pkgs/applications/misc/octoprint/default.nix+177−34

This diff is too big to show here.

pkgs/applications/misc/octoprint/plugins.nix+2−26

This diff is too big to show here.

pkgs/applications/misc/oil-buku/default.nixdeleted−44

This diff is too big to show here.

pkgs/applications/misc/opencpn/default.nix+16−85

This diff is too big to show here.

pkgs/applications/misc/openlp/default.nix+1−2

This diff is too big to show here.

pkgs/applications/misc/openrgb/default.nix−3

This diff is too big to show here.

pkgs/applications/misc/opentrack/default.nix+1−1

This diff is too big to show here.

pkgs/applications/misc/orca/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/organicmaps/default.nixdeleted−86

This diff is too big to show here.

pkgs/applications/misc/osmium-tool/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/osmscout-server/default.nix+24−3

This diff is too big to show here.

pkgs/applications/misc/otpclient/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/p2pool/default.nix+2−9

This diff is too big to show here.

pkgs/applications/misc/pcmanx-gtk2/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/pdfarranger/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/pdfdiff/default.nix+8−6

This diff is too big to show here.

pkgs/applications/misc/pdfmod/default.nixnew file+49

This diff is too big to show here.

pkgs/applications/misc/pdfpc/default.nix+4−3

This diff is too big to show here.

pkgs/applications/misc/pdfsam-basic/default.nix+4−4

This diff is too big to show here.

pkgs/applications/misc/pdfslicer/default.nix−6

This diff is too big to show here.

pkgs/applications/misc/pdfstudio/common.nixdeleted−96

This diff is too big to show here.

pkgs/applications/misc/pdfstudio/default.nix+88−39

This diff is too big to show here.

pkgs/applications/misc/pgadmin/default.nixnew file+58

This diff is too big to show here.

pkgs/applications/misc/phoc/default.nix+10−11

This diff is too big to show here.

pkgs/applications/misc/phwmon/default.nix+5−5

This diff is too big to show here.

pkgs/applications/misc/plasma-theme-switcher/default.nixdeleted−42

This diff is too big to show here.

pkgs/applications/misc/plater/default.nix+1−1

This diff is too big to show here.

pkgs/applications/misc/playonlinux/default.nix+3−18

This diff is too big to show here.

pkgs/applications/misc/polybar/default.nix+2−12

This diff is too big to show here.

pkgs/applications/misc/polybar/remove-hardcoded-etc.diffdeleted−13

This diff is too big to show here.

pkgs/applications/misc/pomotroid/default.nixdeleted−60

This diff is too big to show here.

pkgs/applications/misc/portfolio-filemanager/default.nix+2−6

This diff is too big to show here.

pkgs/applications/misc/premid/default.nix+1−1

This diff is too big to show here.

pkgs/applications/misc/privacyidea/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/prusa-slicer/default.nix+6−6

This diff is too big to show here.

pkgs/applications/misc/prusa-slicer/super-slicer.nix+5−5

This diff is too big to show here.

pkgs/applications/misc/pueue/default.nix+3−3

This diff is too big to show here.

pkgs/applications/misc/pure-maps/default.nix+10−6

This diff is too big to show here.

pkgs/applications/misc/pwsafe/default.nix+1−1

This diff is too big to show here.

pkgs/applications/misc/pytrainer/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/qMasterPassword/default.nix+7−11

This diff is too big to show here.

pkgs/applications/misc/qcad/default.nix+2−3

This diff is too big to show here.

pkgs/applications/misc/qmetro/default.nix+3−2

This diff is too big to show here.

pkgs/applications/misc/qpdfview/default.nix+27−35

This diff is too big to show here.

pkgs/applications/misc/qt-video-wlr/default.nix+1−1

This diff is too big to show here.

pkgs/applications/misc/ranger/default.nix+4−13

This diff is too big to show here.

pkgs/applications/misc/ratt/default.nixdeleted−26

This diff is too big to show here.

pkgs/applications/misc/redshift/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/regextester/default.nix+1

This diff is too big to show here.

pkgs/applications/misc/remarkable/remarkable-mouse/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/remarkable/rmapi/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/remarkable/rmview/default.nix+6−2

This diff is too big to show here.

pkgs/applications/misc/rivercarro/default.nixdeleted−51

This diff is too big to show here.

pkgs/applications/misc/rm-improved/default.nix−1

This diff is too big to show here.

pkgs/applications/misc/robo3t/default.nix+1−1

This diff is too big to show here.

pkgs/applications/misc/rofi-emoji/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/rofi-file-browser/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/rofi/default.nix+5−6

This diff is too big to show here.

pkgs/applications/misc/rofi/wayland.nixdeleted−31

This diff is too big to show here.

pkgs/applications/misc/sampler/default.nix+2−5

This diff is too big to show here.

pkgs/applications/misc/scli/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/seatd/default.nix+5−9

This diff is too big to show here.

pkgs/applications/misc/sidequest/default.nix+1−1

This diff is too big to show here.

pkgs/applications/misc/sigal/default.nix+13−17

This diff is too big to show here.

pkgs/applications/misc/sigi/default.nix+11−17

This diff is too big to show here.

pkgs/applications/misc/simplenote/default.nix+3−2

This diff is too big to show here.

pkgs/applications/misc/sioyek/default.nixdeleted−56

This diff is too big to show here.

pkgs/applications/misc/skate/default.nix+3−3

This diff is too big to show here.

pkgs/applications/misc/skytemple/default.nix+2−5

This diff is too big to show here.

pkgs/applications/misc/sleepyhead/default.nix+4−2

This diff is too big to show here.

pkgs/applications/misc/slic3r/default.nix+5−6

This diff is too big to show here.

pkgs/applications/misc/slides/default.nix+4−5

This diff is too big to show here.

pkgs/applications/misc/slmenu/default.nix+21−10

This diff is too big to show here.

pkgs/applications/misc/snapmaker-luban/default.nix+3−3

This diff is too big to show here.

pkgs/applications/misc/snowsql/default.nix+3−4

This diff is too big to show here.

pkgs/applications/misc/solaar/default.nix+2−3

This diff is too big to show here.

pkgs/applications/misc/spicetify-cli/default.nix+3−3

This diff is too big to show here.

pkgs/applications/misc/spotify-tray/default.nix+1−9

This diff is too big to show here.

pkgs/applications/misc/sqls/default.nix+3−5

This diff is too big to show here.

pkgs/applications/misc/stag/default.nix+1−1

This diff is too big to show here.

pkgs/applications/misc/stog/default.nix+1−1

This diff is too big to show here.

pkgs/applications/misc/stork/default.nix+4−10

This diff is too big to show here.

pkgs/applications/misc/stretchly/default.nix+1−1

This diff is too big to show here.

pkgs/applications/misc/subsurface/default.nix+1−2

This diff is too big to show here.

pkgs/applications/misc/surface-control/default.nix+5−6

This diff is too big to show here.

pkgs/applications/misc/survex/default.nix+43−36

This diff is too big to show here.

pkgs/applications/misc/sway-launcher-desktop/default.nixdeleted−42

This diff is too big to show here.

pkgs/applications/misc/swaynotificationcenter/default.nixdeleted−43

This diff is too big to show here.

pkgs/applications/misc/sweethome3d/default.nix+1−1

This diff is too big to show here.

pkgs/applications/misc/sweethome3d/editors.nix+1−1

This diff is too big to show here.

pkgs/applications/misc/systembus-notify/default.nix+5−39

This diff is too big to show here.

pkgs/applications/misc/tagtime/default.nixdeleted−79

This diff is too big to show here.

pkgs/applications/misc/taskwarrior-tui/default.nix+3−3

This diff is too big to show here.

pkgs/applications/misc/taskwarrior/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/teleprompter/default.nix+1

This diff is too big to show here.

pkgs/applications/misc/terminal-typeracer/default.nix−1

This diff is too big to show here.

pkgs/applications/misc/ticker/default.nix+3−3

This diff is too big to show here.

pkgs/applications/misc/timewarrior/default.nix−1

This diff is too big to show here.

pkgs/applications/misc/tiv/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/todoist-electron/default.nix+4−4

This diff is too big to show here.

pkgs/applications/misc/toggldesktop/default.nix+14−22

This diff is too big to show here.

pkgs/applications/misc/toipe/default.nixdeleted−20

This diff is too big to show here.

pkgs/applications/misc/tomboy/default.nixnew file+43

This diff is too big to show here.

pkgs/applications/misc/tootle/default.nix−5

This diff is too big to show here.

pkgs/applications/misc/topydo/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/tpmmanager/default.nix+5−6

This diff is too big to show here.

pkgs/applications/misc/trenchbroom/default.nix+1−14

This diff is too big to show here.

pkgs/applications/misc/tty-share/default.nix+6−8

This diff is too big to show here.

pkgs/applications/misc/tty-solitaire/default.nix−1

This diff is too big to show here.

pkgs/applications/misc/ttyper/default.nix+3−3

This diff is too big to show here.

pkgs/applications/misc/tuhi/default.nixdeleted−63

This diff is too big to show here.

pkgs/applications/misc/tut/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/tvbrowser/bin.nix+6−4

This diff is too big to show here.

pkgs/applications/misc/udiskie/default.nix+25−30

This diff is too big to show here.

pkgs/applications/misc/udiskie/locale-path.patchdeleted−17

This diff is too big to show here.

pkgs/applications/misc/upwork/default.nix+4−14

This diff is too big to show here.

pkgs/applications/misc/urlscan/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/urlview/default.nix+5−5

This diff is too big to show here.

pkgs/applications/misc/variety/default.nix+38−43

This diff is too big to show here.

pkgs/applications/misc/veracrypt/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/vifm/default.nix+1

This diff is too big to show here.

pkgs/applications/misc/vit/default.nix+5−3

This diff is too big to show here.

pkgs/applications/misc/waybar/default.nix+2−7

This diff is too big to show here.

pkgs/applications/misc/weather/default.nix+3−3

This diff is too big to show here.

pkgs/applications/misc/wego/default.nix+13−11

This diff is too big to show here.

pkgs/applications/misc/wego/deps.nixnew file+48

This diff is too big to show here.

pkgs/applications/misc/whalebird/default.nix+3−3

This diff is too big to show here.

pkgs/applications/misc/wike/default.nix+11−11

This diff is too big to show here.

pkgs/applications/misc/wlclock/default.nixdeleted−46

This diff is too big to show here.

pkgs/applications/misc/wtf/default.nix+3−3

This diff is too big to show here.

pkgs/applications/misc/xchm/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/xdg-launch/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/xdragon/default.nixnew file+28

This diff is too big to show here.

pkgs/applications/misc/xiphos/0001-Add-dbus-glib-dependency-to-main.patchdeleted−38

This diff is too big to show here.

pkgs/applications/misc/xiphos/default.nix+21−78

This diff is too big to show here.

pkgs/applications/misc/xmind/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/xmr-stak/default.nix+1−1

This diff is too big to show here.

pkgs/applications/misc/xmrig/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/xmrig/moneroocean.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/xpdf/default.nix+4−3

This diff is too big to show here.

pkgs/applications/misc/xplr/default.nix+3−3

This diff is too big to show here.

pkgs/applications/misc/xteddy/default.nix+1−1

This diff is too big to show here.

pkgs/applications/misc/yambar/default.nix+3−4

This diff is too big to show here.

pkgs/applications/misc/yarssr/default.nixnew file+81

This diff is too big to show here.

pkgs/applications/misc/yate/default.nix+5−7

This diff is too big to show here.

pkgs/applications/misc/ydict/default.nixdeleted−28

This diff is too big to show here.

pkgs/applications/misc/yubioath-desktop/default.nix+1−1

This diff is too big to show here.

pkgs/applications/misc/zathura/core/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/zathura/default.nix+1−1

This diff is too big to show here.

pkgs/applications/misc/zathura/wrapper.nix+1−1

This diff is too big to show here.

pkgs/applications/misc/zettlr/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/zola/default.nix+5−5

This diff is too big to show here.

pkgs/applications/misc/zscroll/default.nix+3−3

This diff is too big to show here.

pkgs/applications/networking/aether/default.nix+19−15

This diff is too big to show here.

pkgs/applications/networking/alpnpass/default.nixdeleted−34

This diff is too big to show here.

pkgs/applications/networking/apache-directory-studio/default.nix+1−1

This diff is too big to show here.

pkgs/applications/networking/appgate-sdp/default.nix+2−2

This diff is too big to show here.

pkgs/applications/networking/bee/bee.nix+3−1

This diff is too big to show here.

pkgs/applications/networking/blocky/default.nixdeleted−33

This diff is too big to show here.

pkgs/applications/networking/breitbandmessung/default.nixdeleted−153

This diff is too big to show here.

pkgs/applications/networking/browsers/bombadillo/default.nix+2−2

This diff is too big to show here.

pkgs/applications/networking/browsers/brave/default.nix+55−72

This diff is too big to show here.

pkgs/applications/networking/browsers/chromium/browser.nix+1−1

This diff is too big to show here.

pkgs/applications/networking/browsers/chromium/common.nix+47−29

This diff is too big to show here.

pkgs/applications/networking/browsers/chromium/default.nix+11−10

This diff is too big to show here.

pkgs/applications/networking/browsers/chromium/get-commit-message.py+3−3

This diff is too big to show here.

pkgs/applications/networking/browsers/chromium/ungoogled-flags.tomldeleted−23

This diff is too big to show here.

pkgs/applications/networking/browsers/chromium/update.py−11

This diff is too big to show here.

pkgs/applications/networking/browsers/chromium/upstream-info.json+30−30

This diff is too big to show here.

pkgs/applications/networking/browsers/falkon/default.nixnew file+57

This diff is too big to show here.

pkgs/applications/networking/browsers/firefox-bin/beta_sources.nix+393−393

This diff is too big to show here.

pkgs/applications/networking/browsers/firefox-bin/default.nix+2−2

This diff is too big to show here.

pkgs/applications/networking/browsers/firefox-bin/devedition_sources.nix+393−393

This diff is too big to show here.

pkgs/applications/networking/browsers/firefox-bin/release_sources.nix+393−393

This diff is too big to show here.

pkgs/applications/networking/browsers/firefox/common.nix+187−288

This diff is too big to show here.

pkgs/applications/networking/browsers/firefox/librewolf/default.nixdeleted−41

This diff is too big to show here.

pkgs/applications/networking/browsers/firefox/librewolf/src.jsondeleted−11

This diff is too big to show here.

pkgs/applications/networking/browsers/firefox/librewolf/src.nixdeleted−18

This diff is too big to show here.

pkgs/applications/networking/browsers/firefox/librewolf/update.nixdeleted−65

This diff is too big to show here.

pkgs/applications/networking/browsers/firefox/no-buildconfig-ffx95.patchnew file+27

This diff is too big to show here.

pkgs/applications/networking/browsers/firefox/no-buildconfig-ffx96.patchdeleted−27

This diff is too big to show here.

pkgs/applications/networking/browsers/firefox/packages.nix+5−31

This diff is too big to show here.

pkgs/applications/networking/browsers/firefox/wrapper.nix+44−38

This diff is too big to show here.

pkgs/applications/networking/browsers/google-chrome/default.nix+14−12

This diff is too big to show here.

pkgs/applications/networking/browsers/icecat-bin/default.nixnew file+130

This diff is too big to show here.

pkgs/applications/networking/browsers/lagrange/default.nix+4−2

This diff is too big to show here.

pkgs/applications/networking/browsers/links2/default.nix−1

This diff is too big to show here.

pkgs/applications/networking/browsers/microsoft-edge/browser.nixdeleted−191

This diff is too big to show here.

pkgs/applications/networking/browsers/microsoft-edge/default.nixdeleted−20

This diff is too big to show here.

pkgs/applications/networking/browsers/microsoft-edge/update.shdeleted−50

This diff is too big to show here.

pkgs/applications/networking/browsers/nyxt/default.nix+3−3

This diff is too big to show here.

pkgs/applications/networking/browsers/opera/default.nix+4−2

This diff is too big to show here.

pkgs/applications/networking/browsers/palemoon/default.nix+14−21

This diff is too big to show here.

pkgs/applications/networking/browsers/qtchan/default.nix+1−1

This diff is too big to show here.

pkgs/applications/networking/browsers/qutebrowser/default.nix+5−8

This diff is too big to show here.

pkgs/applications/networking/browsers/surf/default.nix+1−1

This diff is too big to show here.

pkgs/applications/networking/browsers/telescope/default.nix+2−2

This diff is too big to show here.

pkgs/applications/networking/browsers/tor-browser-bundle-bin/default.nix+5−14

This diff is too big to show here.

pkgs/applications/networking/browsers/vieb/default.nix+4−4

This diff is too big to show here.

pkgs/applications/networking/browsers/vieb/package.json+17−12

This diff is too big to show here.

pkgs/applications/networking/browsers/vieb/yarn.lock+1481−1276

This diff is too big to show here.

pkgs/applications/networking/browsers/vieb/yarn.nix+1546−1330

This diff is too big to show here.

pkgs/applications/networking/browsers/vivaldi/default.nix+5−7

This diff is too big to show here.

pkgs/applications/networking/browsers/vivaldi/ffmpeg-codecs.nix+8−5

This diff is too big to show here.

pkgs/applications/networking/browsers/vivaldi/update.sh+1−5

This diff is too big to show here.

pkgs/applications/networking/browsers/vivaldi/widevine.nix+2−2

This diff is too big to show here.

pkgs/applications/networking/browsers/webbrowser/default.nixnew file+109

This diff is too big to show here.

pkgs/applications/networking/browsers/yandex-browser/default.nix+11−18

This diff is too big to show here.

pkgs/applications/networking/c14/default.nixnew file+22

This diff is too big to show here.

pkgs/applications/networking/calls/default.nix+8−16

This diff is too big to show here.

pkgs/applications/networking/cawbird/default.nix+2−2

This diff is too big to show here.

pkgs/applications/networking/charles/default.nix+3−10

This diff is too big to show here.

pkgs/applications/networking/cisco-packet-tracer/7.nix+1−1

This diff is too big to show here.

pkgs/applications/networking/cisco-packet-tracer/8.nix+3−4

This diff is too big to show here.

pkgs/applications/networking/cloudflare-dyndns/default.nixdeleted−53

This diff is too big to show here.

pkgs/applications/networking/cloudflared/default.nix+9−20

This diff is too big to show here.

pkgs/applications/networking/cluster/argo-rollouts/default.nixdeleted−27

This diff is too big to show here.

pkgs/applications/networking/cluster/argo/default.nix+6−9

This diff is too big to show here.

pkgs/applications/networking/cluster/argocd-autopilot/default.nixdeleted−54

This diff is too big to show here.

pkgs/applications/networking/cluster/argocd/default.nix+32−16

This diff is too big to show here.

pkgs/applications/networking/cluster/arkade/default.nix+21−4

This diff is too big to show here.

pkgs/applications/networking/cluster/atlantis/default.nix+5−8

This diff is too big to show here.

pkgs/applications/networking/cluster/bosh-cli/default.nix+2−2

This diff is too big to show here.

pkgs/applications/networking/cluster/cilium/default.nix+2−2

This diff is too big to show here.

pkgs/applications/networking/cluster/cloudfoundry-cli/default.nix+3−4

This diff is too big to show here.

pkgs/applications/networking/cluster/clusterctl/default.nix+3−3

This diff is too big to show here.

pkgs/applications/networking/cluster/cmctl/default.nixdeleted−38

This diff is too big to show here.

pkgs/applications/networking/cluster/cni/plugins.nix+2−2

This diff is too big to show here.

pkgs/applications/networking/cluster/driftctl/default.nix+41−41

This diff is too big to show here.

pkgs/applications/networking/cluster/flink/default.nix+3−2

This diff is too big to show here.

pkgs/applications/networking/cluster/fluxcd/default.nix+5−5

This diff is too big to show here.

pkgs/applications/networking/cluster/fluxcd/update.sh+31−38

This diff is too big to show here.

pkgs/applications/networking/cluster/fluxctl/default.nix+3−3

This diff is too big to show here.

pkgs/applications/networking/cluster/fn-cli/default.nix+2−2

This diff is too big to show here.

pkgs/applications/networking/cluster/glooctl/default.nixdeleted−36

This diff is too big to show here.

pkgs/applications/networking/cluster/hadoop/default.nix+16−52

This diff is too big to show here.

pkgs/applications/networking/cluster/helm-docs/default.nix+3−3

This diff is too big to show here.

pkgs/applications/networking/cluster/helm/chart-testing/default.nix+4−12

This diff is too big to show here.

pkgs/applications/networking/cluster/helm/default.nix+10−23

This diff is too big to show here.

pkgs/applications/networking/cluster/helmfile/default.nix+3−3

This diff is too big to show here.

pkgs/applications/networking/cluster/helmsman/default.nix+3−3

This diff is too big to show here.

pkgs/applications/networking/cluster/istioctl/default.nix+6−9

This diff is too big to show here.

pkgs/applications/networking/cluster/k0sctl/default.nix+1−1

This diff is too big to show here.

pkgs/applications/networking/cluster/k3s/default.nix+126−165

This diff is too big to show here.

pkgs/applications/networking/cluster/k3s/patches/0001-scrips-download-strip-downloading-just-package-CRD.patchdeleted−41

This diff is too big to show here.

pkgs/applications/networking/cluster/k3s/patches/0002-Add-nixpkgs-patches.patchnew file+81

This diff is too big to show here.

pkgs/applications/networking/cluster/k3s/update.sh+7−49

This diff is too big to show here.

pkgs/applications/networking/cluster/k3sup/default.nixdeleted−48

This diff is too big to show here.

pkgs/applications/networking/cluster/k9s/default.nix+3−4

This diff is too big to show here.

pkgs/applications/networking/cluster/kconf/default.nix+3−7

This diff is too big to show here.

pkgs/applications/networking/cluster/kn/default.nix+2−2

This diff is too big to show here.

pkgs/applications/networking/cluster/kompose/default.nix+7−17

This diff is too big to show here.

pkgs/applications/networking/cluster/kontemplate/default.nix+1

This diff is too big to show here.

pkgs/applications/networking/cluster/kops/default.nix+9−9

This diff is too big to show here.

pkgs/applications/networking/cluster/krane/Gemfile.lock+31−28

This diff is too big to show here.

pkgs/applications/networking/cluster/krane/default.nix+9

This diff is too big to show here.

pkgs/applications/networking/cluster/krane/gemset.nix+77−58

This diff is too big to show here.

pkgs/applications/networking/cluster/krelay/default.nixdeleted−31

This diff is too big to show here.

pkgs/applications/networking/cluster/kube-capacity/default.nix+3−3

This diff is too big to show here.

pkgs/applications/networking/cluster/kube-score/default.nix+3−3

This diff is too big to show here.

pkgs/applications/networking/cluster/kube3d/default.nix+14−31

This diff is too big to show here.

pkgs/applications/networking/cluster/kubebuilder/default.nix+3−3

This diff is too big to show here.

pkgs/applications/networking/cluster/kubecfg/default.nix+7−7

This diff is too big to show here.

pkgs/applications/networking/cluster/kubecolor/default.nix+1−3

This diff is too big to show here.

pkgs/applications/networking/cluster/kubeconform/default.nix+2−2

This diff is too big to show here.

pkgs/applications/networking/cluster/kubectl-doctor/default.nix+3−3

This diff is too big to show here.

pkgs/applications/networking/cluster/kubectl-example/default.nix+2−2

This diff is too big to show here.

pkgs/applications/networking/cluster/kubectl/default.nixnew file+29

This diff is too big to show here.

pkgs/applications/networking/cluster/kubedb-cli/default.nix+2−2

This diff is too big to show here.

pkgs/applications/networking/cluster/kubeless/default.nixnew file+38

This diff is too big to show here.

pkgs/applications/networking/cluster/kubelogin-oidc/default.nix+3−3

This diff is too big to show here.

pkgs/applications/networking/cluster/kubelogin/default.nix+2−2

This diff is too big to show here.

pkgs/applications/networking/cluster/kubemqctl/default.nixdeleted−25

This diff is too big to show here.

pkgs/applications/networking/cluster/kubent/default.nixdeleted−29

This diff is too big to show here.

pkgs/applications/networking/cluster/kubeone/default.nix+3−3

This diff is too big to show here.

pkgs/applications/networking/cluster/kubergrunt/default.nix+2−2

This diff is too big to show here.

pkgs/applications/networking/cluster/kubernetes/default.nix+17−18

This diff is too big to show here.

pkgs/applications/networking/cluster/kubernetes/kubectl.nixdeleted−38

This diff is too big to show here.

pkgs/applications/networking/cluster/kubeseal/default.nix+2

This diff is too big to show here.

pkgs/applications/networking/cluster/kuma/default.nix+3−3

This diff is too big to show here.

pkgs/applications/networking/cluster/kuttl/default.nix−1

This diff is too big to show here.

pkgs/applications/networking/cluster/lens/default.nix+6−11

This diff is too big to show here.

pkgs/applications/networking/cluster/linkerd/edge.nix+3−3

This diff is too big to show here.

pkgs/applications/networking/cluster/minikube/default.nix+3−3

This diff is too big to show here.

pkgs/applications/networking/cluster/nerdctl/default.nix+3−3

This diff is too big to show here.

pkgs/applications/networking/cluster/nixops/default.nix−2

This diff is too big to show here.

pkgs/applications/networking/cluster/nixops/poetry-git-overlay.nix+7−7

This diff is too big to show here.

pkgs/applications/networking/cluster/nixops/poetry.lock+82−90

This diff is too big to show here.

pkgs/applications/networking/cluster/nixops/pyproject.toml+1−4

This diff is too big to show here.

pkgs/applications/networking/cluster/nomad-autoscaler/default.nix+14−12

This diff is too big to show here.

pkgs/applications/networking/cluster/nomad-pack/default.nixdeleted−38

This diff is too big to show here.

pkgs/applications/networking/cluster/nomad/1.0.nixnew file+11

This diff is too big to show here.

pkgs/applications/networking/cluster/nomad/1.1.nix+4−4

This diff is too big to show here.

pkgs/applications/networking/cluster/nomad/1.2.nixdeleted−12

This diff is too big to show here.

pkgs/applications/networking/cluster/nomad/generic.nix+6−11

This diff is too big to show here.

pkgs/applications/networking/cluster/nomad/genericModule.nixnew file+54

This diff is too big to show here.

pkgs/applications/networking/cluster/ocm/default.nixdeleted−32

This diff is too big to show here.

pkgs/applications/networking/cluster/octant/default.nix+5−5

This diff is too big to show here.

pkgs/applications/networking/cluster/odo/default.nixdeleted−38

This diff is too big to show here.

pkgs/applications/networking/cluster/openshift/default.nix+45−36

This diff is too big to show here.

pkgs/applications/networking/cluster/pachyderm/default.nix−1

This diff is too big to show here.

pkgs/applications/networking/cluster/pgo-client/default.nix−1

This diff is too big to show here.

pkgs/applications/networking/cluster/pluto/default.nixdeleted−27

This diff is too big to show here.

pkgs/applications/networking/cluster/popeye/default.nix+4−3

This diff is too big to show here.

pkgs/applications/networking/cluster/qbec/default.nix+3−3

This diff is too big to show here.

pkgs/applications/networking/cluster/rancher/default.nix+5−3

This diff is too big to show here.

pkgs/applications/networking/cluster/sonobuoy/default.nix+4−4

This diff is too big to show here.

pkgs/applications/networking/cluster/spark/default.nix+27−42

This diff is too big to show here.

pkgs/applications/networking/cluster/ssm-session-manager-plugin/default.nix+6−9

This diff is too big to show here.

pkgs/applications/networking/cluster/starboard/default.nix+7−39

This diff is too big to show here.

pkgs/applications/networking/cluster/stern/default.nix+3−3

This diff is too big to show here.

pkgs/applications/networking/cluster/talosctl/default.nixdeleted−60

This diff is too big to show here.

pkgs/applications/networking/cluster/tanka/default.nix+3−4

This diff is too big to show here.

pkgs/applications/networking/cluster/tektoncd-cli/default.nix+9−16

This diff is too big to show here.

pkgs/applications/networking/cluster/temporal/default.nix+7−8

This diff is too big to show here.

pkgs/applications/networking/cluster/terraform-providers/default.nix+70−94

This diff is too big to show here.

pkgs/applications/networking/cluster/terraform-providers/gandi/default.nixnew file+30

This diff is too big to show here.

pkgs/applications/networking/cluster/terraform-providers/providers.json+388−466

This diff is too big to show here.

pkgs/applications/networking/cluster/terraform-providers/teleport/default.nixnew file+33

This diff is too big to show here.

pkgs/applications/networking/cluster/terraform-providers/update-all-providers+6−9

This diff is too big to show here.

pkgs/applications/networking/cluster/terraform-providers/update-provider+44−41

This diff is too big to show here.

pkgs/applications/networking/cluster/terraform-providers/vpsadmin/default.nixnew file+29

This diff is too big to show here.

pkgs/applications/networking/cluster/terraform/default.nix+60−54

This diff is too big to show here.

pkgs/applications/networking/cluster/terragrunt/default.nix+2−2

This diff is too big to show here.

pkgs/applications/networking/cluster/terranix/default.nix+3−3

This diff is too big to show here.

pkgs/applications/networking/cluster/tfswitch/default.nix+3−3

This diff is too big to show here.

pkgs/applications/networking/cluster/tgswitch/default.nix+2−2

This diff is too big to show here.

pkgs/applications/networking/cluster/tilt/default.nix+2−2

This diff is too big to show here.

pkgs/applications/networking/cluster/vcluster/default.nixdeleted−45

This diff is too big to show here.

pkgs/applications/networking/cluster/velero/default.nix+4−4

This diff is too big to show here.

pkgs/applications/networking/cluster/waypoint/default.nix+6−4

This diff is too big to show here.

pkgs/applications/networking/cluster/werf/default.nix+4−11

This diff is too big to show here.

pkgs/applications/networking/compactor/default.nix+21−33

This diff is too big to show here.

pkgs/applications/networking/cozy-drive/default.nix+2−2

This diff is too big to show here.

pkgs/applications/networking/dnscontrol/default.nix+3−3

This diff is too big to show here.

pkgs/applications/networking/dropbox/default.nix+2−2

This diff is too big to show here.

pkgs/applications/networking/feedreaders/gnome-feeds/default.nix−2

This diff is too big to show here.

pkgs/applications/networking/feedreaders/newsboat/default.nix+3−3

This diff is too big to show here.

pkgs/applications/networking/feedreaders/photon/default.nix−27

This diff is too big to show here.

pkgs/applications/networking/feedreaders/rss2email/default.nix+1−1

This diff is too big to show here.

pkgs/applications/networking/feedreaders/rssguard/default.nix+2−2

This diff is too big to show here.

pkgs/applications/networking/firewalld/default.nix−104

This diff is too big to show here.

pkgs/applications/networking/firewalld/respect-xml-catalog-files-var.patch−13

This diff is too big to show here.

pkgs/applications/networking/flexget/default.nix+4−10

This diff is too big to show here.

pkgs/applications/networking/ftp/filezilla/default.nix+2−2

This diff is too big to show here.

pkgs/applications/networking/giara/default.nix+10−28

This diff is too big to show here.

pkgs/applications/networking/gmailctl/default.nix+4−4

This diff is too big to show here.

pkgs/applications/networking/gns3/default.nix+8−7

This diff is too big to show here.

pkgs/applications/networking/gns3/gui.nix+7−47

This diff is too big to show here.

pkgs/applications/networking/gns3/server.nix+17−48

This diff is too big to show here.

pkgs/applications/networking/hyprspace/default.nix+3−3

This diff is too big to show here.

pkgs/applications/networking/ids/zeek/default.nix+6−23

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/alfaview/default.nix+2−2

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/bitlbee-discord/default.nix+1−1

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/bitlbee-steam/default.nix+2−2

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/bitlbee/default.nix+3−3

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/blink/default.nix+68

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/blink/pythonpath.patch+49

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/bluejeans/default.nix+2−2

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/caprine-bin/build-from-appimage.nix−50

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/caprine-bin/build-from-dmg.nix−35

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/caprine-bin/default.nix−25

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/chatty/default.nix+2−7

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/cinny/default.nix+2−2

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/coyim/default.nix−1

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/deltachat-cursed/default.nix+2−2

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/deltachat-desktop/default.nix+28−30

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/deltachat-desktop/package.json+9−12

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/deltachat-desktop/update.sh+1−1

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/dino/default.nix+3−12

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/discord/base.nix+93

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/discord/darwin.nix−14

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/discord/default.nix+29−78

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/discord/linux.nix−118

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/element/element-desktop-package.json+7−13

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/element/element-desktop.nix+14−34

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/element/keytar/default.nix+1−8

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/element/pin.json+4−4

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/element/seshat/default.nix+3−9

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/ferdi/default.nix+3−3

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/fluffychat/default.nix−81

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/fractal/default.nix+1−12

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/franz/default.nix+2−2

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/franz/generic.nix+3−2

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/gajim/default.nix+2−1

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/gitter/default.nix+3−2

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/gomuks/default.nix+2−2

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/gotktrix/default.nix−42

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/gtmess/default.nix+20

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/gurk-rs/default.nix−30

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/jami/daemon.nix+2−2

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/jami/default.nix+2−2

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/jitsi-meet-electron/default.nix+3−4

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/jitsi/default.nix+1−1

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/kaidan/default.nix−2

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/kdeltachat/default.nix+3−3

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/linphone/default.nix+13−40

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/linphone/do-not-build-linphone-sdk.patch+31−56

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/linphone/no-store-path-in-autostart.patch−27

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/linphone/remove-bc_compute_full_version-usage.patch+6−6

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/matrixcli/default.nix+5−5

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/mattermost-desktop/default.nix+100−86

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/mcabber/default.nix+2

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/mikutter/default.nix+2−2

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/mirage/default.nix+6−9

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/mm/default.nix+1−1

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/neochat/default.nix+3−9

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/nheko/default.nix+2−4

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/pantalaimon/default.nix+2−2

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/pidgin-plugins/pidgin-mra/default.nix+10−8

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/pidgin-plugins/purple-plugin-pack/default.nix+2−2

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/pidgin-plugins/telegram-purple/default.nix+8−6

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/pond/default.nix+8−8

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/profanity/default.nix+22−4

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/psi-plus/default.nix+2−2

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/qtox/default.nix+2−2

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/rambox/rambox.nix+2−1

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/ricochet/default.nix+1−1

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/ripcord/darwin.nix−33

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/ripcord/default.nix+1−1

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/rocketchat-desktop/default.nix+3−3

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/schildichat/pin.json+4−7

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/schildichat/schildichat-desktop.nix+20−20

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/schildichat/schildichat-web.nix+10−35

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/schildichat/update.sh+8−16

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/session-desktop-appimage/default.nix+3−41

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/signal-cli/default.nix+7−7

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/signal-desktop/default.nix+6−11

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/signalbackup-tools/apple-sdk-missing-utimensat.patch−34

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/signalbackup-tools/default.nix−45

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/signald/0001-Fetch-buildconfig-during-gradle-build-inside-Nix-FOD.patch−35

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/signald/0002-buildconfig-local-deps-fixes.patch−60

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/signald/default.nix+27−12

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/signald/gradle-plugin.patch+19

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/sky/default.nix−66

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/skypeforlinux/default.nix+4−3

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/slack/default.nix+31−32

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/slack/update.sh+2−9

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/teams/default.nix+78−119

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/teamspeak/client.nix+3−3

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/telegram/kotatogram-desktop/default.nix+33−191

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/telegram/kotatogram-desktop/kf594.patch−57

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/telegram/kotatogram-desktop/kotato-10.12-sdk.patch−424

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/telegram/kotatogram-desktop/shortcuts-binary-path.patch−38

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/telegram/kotatogram-desktop/tg_owt-10.12-sdk.patch−68

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/telegram/kotatogram-desktop/tg_owt.nix+15−111

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/telegram/kotatogram-desktop/with-webkit.nix−23

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/telegram/tdesktop/default.nix+3−11

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/telegram/tdesktop/kf594.diff−57

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/telegram/tdesktop/tg_owt.nix+3−5

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/tensor/default.nix+6−7

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/threema-desktop/default.nix+3−3

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/torchat/default.nix+5−5

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/vk-messenger/default.nix+5−5

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/wavebox/default.nix+1−1

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/wire-desktop/default.nix+9−8

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/zoom-us/default.nix+9−48

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/zulip/default.nix+2−2

This diff is too big to show here.

pkgs/applications/networking/ipfs-cluster/default.nix+4−4

This diff is too big to show here.

pkgs/applications/networking/ipfs-migrator/all-migrations.nix−63

This diff is too big to show here.

pkgs/applications/networking/ipfs-migrator/default.nix+20−16

This diff is too big to show here.

pkgs/applications/networking/ipfs-migrator/unwrapped.nix−35

This diff is too big to show here.

pkgs/applications/networking/ipfs/default.nix+10−20

This diff is too big to show here.

pkgs/applications/networking/ipget/default.nix+3−3

This diff is too big to show here.

pkgs/applications/networking/irc/bip/default.nix+1−2

This diff is too big to show here.

pkgs/applications/networking/irc/catgirl/default.nix+2−2

This diff is too big to show here.

pkgs/applications/networking/irc/communi/default.nix+4−5

This diff is too big to show here.

pkgs/applications/networking/irc/hexchat/default.nix+3−3

This diff is too big to show here.

pkgs/applications/networking/irc/ii/default.nix+2−2

This diff is too big to show here.

pkgs/applications/networking/irc/ircdog/default.nix+4−5

This diff is too big to show here.

pkgs/applications/networking/irc/irssi/default.nix+5−15

This diff is too big to show here.

pkgs/applications/networking/irc/irssi/fish/default.nix+3−3

This diff is too big to show here.

pkgs/applications/networking/irc/kirc/default.nix+3−3

This diff is too big to show here.

pkgs/applications/networking/irc/quassel/0001-common-Disable-enum-type-stream-operators-for-Qt-5.1.patch+37

This diff is too big to show here.

pkgs/applications/networking/irc/quassel/default.nix+12−5

This diff is too big to show here.

pkgs/applications/networking/irc/senpai/default.nix+4−4

This diff is too big to show here.

pkgs/applications/networking/irc/srain/default.nix+2−2

This diff is too big to show here.

pkgs/applications/networking/irc/tiny/default.nix+4−8

This diff is too big to show here.

pkgs/applications/networking/irc/weechat/default.nix+3−3

This diff is too big to show here.

pkgs/applications/networking/irc/wraith/configure.patch+3−3

This diff is too big to show here.

pkgs/applications/networking/irc/wraith/default.nix+5−5

This diff is too big to show here.

pkgs/applications/networking/irc/wraith/dlopen.patch+6−6

This diff is too big to show here.

pkgs/applications/networking/juju/default.nix+3−3

This diff is too big to show here.

pkgs/applications/networking/lieer/default.nix+1

This diff is too big to show here.

pkgs/applications/networking/linssid/default.nix+3−3

This diff is too big to show here.

pkgs/applications/networking/maestral-qt/default.nix+2−7

This diff is too big to show here.

pkgs/applications/networking/mailreaders/aerc/default.nix+14−23

This diff is too big to show here.

pkgs/applications/networking/mailreaders/aerc/runtime-sharedir.patch+56−86

This diff is too big to show here.

pkgs/applications/networking/mailreaders/afew/default.nix+1−1

This diff is too big to show here.

pkgs/applications/networking/mailreaders/alot/default.nix−97

This diff is too big to show here.

pkgs/applications/networking/mailreaders/claws-mail/default.nix+14−6

This diff is too big to show here.

pkgs/applications/networking/mailreaders/evolution/evolution-ews/default.nix+3−3

This diff is too big to show here.

pkgs/applications/networking/mailreaders/evolution/evolution/default.nix+4−11

This diff is too big to show here.

pkgs/applications/networking/mailreaders/hasmail/default.nix+1−1

This diff is too big to show here.

pkgs/applications/networking/mailreaders/himalaya/default.nix+6−10

This diff is too big to show here.

pkgs/applications/networking/mailreaders/mailpile/default.nix+52

This diff is too big to show here.

pkgs/applications/networking/mailreaders/mailspring/default.nix+4−9

This diff is too big to show here.

pkgs/applications/networking/mailreaders/meli/default.nix+2−1

This diff is too big to show here.

pkgs/applications/networking/mailreaders/mlarchive2maildir/default.nix+1−1

This diff is too big to show here.

pkgs/applications/networking/mailreaders/mutt/default.nix+2−2

This diff is too big to show here.

pkgs/applications/networking/mailreaders/neomutt/default.nix+12−2

This diff is too big to show here.

pkgs/applications/networking/mailreaders/notbit/default.nix+30

This diff is too big to show here.

pkgs/applications/networking/mailreaders/notmuch-bower/default.nix+2−2

This diff is too big to show here.

pkgs/applications/networking/mailreaders/notmuch/default.nix+7−24

This diff is too big to show here.

pkgs/applications/networking/mailreaders/thunderbird-bin/default.nix+2−2

This diff is too big to show here.

pkgs/applications/networking/mailreaders/thunderbird-bin/release_sources.nix+261−261

This diff is too big to show here.

pkgs/applications/networking/mailreaders/thunderbird/packages.nix+4−6

This diff is too big to show here.

pkgs/applications/networking/mailreaders/tutanota-desktop/default.nix+2−2

This diff is too big to show here.

pkgs/applications/networking/misc/zammad/0001-nulldb.patch−15

This diff is too big to show here.

pkgs/applications/networking/misc/zammad/default.nix−141

This diff is too big to show here.

pkgs/applications/networking/misc/zammad/gemset.nix−2608

This diff is too big to show here.

pkgs/applications/networking/misc/zammad/package.json−18

This diff is too big to show here.

pkgs/applications/networking/misc/zammad/source.json−7

This diff is too big to show here.

pkgs/applications/networking/misc/zammad/update.nix−37

This diff is too big to show here.

pkgs/applications/networking/misc/zammad/update.sh−68

This diff is too big to show here.

pkgs/applications/networking/misc/zammad/yarn.lock−1275

This diff is too big to show here.

pkgs/applications/networking/misc/zammad/yarn.nix−1549

This diff is too big to show here.

pkgs/applications/networking/modem-manager-gui/default.nix−15

This diff is too big to show here.

pkgs/applications/networking/mullvad-vpn/default.nix+6−9

This diff is too big to show here.

pkgs/applications/networking/mullvad/default.nix−8

This diff is too big to show here.

pkgs/applications/networking/mullvad/libwg.nix−35

This diff is too big to show here.

pkgs/applications/networking/mullvad/mullvad.nix−107

This diff is too big to show here.

pkgs/applications/networking/mullvad/openvpn.nix−87

This diff is too big to show here.

pkgs/applications/networking/mumble/default.nix+73−47

This diff is too big to show here.

pkgs/applications/networking/mumble/fix-rnnoise-argument.patch+16

This diff is too big to show here.

pkgs/applications/networking/n8n/default.nix+4−14

This diff is too big to show here.

pkgs/applications/networking/n8n/generate-dependencies.sh−13

This diff is too big to show here.

pkgs/applications/networking/n8n/node-composition.nix+1−1

This diff is too big to show here.

pkgs/applications/networking/n8n/node-env.nix+34−55

This diff is too big to show here.

pkgs/applications/networking/n8n/node-packages.nix+2047−3550

This diff is too big to show here.

pkgs/applications/networking/newsreaders/liferea/default.nix+2−2

This diff is too big to show here.

pkgs/applications/networking/nextcloud-client/default.nix+3−28

This diff is too big to show here.

pkgs/applications/networking/nextdns/default.nix+5−3

This diff is too big to show here.

pkgs/applications/networking/ngadmin/default.nix+1−1

This diff is too big to show here.

pkgs/applications/networking/novnc/default.nix−30

This diff is too big to show here.

pkgs/applications/networking/onionshare/default.nix+18−10

This diff is too big to show here.

pkgs/applications/networking/onionshare/fix-paths-gui.patch+7−32

This diff is too big to show here.

pkgs/applications/networking/onionshare/fix-paths.patch+11−46

This diff is too big to show here.

pkgs/applications/networking/opsdroid/default.nix+2−2

This diff is too big to show here.

pkgs/applications/networking/ostinato/default.nix+9−6

This diff is too big to show here.

pkgs/applications/networking/owamp/default.nix+1−2

This diff is too big to show here.

pkgs/applications/networking/owncloud-client/default.nix+2−2

This diff is too big to show here.

pkgs/applications/networking/p2p/deluge/default.nix+16−2

This diff is too big to show here.

pkgs/applications/networking/p2p/dht/default.nix+1−1

This diff is too big to show here.

pkgs/applications/networking/p2p/fragments/default.nix+42−55

This diff is too big to show here.

pkgs/applications/networking/p2p/fragments/dependency-resolution.patch+25

This diff is too big to show here.

pkgs/applications/networking/p2p/frostwire/default.nix+7−7

This diff is too big to show here.

pkgs/applications/networking/p2p/frostwire/frostwire-bin.nix+4−17

This diff is too big to show here.

pkgs/applications/networking/p2p/gnunet/default.nix+2−2

This diff is too big to show here.

pkgs/applications/networking/p2p/jesec-rtorrent/default.nix−65

This diff is too big to show here.

pkgs/applications/networking/p2p/ktorrent/default.nix+32

This diff is too big to show here.

pkgs/applications/networking/p2p/libutp/default.nix+1−1

This diff is too big to show here.

pkgs/applications/networking/p2p/qbittorrent/default.nix+2−2

This diff is too big to show here.

pkgs/applications/networking/p2p/tixati/default.nix+2−2

This diff is too big to show here.

pkgs/applications/networking/p2p/transgui/default.nix+7−3

This diff is too big to show here.

pkgs/applications/networking/p2p/tribler/default.nix+36−44

This diff is too big to show here.

pkgs/applications/networking/p2p/twister/default.nix+67

This diff is too big to show here.

pkgs/applications/networking/p2p/xd/default.nix+3−3

This diff is too big to show here.

pkgs/applications/networking/ping/default.nix+69

This diff is too big to show here.

pkgs/applications/networking/pjsip/default.nix+3−9

This diff is too big to show here.

pkgs/applications/networking/protonmail-bridge/default.nix+3−3

This diff is too big to show here.

pkgs/applications/networking/protonvpn-gui/default.nix+16−33

This diff is too big to show here.

pkgs/applications/networking/remote/anydesk/default.nix+2−2

This diff is too big to show here.

pkgs/applications/networking/remote/citrix-workspace/generic.nix+1−1

This diff is too big to show here.

pkgs/applications/networking/remote/freerdp/default.nix+55−88

This diff is too big to show here.

pkgs/applications/networking/remote/remmina/default.nix+6−10

This diff is too big to show here.

pkgs/applications/networking/remote/rustdesk/cargo.patch−50

This diff is too big to show here.

pkgs/applications/networking/remote/rustdesk/default.nix−104

This diff is too big to show here.

pkgs/applications/networking/remote/teamviewer/default.nix+2−2

This diff is too big to show here.

pkgs/applications/networking/remote/vmware-horizon-client/default.nix+64−50

This diff is too big to show here.

pkgs/applications/networking/remote/waypipe/default.nix+1−2

This diff is too big to show here.

pkgs/applications/networking/remote/x2goclient/default.nix+6−36

This diff is too big to show here.

pkgs/applications/networking/resilio-sync/default.nix+19−19

This diff is too big to show here.

pkgs/applications/networking/seafile-client/default.nix+3−5

This diff is too big to show here.

pkgs/applications/networking/seahub/default.nix−81

This diff is too big to show here.

pkgs/applications/networking/seaweedfs/default.nix+5−6

This diff is too big to show here.

pkgs/applications/networking/shellhub-agent/default.nix+7−5

This diff is too big to show here.

pkgs/applications/networking/sniffers/sngrep/default.nix+13−2

This diff is too big to show here.

pkgs/applications/networking/sniffers/wireshark/default.nix+7−23

This diff is too big to show here.

pkgs/applications/networking/soapui/default.nix+1−3

This diff is too big to show here.

pkgs/applications/networking/soju/default.nix+3−3

This diff is too big to show here.

pkgs/applications/networking/soulseek/nicotine-plus/default.nix+2−2

This diff is too big to show here.

pkgs/applications/networking/ssb-patchwork/default.nix+1−1

This diff is too big to show here.

pkgs/applications/networking/sync/desync/default.nix+3−3

This diff is too big to show here.

pkgs/applications/networking/sync/lsyncd/default.nix+1−2

This diff is too big to show here.

pkgs/applications/networking/sync/onedrive/default.nix+2−2

This diff is too big to show here.

pkgs/applications/networking/sync/rclone/default.nix+5−10

This diff is too big to show here.

pkgs/applications/networking/sync/unison/default.nix+8−5

This diff is too big to show here.

pkgs/applications/networking/sync/wdt/default.nix−34

This diff is too big to show here.

pkgs/applications/networking/syncplay/default.nix+4−6

This diff is too big to show here.

pkgs/applications/networking/syncthing/default.nix+3−3

This diff is too big to show here.

pkgs/applications/networking/synology-drive-client/default.nix+7−7

This diff is too big to show here.

pkgs/applications/networking/synology-drive/default.nix+45

This diff is too big to show here.

pkgs/applications/networking/termius/default.nix+14−9

This diff is too big to show here.

pkgs/applications/networking/testssl/default.nix+2−2

This diff is too big to show here.

pkgs/applications/networking/tetrd/default.nix+1−1

This diff is too big to show here.

pkgs/applications/networking/vnstat/default.nix+2−2

This diff is too big to show here.

pkgs/applications/networking/wayback_machine_downloader/Gemfile+3−2

This diff is too big to show here.

pkgs/applications/networking/wayback_machine_downloader/Gemfile.lock+3−3

This diff is too big to show here.

pkgs/applications/networking/wayback_machine_downloader/gemset.nix+2−2

This diff is too big to show here.

pkgs/applications/networking/zerobin/default.nix+1−1

This diff is too big to show here.

pkgs/applications/office/PageEdit/default.nix−25

This diff is too big to show here.

pkgs/applications/office/appflowy/default.nix−77

This diff is too big to show here.

pkgs/applications/office/autokey/remove-requires-dbus-python.patch+11

This diff is too big to show here.

pkgs/applications/office/banking/default.nix+9−20

This diff is too big to show here.

pkgs/applications/office/beamerpresenter/default.nix+22−45

This diff is too big to show here.

pkgs/applications/office/bookworm/default.nix+26−48

This diff is too big to show here.

pkgs/applications/office/buho/default.nix−58

This diff is too big to show here.

pkgs/applications/office/calligra/default.nix−16

This diff is too big to show here.

pkgs/applications/office/elementary-planner/default.nix+2−14

This diff is too big to show here.

pkgs/applications/office/espanso/default.nix−1

This diff is too big to show here.

pkgs/applications/office/fava/default.nix+3−15

This diff is too big to show here.

pkgs/applications/office/foliate/default.nix+3−2

This diff is too big to show here.

pkgs/applications/office/gnucash/0001-changes.patch

This diff is too big to show here.

pkgs/applications/office/gnucash/0002-disable-gnc-fq-update.patch−18

This diff is too big to show here.

pkgs/applications/office/gnucash/0003-remove-valgrind.patch−35

This diff is too big to show here.

pkgs/applications/office/gnucash/default.nix+78−185

This diff is too big to show here.

pkgs/applications/office/gnumeric/default.nix+2−3

This diff is too big to show here.

pkgs/applications/office/gtg/default.nix−8

This diff is too big to show here.

pkgs/applications/office/hledger-check-fancyassertions/default.nix+9−4

This diff is too big to show here.

pkgs/applications/office/homebank/default.nix+2−2

This diff is too big to show here.

pkgs/applications/office/impressive/default.nix+70

This diff is too big to show here.

pkgs/applications/office/jabref/default.nix+3−3

This diff is too big to show here.

pkgs/applications/office/jameica/default.nix+12−13

This diff is too big to show here.

pkgs/applications/office/kalendar/default.nix+101

This diff is too big to show here.

pkgs/applications/office/khronos/default.nix+9−2

This diff is too big to show here.

pkgs/applications/office/ledger/default.nix+2−2

This diff is too big to show here.

pkgs/applications/office/libreoffice/darwin.nix−51

This diff is too big to show here.

pkgs/applications/office/libreoffice/default.nix+3−12

This diff is too big to show here.

pkgs/applications/office/libreoffice/soffice-template.desktop−6

This diff is too big to show here.

pkgs/applications/office/libreoffice/wrapper.nix+12−25

This diff is too big to show here.

pkgs/applications/office/micropad/default.nix−101

This diff is too big to show here.

pkgs/applications/office/micropad/package.json−87

This diff is too big to show here.

pkgs/applications/office/micropad/yarn.lock−2006

This diff is too big to show here.

pkgs/applications/office/micropad/yarn.nix−2341

This diff is too big to show here.

pkgs/applications/office/mmex/default.nix+29−26

This diff is too big to show here.

pkgs/applications/office/morgen/default.nix−59

This diff is too big to show here.

pkgs/applications/office/notion-app-enhanced/default.nix+2−2

This diff is too big to show here.

pkgs/applications/office/paperless-ng/default.nix+202

This diff is too big to show here.

pkgs/applications/office/paperless-ngx/default.nix−194

This diff is too big to show here.

pkgs/applications/office/paperwork/openpaperwork-core.nix−1

This diff is too big to show here.

pkgs/applications/office/paperwork/openpaperwork-gtk.nix−1

This diff is too big to show here.

pkgs/applications/office/paperwork/paperwork-gtk.nix+3−19

This diff is too big to show here.

pkgs/applications/office/paperwork/src.nix+2−2

This diff is too big to show here.

pkgs/applications/office/pinpoint/default.nix+2−2

This diff is too big to show here.

pkgs/applications/office/portfolio/default.nix+4−4

This diff is too big to show here.

pkgs/applications/office/pyspread/default.nix+1−1

This diff is too big to show here.

pkgs/applications/office/qownnotes/default.nix+2−2

This diff is too big to show here.

pkgs/applications/office/scribus/unstable.nix−35

This diff is too big to show here.

pkgs/applications/office/skanlite/default.nix+30

This diff is too big to show here.

pkgs/applications/office/skrooge/default.nix+2−2

This diff is too big to show here.

pkgs/applications/office/softmaker/desktop_items.nix+18−72

This diff is too big to show here.

pkgs/applications/office/spice-up/default.nix+28−21

This diff is too big to show here.

pkgs/applications/office/super-productivity/default.nix+2−2

This diff is too big to show here.

pkgs/applications/office/timekeeper/default.nix+44

This diff is too big to show here.

pkgs/applications/office/timeline/default.nix+7−4

This diff is too big to show here.

pkgs/applications/office/treesheets/default.nix+31−29

This diff is too big to show here.

pkgs/applications/office/trilium/0001-Use-console-logger-instead-of-rolling-files.patch+42−11

This diff is too big to show here.

pkgs/applications/office/trilium/default.nix+4−4

This diff is too big to show here.

pkgs/applications/office/tusk/default.nix+3−4

This diff is too big to show here.

pkgs/applications/office/vnote/default.nix+2−2

This diff is too big to show here.

pkgs/applications/office/watson/default.nix+1−2

This diff is too big to show here.

pkgs/applications/office/wpsoffice/default.nix+1

This diff is too big to show here.

pkgs/applications/office/zanshin/default.nix+38

This diff is too big to show here.

pkgs/applications/office/zotero/default.nix+44−49

This diff is too big to show here.

pkgs/applications/radio/cubicsdr/default.nix+21−3

This diff is too big to show here.

pkgs/applications/radio/dablin/default.nix+2−2

This diff is too big to show here.

pkgs/applications/radio/dump1090/default.nix+2−2

This diff is too big to show here.

pkgs/applications/radio/flex-ncat/default.nix−1

This diff is too big to show here.

pkgs/applications/radio/flrig/default.nix+2−4

This diff is too big to show here.

pkgs/applications/radio/freedv/default.nix+6−10

This diff is too big to show here.

pkgs/applications/radio/gnss-sdr/default.nix+29−54

This diff is too big to show here.

pkgs/applications/radio/gnss-sdr/fix_libcpu_features_install_path.patch−47

This diff is too big to show here.

pkgs/applications/radio/gnuradio/3.7.nix+281

This diff is too big to show here.

pkgs/applications/radio/gnuradio/3.8.nix+8−7

This diff is too big to show here.

pkgs/applications/radio/gnuradio/3.9.nix−303

This diff is too big to show here.

pkgs/applications/radio/gnuradio/default.nix+6−37

This diff is too big to show here.

pkgs/applications/radio/gnuradio/wrapper.nix+4−5

This diff is too big to show here.

pkgs/applications/radio/gqrx/default.nix+9−3

This diff is too big to show here.

pkgs/applications/radio/kalibrate-rtl/default.nix+5−5

This diff is too big to show here.

pkgs/applications/radio/pothos/default.nix+2−2

This diff is too big to show here.

pkgs/applications/radio/qradiolink/default.nix+2−1

This diff is too big to show here.

pkgs/applications/radio/qsstv/default.nix+4−4

This diff is too big to show here.

pkgs/applications/radio/rtl-ais/default.nix+1−2

This diff is too big to show here.

pkgs/applications/radio/rtl-sdr/default.nix+7−11

This diff is too big to show here.

pkgs/applications/radio/sdrangel/default.nix+2−2

This diff is too big to show here.

pkgs/applications/radio/sdrplay/default.nix+1−1

This diff is too big to show here.

pkgs/applications/radio/soapyhackrf/default.nix+2−2

This diff is too big to show here.

pkgs/applications/radio/soapysdr/default.nix+1−2

This diff is too big to show here.

pkgs/applications/radio/soapysdrplay/default.nix+2−2

This diff is too big to show here.

pkgs/applications/radio/soundmodem/default.nix+3−3

This diff is too big to show here.

pkgs/applications/radio/splat/default.nix−55

This diff is too big to show here.

pkgs/applications/radio/srsran/default.nix−49

This diff is too big to show here.

pkgs/applications/radio/svxlink/default.nix+1−1

This diff is too big to show here.

pkgs/applications/radio/uhd/default.nix−2

This diff is too big to show here.

pkgs/applications/radio/urh/default.nix+2−2

This diff is too big to show here.

pkgs/applications/radio/welle-io/default.nix+2−2

This diff is too big to show here.

pkgs/applications/radio/wsjtx/default.nix+2−2

This diff is too big to show here.

pkgs/applications/science/astronomy/astrolabe-generator/default.nix−1

This diff is too big to show here.

pkgs/applications/science/astronomy/astrolog/default.nix+2−3

This diff is too big to show here.

pkgs/applications/science/astronomy/gnuastro/default.nix−36

This diff is too big to show here.

pkgs/applications/science/astronomy/gprojector/default.nix−51

This diff is too big to show here.

pkgs/applications/science/astronomy/gravit/default.nix+6−8

This diff is too big to show here.

pkgs/applications/science/astronomy/kstars/default.nix+2−2

This diff is too big to show here.

pkgs/applications/science/astronomy/openspace/assets.patch+100

This diff is too big to show here.

pkgs/applications/science/astronomy/openspace/config.patch+49

This diff is too big to show here.

pkgs/applications/science/astronomy/openspace/constexpr.patch+91

This diff is too big to show here.

pkgs/applications/science/astronomy/openspace/default.nix+90

This diff is too big to show here.

pkgs/applications/science/astronomy/openspace/vrpn.patch+13

This diff is too big to show here.

pkgs/applications/science/astronomy/phd2/default.nix+2−2

This diff is too big to show here.

pkgs/applications/science/astronomy/siril/default.nix+2−2

This diff is too big to show here.

pkgs/applications/science/astronomy/stellarium/default.nix+4−4

This diff is too big to show here.

pkgs/applications/science/biology/angsd/default.nix−25

This diff is too big to show here.

pkgs/applications/science/biology/bayescan/default.nix−1

This diff is too big to show here.

pkgs/applications/science/biology/bcftools/default.nix+2−2

This diff is too big to show here.

pkgs/applications/science/biology/blast/default.nix+2−2

This diff is too big to show here.

pkgs/applications/science/biology/bowtie2/default.nix+2−2

This diff is too big to show here.

pkgs/applications/science/biology/bwa/default.nix−2

This diff is too big to show here.

pkgs/applications/science/biology/clustal-omega/default.nix−1

This diff is too big to show here.

pkgs/applications/science/biology/cmtk/default.nix+1−4

This diff is too big to show here.

pkgs/applications/science/biology/dcm2niix/default.nix+7−42

This diff is too big to show here.

pkgs/applications/science/biology/dcm2niix/dont-fetch-external-libs.patch−36

This diff is too big to show here.

pkgs/applications/science/biology/deeptools/default.nix+2−2

This diff is too big to show here.

pkgs/applications/science/biology/eggnog-mapper/default.nix+16−30

This diff is too big to show here.

pkgs/applications/science/biology/febio-studio/default.nix−61

This diff is too big to show here.

pkgs/applications/science/biology/febio-studio/febio-studio-cmake.patch−38

This diff is too big to show here.

pkgs/applications/science/biology/flywheel-cli/default.nix−49

This diff is too big to show here.

pkgs/applications/science/biology/hisat2/default.nix+2−2

This diff is too big to show here.

pkgs/applications/science/biology/kallisto/default.nix+2−2

This diff is too big to show here.

pkgs/applications/science/biology/kssd/default.nix+1−2

This diff is too big to show here.

pkgs/applications/science/biology/last/default.nix+4−4

This diff is too big to show here.

pkgs/applications/science/biology/lumpy/default.nix+50

This diff is too big to show here.

pkgs/applications/science/biology/megahit/default.nix−3

This diff is too big to show here.

pkgs/applications/science/biology/messer-slim/default.nix+2−2

This diff is too big to show here.

pkgs/applications/science/biology/minimap2/default.nix+2−4

This diff is too big to show here.

pkgs/applications/science/biology/mosdepth/default.nix+2−2

This diff is too big to show here.

pkgs/applications/science/biology/ncbi-tools/default.nix+34

This diff is too big to show here.

pkgs/applications/science/biology/neuron/default.nix+1−1

This diff is too big to show here.

pkgs/applications/science/biology/picard-tools/default.nix+2−3

This diff is too big to show here.

pkgs/applications/science/biology/poretools/default.nix+3−3

This diff is too big to show here.

pkgs/applications/science/biology/quast/default.nix+3−1

This diff is too big to show here.

pkgs/applications/science/biology/raxml/default.nix+2−2

This diff is too big to show here.

pkgs/applications/science/biology/repseek/default.nix−27

This diff is too big to show here.

pkgs/applications/science/biology/sambamba/default.nix+12−12

This diff is too big to show here.

pkgs/applications/science/biology/samtools/default.nix+1−8

This diff is too big to show here.

pkgs/applications/science/biology/spades/default.nix+2−2

This diff is too big to show here.

pkgs/applications/science/biology/star/default.nix+2−2

This diff is too big to show here.

pkgs/applications/science/biology/tebreak/default.nix+6−6

This diff is too big to show here.

pkgs/applications/science/chemistry/chemtool/default.nix−1

This diff is too big to show here.

pkgs/applications/science/chemistry/cp2k/default.nix+3−5

This diff is too big to show here.

pkgs/applications/science/chemistry/d-seams/default.nix+2−2

This diff is too big to show here.

pkgs/applications/science/chemistry/jmol/default.nix+4−12

This diff is too big to show here.

pkgs/applications/science/chemistry/marvin/default.nix+2−2

This diff is too big to show here.

pkgs/applications/science/chemistry/molden/default.nix+1−1

This diff is too big to show here.

pkgs/applications/science/chemistry/pymol/default.nix+2−10

This diff is too big to show here.

pkgs/applications/science/computer-architecture/qtrvsim/default.nix−30

This diff is too big to show here.

pkgs/applications/science/electronics/alliance/default.nix−4

This diff is too big to show here.

pkgs/applications/science/electronics/caneda/default.nix+2−2

This diff is too big to show here.

pkgs/applications/science/electronics/diylc/default.nix+1−1

This diff is too big to show here.

pkgs/applications/science/electronics/eagle/eagle.nix+1−1

This diff is too big to show here.

pkgs/applications/science/electronics/eagle/eagle7.nix+97

This diff is too big to show here.

pkgs/applications/science/electronics/gaw/default.nix−34

This diff is too big to show here.

pkgs/applications/science/electronics/gerbv/default.nix+2−2

This diff is too big to show here.

pkgs/applications/science/electronics/horizon-eda/default.nix+2−2

This diff is too big to show here.

pkgs/applications/science/electronics/kicad/base.nix+2−1

This diff is too big to show here.

pkgs/applications/science/electronics/kicad/default.nix+1−1

This diff is too big to show here.

pkgs/applications/science/electronics/kicad/versions.nix+24−24

This diff is too big to show here.

pkgs/applications/science/electronics/lepton-eda/default.nix+2−2

This diff is too big to show here.

pkgs/applications/science/electronics/magic-vlsi/0002-fix-format-security.patch+19

This diff is too big to show here.

pkgs/applications/science/electronics/magic-vlsi/default.nix+3−2

This diff is too big to show here.

pkgs/applications/science/electronics/ngspice/default.nix+2−2

This diff is too big to show here.

pkgs/applications/science/electronics/openhantek6022/default.nix+2−2

This diff is too big to show here.

pkgs/applications/science/electronics/verilator/default.nix+7−13

This diff is too big to show here.

pkgs/applications/science/electronics/xcircuit/default.nix+8−4

This diff is too big to show here.

pkgs/applications/science/electronics/xschem/default.nix−46

This diff is too big to show here.

pkgs/applications/science/electronics/xyce/default.nix−182

This diff is too big to show here.

pkgs/applications/science/engineering/brmodelo/default.nix−109

This diff is too big to show here.

pkgs/applications/science/geometry/gama/default.nix+2−2

This diff is too big to show here.

pkgs/applications/science/geometry/tetgen/default.nix+5−12

This diff is too big to show here.

pkgs/applications/science/logic/abc/default.nix+3−3

This diff is too big to show here.

pkgs/applications/science/logic/alt-ergo/default.nix+10−7

This diff is too big to show here.

pkgs/applications/science/logic/anders/default.nix−27

This diff is too big to show here.

pkgs/applications/science/logic/coq/default.nix+18−23

This diff is too big to show here.

pkgs/applications/science/logic/cvc5/default.nix−34

This diff is too big to show here.

pkgs/applications/science/logic/easycrypt/default.nix−50

This diff is too big to show here.

pkgs/applications/science/logic/easycrypt/runtest.nix−24

This diff is too big to show here.

pkgs/applications/science/logic/elan/default.nix+3−3

This diff is too big to show here.

pkgs/applications/science/logic/fast-downward/default.nix+12−19

This diff is too big to show here.

pkgs/applications/science/logic/formula/default.nix−32

This diff is too big to show here.

pkgs/applications/science/logic/formula/nuget.nix−77

This diff is too big to show here.

pkgs/applications/science/logic/isabelle/components/default.nix−5

This diff is too big to show here.

pkgs/applications/science/logic/isabelle/components/isabelle-linter.nix−22

This diff is too big to show here.

pkgs/applications/science/logic/isabelle/components/mkBuild.nix−36

This diff is too big to show here.

pkgs/applications/science/logic/isabelle/default.nix+18−112

This diff is too big to show here.

pkgs/applications/science/logic/jonprl/default.nix+35

This diff is too big to show here.

pkgs/applications/science/logic/key/default.nix+28−71

This diff is too big to show here.

pkgs/applications/science/logic/klee/default.nix−157

This diff is too big to show here.

pkgs/applications/science/logic/klee/klee-uclibc.nix−98

This diff is too big to show here.

pkgs/applications/science/logic/lean/default.nix+3−3

This diff is too big to show here.

pkgs/applications/science/logic/lean2/default.nix+37

This diff is too big to show here.

pkgs/applications/science/logic/leo2/default.upstream+6

This diff is too big to show here.

pkgs/applications/science/logic/logisim-evolution/default.nix+2−2

This diff is too big to show here.

pkgs/applications/science/logic/logisim/default.nix+2−2

This diff is too big to show here.

pkgs/applications/science/logic/naproche/default.nix−38

This diff is too big to show here.

pkgs/applications/science/logic/nuXmv/default.nix−33

This diff is too big to show here.

pkgs/applications/science/logic/opensmt/default.nix+2−2

This diff is too big to show here.

pkgs/applications/science/logic/otter/default.nix+53

This diff is too big to show here.

pkgs/applications/science/logic/potassco/clingcon.nix−5

This diff is too big to show here.

pkgs/applications/science/logic/potassco/clingo.upstream+6

This diff is too big to show here.

pkgs/applications/science/logic/satallax/default.nix+1

This diff is too big to show here.

pkgs/applications/science/logic/symbiyosys/default.nix−1

This diff is too big to show here.

pkgs/applications/science/logic/symfpu/default.nix−26

This diff is too big to show here.

pkgs/applications/science/logic/tamarin-prover/default.nix−2

This diff is too big to show here.

pkgs/applications/science/logic/tlaplus/default.nix+2−2

This diff is too big to show here.

pkgs/applications/science/logic/tlaplus/tlaps.nix+4−4

This diff is too big to show here.

pkgs/applications/science/logic/tlaplus/toolbox.nix+5−3

This diff is too big to show here.

pkgs/applications/science/logic/why3/default.nix+5−5

This diff is too big to show here.

pkgs/applications/science/logic/why3/with-provers.nix+1−1

This diff is too big to show here.

pkgs/applications/science/logic/workcraft/default.nix+2−2

This diff is too big to show here.

pkgs/applications/science/logic/z3/4.4.0.nix+1−1

This diff is too big to show here.

pkgs/applications/science/logic/z3/default.nix+66−66

This diff is too big to show here.

pkgs/applications/science/machine-learning/finalfusion-utils/default.nix+3−4

This diff is too big to show here.

pkgs/applications/science/machine-learning/shogun/default.nix+6−12

This diff is too big to show here.

pkgs/applications/science/machine-learning/vowpal-wabbit/default.nix+2−2

This diff is too big to show here.

pkgs/applications/science/math/R/default.nix+2−7

This diff is too big to show here.

pkgs/applications/science/math/adolc/default.nix−23

This diff is too big to show here.

pkgs/applications/science/math/bcal/default.nix+2−2

This diff is too big to show here.

pkgs/applications/science/math/caffe/default.nix+4−9

This diff is too big to show here.

pkgs/applications/science/math/calc/default.nix+2−2

This diff is too big to show here.

pkgs/applications/science/math/calculix/calculix.patch+9−10

This diff is too big to show here.

pkgs/applications/science/math/calculix/default.nix+3−6

This diff is too big to show here.

pkgs/applications/science/math/cemu/default.nix+2−2

This diff is too big to show here.

pkgs/applications/science/math/cntk/default.nix+7−12

This diff is too big to show here.

pkgs/applications/science/math/fricas/default.nix+6−3

This diff is too big to show here.

pkgs/applications/science/math/geogebra/default.nix+2−2

This diff is too big to show here.

pkgs/applications/science/math/getdp/default.nix+3−3

This diff is too big to show here.

pkgs/applications/science/math/gfm/default.nix+55

This diff is too big to show here.

pkgs/applications/science/math/giac/default.nix+16−12

This diff is too big to show here.

pkgs/applications/science/math/ginac/default.nix+2−2

This diff is too big to show here.

pkgs/applications/science/math/gmsh/default.nix+7−10

This diff is too big to show here.

pkgs/applications/science/math/gretl/default.nix+2−2

This diff is too big to show here.

pkgs/applications/science/math/gurobi/default.nix+2−2

This diff is too big to show here.

pkgs/applications/science/math/mathematica/default.nix+104−109

This diff is too big to show here.

pkgs/applications/science/math/mathematica/l10ns.nix−7

This diff is too big to show here.

pkgs/applications/science/math/mxnet/default.nix+2−14

This diff is too big to show here.

pkgs/applications/science/math/nasc/default.nix+1

This diff is too big to show here.

pkgs/applications/science/math/pari/default.nix+1

This diff is too big to show here.

pkgs/applications/science/math/polymake/default.nix+2−2

This diff is too big to show here.

pkgs/applications/science/math/qalculate-gtk/default.nix+2−2

This diff is too big to show here.

pkgs/applications/science/math/ratpoints/default.nix+1

This diff is too big to show here.

pkgs/applications/science/math/rofi-calc/default.nix+2−2

This diff is too big to show here.

pkgs/applications/science/math/sage/README.md+2−2

This diff is too big to show here.

pkgs/applications/science/math/sage/default.nix+11−14

This diff is too big to show here.

pkgs/applications/science/math/sage/patches/Only-test-external-software-when-all-of-sage-is.patch−46

This diff is too big to show here.

pkgs/applications/science/math/sage/patches/Only-test-py2-py3-optional-tests-when-all-of-sage-is.patch+26

This diff is too big to show here.

pkgs/applications/science/math/sage/patches/do-not-test-find-library.patch+17−4

This diff is too big to show here.

pkgs/applications/science/math/sage/patches/docutils-0.18.1-deprecation.patch−13

This diff is too big to show here.

pkgs/applications/science/math/sage/patches/fonttools-deprecation-warnings.patch+39

This diff is too big to show here.

pkgs/applications/science/math/sage/patches/linbox-1.7-upgrade.patch−58

This diff is too big to show here.

pkgs/applications/science/math/sage/patches/sphinx-docbuild-subprocesses.patch+6−6

This diff is too big to show here.

pkgs/applications/science/math/sage/patches/tachyon-renamed-focallength.patch−81

This diff is too big to show here.

pkgs/applications/science/math/sage/python-modules/sage-docbuild.nix−28

This diff is too big to show here.

pkgs/applications/science/math/sage/python-modules/sage-setup.nix−28

This diff is too big to show here.

pkgs/applications/science/math/sage/sage-env.nix+8−5

This diff is too big to show here.

pkgs/applications/science/math/sage/sage-src.nix+51−83

This diff is too big to show here.

pkgs/applications/science/math/sage/sage-with-env.nix+2−4

This diff is too big to show here.

pkgs/applications/science/math/sage/sage.nix+2−4

This diff is too big to show here.

pkgs/applications/science/math/sage/sage_docbuild.nix+20

This diff is too big to show here.

pkgs/applications/science/math/sage/sagedoc.nix+2−2

This diff is too big to show here.

pkgs/applications/science/math/sage/sagelib.nix+4−53

This diff is too big to show here.

pkgs/applications/science/math/scilab-bin/default.nix+21−18

This diff is too big to show here.

pkgs/applications/science/math/singular/default.nix+60−17

This diff is too big to show here.

pkgs/applications/science/math/singular/disable-docs-for-optional-unpackaged-deps.patch+112

This diff is too big to show here.

pkgs/applications/science/math/singular/redhat-aarch64.patch+38

This diff is too big to show here.

pkgs/applications/science/math/singular/use-older-ax-prog-cc-for-build.patch+194

This diff is too big to show here.

pkgs/applications/science/math/singular/vspace-MAX_PROCESS.patch+35

This diff is too big to show here.

pkgs/applications/science/math/tilp2/default.nix+57

This diff is too big to show here.

pkgs/applications/science/math/wolfram-engine/default.nix−143

This diff is too big to show here.

pkgs/applications/science/math/wolfram-engine/l10ns.nix−51

This diff is too big to show here.

pkgs/applications/science/math/wolfram-engine/notebook.nix−9

This diff is too big to show here.

pkgs/applications/science/math/wxmaxima/default.nix+2−2

This diff is too big to show here.

pkgs/applications/science/medicine/xmedcon/default.nix+2−2

This diff is too big to show here.

pkgs/applications/science/misc/bada-bib/default.nix−77

This diff is too big to show here.

pkgs/applications/science/misc/colmap/default.nix+8−24

This diff is too big to show here.

pkgs/applications/science/misc/cwltool/default.nix+5−4

This diff is too big to show here.

pkgs/applications/science/misc/cytoscape/default.nix+2−2

This diff is too big to show here.

pkgs/applications/science/misc/fityk/default.nix+5−6

This diff is too big to show here.

pkgs/applications/science/misc/foldingathome/control.nix+1−1

This diff is too big to show here.

pkgs/applications/science/misc/foldingathome/viewer.nix+1−1

This diff is too big to show here.

pkgs/applications/science/misc/golly/beta.nix+50

This diff is too big to show here.

pkgs/applications/science/misc/golly/default.upstream+5

This diff is too big to show here.

pkgs/applications/science/misc/gplates/default.nix−2

This diff is too big to show here.

pkgs/applications/science/misc/graphia/default.nix−1

This diff is too big to show here.

pkgs/applications/science/misc/netlogo/default.nix+2−2

This diff is too big to show here.

pkgs/applications/science/misc/nextinspace/default.nix+8−28

This diff is too big to show here.

pkgs/applications/science/misc/openmvs/default.nix+77

This diff is too big to show here.

pkgs/applications/science/misc/rink/default.nix+3−3

This diff is too big to show here.

pkgs/applications/science/misc/root/5.nix−5

This diff is too big to show here.

pkgs/applications/science/misc/root/default.nix+3−8

This diff is too big to show here.

pkgs/applications/science/misc/sasview/default.nix+51−38

This diff is too big to show here.

pkgs/applications/science/misc/sasview/local_config.patch+22

This diff is too big to show here.

pkgs/applications/science/misc/sasview/pyparsing-fix.patch+13

This diff is too big to show here.

pkgs/applications/science/misc/simgrid/default.nix+50−50

This diff is too big to show here.

pkgs/applications/science/misc/snakemake/default.nix+9−42

This diff is too big to show here.

pkgs/applications/science/misc/toil/default.nix+16−23

This diff is too big to show here.

pkgs/applications/science/misc/tulip/default.nix+7−8

This diff is too big to show here.

pkgs/applications/science/molecular-dynamics/gromacs/default.nix+2−2

This diff is too big to show here.

pkgs/applications/science/physics/sherpa/default.nix+2−2

This diff is too big to show here.

pkgs/applications/science/physics/shtns/default.nix−22

This diff is too big to show here.

pkgs/applications/science/physics/xfitter/default.nix+30−34

This diff is too big to show here.

pkgs/applications/science/physics/xfitter/undefined_behavior.patch+454

This diff is too big to show here.

pkgs/applications/science/programming/groove/default.nix+1−1

This diff is too big to show here.

pkgs/applications/science/programming/jflap/default.nix−32

This diff is too big to show here.

pkgs/applications/science/robotics/betaflight-configurator/default.nix+2−2

This diff is too big to show here.

pkgs/applications/science/robotics/inav-configurator/default.nix+2−2

This diff is too big to show here.

pkgs/applications/science/robotics/mavproxy/default.nix+2−2

This diff is too big to show here.

pkgs/applications/science/robotics/mission-planner/default.nix+2−2

This diff is too big to show here.

pkgs/applications/science/robotics/qgroundcontrol/default.nix+3−5

This diff is too big to show here.

pkgs/applications/science/robotics/sumorobot-manager/default.nix+1−1

This diff is too big to show here.

pkgs/applications/system/monitor/default.nix+3−17

This diff is too big to show here.

pkgs/applications/terminal-emulators/alacritty/default.nix+14−10

This diff is too big to show here.

pkgs/applications/terminal-emulators/contour/default.nix+1−3

This diff is too big to show here.

pkgs/applications/terminal-emulators/cool-retro-term/default.nix+1−3

This diff is too big to show here.

pkgs/applications/terminal-emulators/ctx/default.nix−3

This diff is too big to show here.

pkgs/applications/terminal-emulators/darktile/default.nix−3

This diff is too big to show here.

pkgs/applications/terminal-emulators/eterm/default.nix+1−4

This diff is too big to show here.

pkgs/applications/terminal-emulators/evilvte/default.nix+38

This diff is too big to show here.

pkgs/applications/terminal-emulators/foot/default.nix+2−4

This diff is too big to show here.

pkgs/applications/terminal-emulators/germinal/default.nix−3

This diff is too big to show here.

pkgs/applications/terminal-emulators/gnome-console/default.nix−69

This diff is too big to show here.

pkgs/applications/terminal-emulators/guake/default.nix−3

This diff is too big to show here.

pkgs/applications/terminal-emulators/havoc/default.nix+8−20

This diff is too big to show here.

pkgs/applications/terminal-emulators/hyper/default.nix+4−6

This diff is too big to show here.

pkgs/applications/terminal-emulators/iterm2/default.nix+30−24

This diff is too big to show here.

pkgs/applications/terminal-emulators/kermit-terminal/default.nix−44

This diff is too big to show here.

pkgs/applications/terminal-emulators/kgx/default.nix+76

This diff is too big to show here.

pkgs/applications/terminal-emulators/kitty/default.nix+33−76

This diff is too big to show here.

pkgs/applications/terminal-emulators/lilyterm/default.nix+58

This diff is too big to show here.

pkgs/applications/terminal-emulators/lxterminal/default.nix+1−3

This diff is too big to show here.

pkgs/applications/terminal-emulators/mlterm/default.nix+8−8

This diff is too big to show here.

pkgs/applications/terminal-emulators/mrxvt/default.nix−3

This diff is too big to show here.

pkgs/applications/terminal-emulators/roxterm/default.nix+3−5

This diff is too big to show here.

pkgs/applications/terminal-emulators/rxvt-unicode-plugins/urxvt-font-size/default.nix+1−1

This diff is too big to show here.

pkgs/applications/terminal-emulators/rxvt-unicode/default.nix+8−36

This diff is too big to show here.

pkgs/applications/terminal-emulators/rxvt-unicode/wrapper.nix+1−5

This diff is too big to show here.

pkgs/applications/terminal-emulators/sakura/default.nix−3

This diff is too big to show here.

pkgs/applications/terminal-emulators/st/default.nix+8−9

This diff is too big to show here.

pkgs/applications/terminal-emulators/stupidterm/default.nix+1−3

This diff is too big to show here.

pkgs/applications/terminal-emulators/syncterm/default.nix−41

This diff is too big to show here.

pkgs/applications/terminal-emulators/terminator/default.nix−3

This diff is too big to show here.

pkgs/applications/terminal-emulators/termite/default.nix+2−5

This diff is too big to show here.

pkgs/applications/terminal-emulators/termonad/default.nix+2−5

This diff is too big to show here.

pkgs/applications/terminal-emulators/tilda/default.nix−3

This diff is too big to show here.

pkgs/applications/terminal-emulators/tilix/default.nix+2−5

This diff is too big to show here.

pkgs/applications/terminal-emulators/wayst/default.nix+6−6

This diff is too big to show here.

pkgs/applications/terminal-emulators/wezterm/default.nix+9−23

This diff is too big to show here.

pkgs/applications/terminal-emulators/xterm/default.nix+3−6

This diff is too big to show here.

pkgs/applications/version-management/bcompare/default.nix+3−3

This diff is too big to show here.

pkgs/applications/version-management/bitkeeper/default.nix+56

This diff is too big to show here.

pkgs/applications/version-management/commit-formatter/default.nix−23

This diff is too big to show here.

pkgs/applications/version-management/commitizen/default.nix−122

This diff is too big to show here.

pkgs/applications/version-management/cvs2svn/default.nix+5−5

This diff is too big to show here.

pkgs/applications/version-management/dvc/default.nix+38−81

This diff is too big to show here.

pkgs/applications/version-management/dvc/dvc-daemon.patch+13−10

This diff is too big to show here.

pkgs/applications/version-management/fnc/default.nix−40

This diff is too big to show here.

pkgs/applications/version-management/fossil/default.nix+2−2

This diff is too big to show here.

pkgs/applications/version-management/gerrit/default.nix+2−2

This diff is too big to show here.

pkgs/applications/version-management/git-and-tools/bfg-repo-cleaner/default.nix+44−41

This diff is too big to show here.

pkgs/applications/version-management/git-and-tools/bitbucket-server-cli/default.nix−1

This diff is too big to show here.

pkgs/applications/version-management/git-and-tools/cgit/common.nix−77

This diff is too big to show here.

pkgs/applications/version-management/git-and-tools/cgit/default.nix+69−7

This diff is too big to show here.

pkgs/applications/version-management/git-and-tools/cgit/pink.nix−23

This diff is too big to show here.

pkgs/applications/version-management/git-and-tools/darcs-to-git/default.nix+4−5

This diff is too big to show here.

pkgs/applications/version-management/git-and-tools/delta/default.nix+3−3

This diff is too big to show here.

pkgs/applications/version-management/git-and-tools/gfold/default.nix−30

This diff is too big to show here.

pkgs/applications/version-management/git-and-tools/gg/default.nix+8−17

This diff is too big to show here.

pkgs/applications/version-management/git-and-tools/gg/skip-broken-revert-tests.patch+12

This diff is too big to show here.

pkgs/applications/version-management/git-and-tools/gh/default.nix+3−3

This diff is too big to show here.

pkgs/applications/version-management/git-and-tools/ghorg/default.nix+3−3

This diff is too big to show here.

pkgs/applications/version-management/git-and-tools/git-annex-remote-b2/default.nix+7−7

This diff is too big to show here.

pkgs/applications/version-management/git-and-tools/git-annex-utils/default.nix+1−3

This diff is too big to show here.

pkgs/applications/version-management/git-and-tools/git-branchless/default.nix+5−5

This diff is too big to show here.

pkgs/applications/version-management/git-and-tools/git-cliff/default.nix+3−3

This diff is too big to show here.

pkgs/applications/version-management/git-and-tools/git-cola/default.nix+2−2

This diff is too big to show here.

pkgs/applications/version-management/git-and-tools/git-crypt/default.nix+7−17

This diff is too big to show here.

pkgs/applications/version-management/git-and-tools/git-dit/default.nix+58

This diff is too big to show here.

pkgs/applications/version-management/git-and-tools/git-extras/default.nix+2−2

This diff is too big to show here.

pkgs/applications/version-management/git-and-tools/git-gone/default.nix+16−19

This diff is too big to show here.

pkgs/applications/version-management/git-and-tools/git-hub/default.nix+2−2

This diff is too big to show here.

pkgs/applications/version-management/git-and-tools/git-interactive-rebase-tool/default.nix+12−5

This diff is too big to show here.

pkgs/applications/version-management/git-and-tools/git-machete/default.nix+10−5

This diff is too big to show here.

pkgs/applications/version-management/git-and-tools/git-remote-hg/default.nix+2−2

This diff is too big to show here.

pkgs/applications/version-management/git-and-tools/git-secret/default.nix+6−3

This diff is too big to show here.

pkgs/applications/version-management/git-and-tools/git-team/default.nix−31

This diff is too big to show here.

pkgs/applications/version-management/git-and-tools/git-vendor/default.nix+2−2

This diff is too big to show here.

pkgs/applications/version-management/git-and-tools/git-workspace/default.nix+3−3

This diff is too big to show here.

pkgs/applications/version-management/git-and-tools/git/default.nix+18−27

This diff is too big to show here.

pkgs/applications/version-management/git-and-tools/gitbatch/default.nix+10−12

This diff is too big to show here.

pkgs/applications/version-management/git-and-tools/gitbatch/deps.nix+543

This diff is too big to show here.

pkgs/applications/version-management/git-and-tools/gitstatus/default.nix+2−2

This diff is too big to show here.

pkgs/applications/version-management/git-and-tools/gitstatus/romkatv_libgit2.nix+4−7

This diff is too big to show here.

pkgs/applications/version-management/git-and-tools/gitty/default.nix+3−3

This diff is too big to show here.

pkgs/applications/version-management/git-and-tools/gitui/default.nix+6−18

This diff is too big to show here.

pkgs/applications/version-management/git-and-tools/glab/default.nix+4−13

This diff is too big to show here.

pkgs/applications/version-management/git-and-tools/glitter/default.nix+3−3

This diff is too big to show here.

pkgs/applications/version-management/git-and-tools/grv/default.nix+1−1

This diff is too big to show here.

pkgs/applications/version-management/git-and-tools/hut/default.nix−40

This diff is too big to show here.

pkgs/applications/version-management/git-and-tools/lab/default.nix+3−3

This diff is too big to show here.

pkgs/applications/version-management/git-and-tools/lucky-commit/default.nix+3−3

This diff is too big to show here.

pkgs/applications/version-management/git-and-tools/pass-git-helper/default.nix+2−2

This diff is too big to show here.

pkgs/applications/version-management/git-and-tools/qgit/default.nix+2−2

This diff is too big to show here.

pkgs/applications/version-management/git-and-tools/scmpuff/default.nix+9−14

This diff is too big to show here.

pkgs/applications/version-management/git-and-tools/scmpuff/deps.nix+273

This diff is too big to show here.

pkgs/applications/version-management/git-and-tools/stgit/default.nix+2−2

This diff is too big to show here.

pkgs/applications/version-management/git-and-tools/subgit/default.nix+2−2

This diff is too big to show here.

pkgs/applications/version-management/git-and-tools/tig/default.nix+2−2

This diff is too big to show here.

pkgs/applications/version-management/git-crecord/default.nix+5−8

This diff is too big to show here.

pkgs/applications/version-management/git-lfs/default.nix+2−8

This diff is too big to show here.

pkgs/applications/version-management/git-repo/default.nix+2−2

This diff is too big to show here.

pkgs/applications/version-management/git-review/default.nix+8−4

This diff is too big to show here.

pkgs/applications/version-management/git-sizer/default.nix+6−15

This diff is too big to show here.

pkgs/applications/version-management/gitea/default.nix+3−3

This diff is too big to show here.

pkgs/applications/version-management/github-desktop/default.nix+2−2

This diff is too big to show here.

pkgs/applications/version-management/gitinspector/default.nix+26

This diff is too big to show here.

pkgs/applications/version-management/gitkraken/default.nix+6−11

This diff is too big to show here.

pkgs/applications/version-management/gitlab/data.json+8−8

This diff is too big to show here.

pkgs/applications/version-management/gitlab/default.nix+8−5

This diff is too big to show here.

pkgs/applications/version-management/gitlab/fix-grpc-ar.patch+10

This diff is too big to show here.

pkgs/applications/version-management/gitlab/gitaly/Gemfile+5−5

This diff is too big to show here.

pkgs/applications/version-management/gitlab/gitaly/Gemfile.lock+36−33

This diff is too big to show here.

pkgs/applications/version-management/gitlab/gitaly/default.nix+30−8

This diff is too big to show here.

pkgs/applications/version-management/gitlab/gitaly/gemset.nix+51−44

This diff is too big to show here.

pkgs/applications/version-management/gitlab/gitlab-shell/default.nix+4−4

This diff is too big to show here.

pkgs/applications/version-management/gitlab/gitlab-workhorse/default.nix+3−3

This diff is too big to show here.

pkgs/applications/version-management/gitlab/remove-hardcoded-locations.patch−10

This diff is too big to show here.

pkgs/applications/version-management/gitlab/rubyEnv/Gemfile+46−45

This diff is too big to show here.

pkgs/applications/version-management/gitlab/rubyEnv/Gemfile.lock+183−211

This diff is too big to show here.

pkgs/applications/version-management/gitlab/rubyEnv/gemset.nix+232−321

This diff is too big to show here.

pkgs/applications/version-management/gitless/default.nix+11−26

This diff is too big to show here.

pkgs/applications/version-management/gitoxide/default.nix+3−3

This diff is too big to show here.

pkgs/applications/version-management/gitqlient/default.nix−41

This diff is too big to show here.

pkgs/applications/version-management/gogs/default.nix+3−3

This diff is too big to show here.

pkgs/applications/version-management/got/default.nix+5−4

This diff is too big to show here.

pkgs/applications/version-management/jujutsu/default.nix−61

This diff is too big to show here.

pkgs/applications/version-management/meld/default.nix+2−13

This diff is too big to show here.

pkgs/applications/version-management/mercurial/default.nix+8−11

This diff is too big to show here.

pkgs/applications/version-management/monotone/default.nix−2

This diff is too big to show here.

pkgs/applications/version-management/monotone/default.upstream+8

This diff is too big to show here.

pkgs/applications/version-management/p4/default.nix+1−1

This diff is too big to show here.

pkgs/applications/version-management/pijul/default.nix+3−3

This diff is too big to show here.

pkgs/applications/version-management/rapidsvn/default.nix+2−2

This diff is too big to show here.

pkgs/applications/version-management/rcs/default.nix+4−6

This diff is too big to show here.

pkgs/applications/version-management/redmine/Gemfile+2−2

This diff is too big to show here.

pkgs/applications/version-management/redmine/Gemfile.lock+69−70

This diff is too big to show here.

pkgs/applications/version-management/redmine/default.nix+3−3

This diff is too big to show here.

pkgs/applications/version-management/redmine/gemset.nix+78−79

This diff is too big to show here.

pkgs/applications/version-management/redmine/update.sh−17

This diff is too big to show here.

pkgs/applications/version-management/smartgithg/default.nix+11−7

This diff is too big to show here.

pkgs/applications/version-management/sourcehut/builds.nix+2−2

This diff is too big to show here.

pkgs/applications/version-management/sourcehut/core.nix+2−2

This diff is too big to show here.

pkgs/applications/version-management/sourcehut/dispatch.nix+1−1

This diff is too big to show here.

pkgs/applications/version-management/sourcehut/git.nix+2−7

This diff is too big to show here.

pkgs/applications/version-management/sourcehut/hg.nix+2−2

This diff is too big to show here.

pkgs/applications/version-management/sourcehut/lists.nix+2−7

This diff is too big to show here.

pkgs/applications/version-management/sourcehut/man.nix+2−2

This diff is too big to show here.

pkgs/applications/version-management/sourcehut/meta.nix+3−3

This diff is too big to show here.

pkgs/applications/version-management/sourcehut/pages.nix+3−3

This diff is too big to show here.

pkgs/applications/version-management/sourcehut/patches/redis-socket/git/0001-Revert-Add-webhook-queue-monitoring.patch−50

This diff is too big to show here.

pkgs/applications/version-management/sourcehut/patches/redis-socket/lists/0001-Revert-Add-webhook-queue-monitoring.patch−48

This diff is too big to show here.

pkgs/applications/version-management/sourcehut/patches/redis-socket/todo/0001-Revert-Add-webhook-queue-monitoring.patch−50

This diff is too big to show here.

pkgs/applications/version-management/sourcehut/scm.nix+2−2

This diff is too big to show here.

pkgs/applications/version-management/sourcehut/todo.nix+2−7

This diff is too big to show here.

pkgs/applications/version-management/src/default.nix+7−21

This diff is too big to show here.

pkgs/applications/version-management/srcml/default.nix+2−2

This diff is too big to show here.

pkgs/applications/version-management/subversion/default.nix+10−5

This diff is too big to show here.

pkgs/applications/version-management/tailor/default.nix+2−2

This diff is too big to show here.

pkgs/applications/version-management/tkcvs/default.nix+28

This diff is too big to show here.

pkgs/applications/version-management/tkrev/default.nix−31

This diff is too big to show here.

pkgs/applications/version-management/tortoisehg/default.nix+41−55

This diff is too big to show here.

pkgs/applications/version-management/verco/default.nix+3−3

This diff is too big to show here.