···11+# `haredo` {#haredo-hook}
22+33+This hook uses [the `haredo` command runner](https://sr.ht/~autumnull/haredo/) to build, check, and install the package. It overrides `buildPhase`, `checkPhase`, and `installPhase` by default.
44+55+The hook builds its targets in parallel if [`config.enableParallelBuilding`](#var-stdenv-enableParallelBuilding) is set to `true`.
66+77+## `buildPhase` {#haredo-hook-buildPhase}
88+99+This phase attempts to build the default target.
1010+1111+[]{#haredo-hook-haredoBuildTargets} Targets can be explicitly set by adding a string to the `haredoBuildTargets` list.
1212+1313+[]{#haredo-hook-dontUseHaredoBuild} This behavior can be disabled by setting `dontUseHaredoBuild` to `true`.
1414+1515+## `checkPhase` {#haredo-hook-checkPhase}
1616+1717+This phase searches for the `check.do` or `test.do` targets, running them if they exist.
1818+1919+[]{#haredo-hook-haredoCheckTargets} Targets can be explicitly set by adding a string to the `haredoCheckTargets` list.
2020+2121+[]{#haredo-hook-dontUseHaredoCheck} This behavior can be disabled by setting `dontUseHaredoCheck` to `true`.
2222+2323+## `installPhase` {#haredo-hook-installPhase}
2424+2525+This phase attempts to build the `install.do` target, if it exists.
2626+2727+[]{#haredo-hook-haredoInstallTargets} Targets can be explicitly set by adding a string to the `haredoInstallTargets` list.
2828+2929+[]{#haredo-hook-dontUseHaredoInstall} This behavior can be disabled by setting `dontUseHaredoInstall` to `true`.
···496496 Retype new password: ***
497497 ```
498498499499+ If you have a user account declared in your `configuration.nix` and plan to log in using this user, set a password before rebooting, e.g. for the `alice` user:
500500+501501+ ```ShellSession
502502+ # nixos-enter --root /mnt -c 'passwd alice'
503503+ ```
504504+499505 ::: {.note}
500506 For unattended installations, it is possible to use
501507 `nixos-install --no-root-passwd` in order to disable the password
···515521 menu. This allows you to easily roll back to a previous
516522 configuration if something goes wrong.
517523518518- You should log in and change the `root` password with `passwd`.
524524+ Use your declared user account to log in.
525525+ If you didn’t declare one, you should still be able to log in using the `root` user.
519526520520- You'll probably want to create some user accounts as well, which can
521521- be done with `useradd`:
522522-523523- ```ShellSession
524524- $ useradd -c 'Eelco Dolstra' -m eelco
525525- $ passwd eelco
526526- ```
527527+ ::: {.note}
528528+ Some graphical display managers such as SDDM do not allow `root` login by default, so you might need to switch to TTY.
529529+ Refer to [](#sec-user-management) for details on declaring user accounts.
530530+ :::
527531528532 You may also want to install some software. This will be covered in
529533 [](#sec-package-management).
+2-2
nixos/modules/services/networking/firewall.nix
···186186 '';
187187 };
188188189189- lib.filterForward = lib.mkOption {
189189+ filterForward = lib.mkOption {
190190 type = lib.types.bool;
191191 default = false;
192192 description = ''
···263263264264 assertions = [
265265 {
266266- assertion = cfg.lib.filterForward -> config.networking.nftables.enable;
266266+ assertion = cfg.filterForward -> config.networking.nftables.enable;
267267 message = "filterForward only works with the nftables based firewall";
268268 }
269269 {
···11+#!/usr/bin/env nix-shell
22+#!nix-shell -i bash -p common-updater-scripts curl
33+# shellcheck shell=bash
44+55+set -eu -o pipefail
66+77+# The first valid version in the changelog should always be the latest version.
88+version="$(curl https://www.der-hammer.info/terminal/CHANGELOG.txt | grep -m1 -Po '[0-9]+\.[0-9]+\.[0-9]+')"
99+1010+function update_hash_for_system() {
1111+ local system="$1"
1212+ # Reset the version number so the second architecture update doesn't get ignored.
1313+ update-source-version hterm 0 "sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" --system="$system"
1414+ update-source-version hterm "$version" --system="$system"
1515+}
1616+1717+update_hash_for_system x86_64-linux
1818+update_hash_for_system i686-linux
···2525 # However, the version string is more useful for end-users.
2626 # These are contained in a attrset of their own to make it obvious that
2727 # people should update both.
2828- version = "1.31.0";
2929- rev = "7b8baff1758f0a584dcc3cb657b5032000bcb3d7";
3030- hash = "sha256-pKERyXABcpMpKMRRvqJavp2jYGXTxwFLDPERqDT6jnY=";
2828+ version = "1.31.1";
2929+ rev = "1f44388cee449c9dae8ae34c0b4f09036bcbf560";
3030+ hash = "sha256-XvlF3hMS2PH87HgFwKoFzxHDYgRjZmxn02L1aLwYOrY=";
3131 };
32323333 # these need to be updated for any changes to fetchAttrs
3434 depsHash =
3535 {
3636- x86_64-linux = "sha256-33yu2oxP2zgKs01qn6RIyZx6zHJ1NuCNxolgk0/uWpM=";
3737- aarch64-linux = "sha256-ox7CJPqNbwucMDORQvx8SFs4oXR/WKixwJ6uK+l4NJc=";
3636+ x86_64-linux = "sha256-9KXZdSvRfi5mWOSotG//+ljsx64I4bYwzbeQFuCIwDE=";
3737+ aarch64-linux = "sha256-knrCfUYUL+bYuHSNrNeX3SwoGDf2rLYNXuukEmj4BjA=";
3838 }
3939 .${stdenv.system} or (throw "unsupported system ${stdenv.system}");
4040in
···138138 atomPackages = throw "'atomPackages' has been removed because 'atom' is discontinued and deprecated. Consider using 'pulsar', a maintained fork"; # Added 2023-10-01
139139 audaciousQt5 = throw "'audaciousQt5' has been removed, since audacious is built with Qt 6 now"; # Added 2024-07-06
140140 auditBlasHook = throw "'auditBlasHook' has been removed since it never worked"; # Added 2024-04-02
141141+ aumix = throw "'aumix' has been removed due to lack of maintenance upstream. Consider using 'pamixer' for CLI or 'pavucontrol' for GUI"; # Added 2024-09-14
141142 authy = throw "'authy' has been removed since it reached end of life"; # Added 2024-04-19
142143 avldrums-lv2 = x42-avldrums; # Added 2020-03-29
143144 avrlibcCross = avrlibc; # Added 2024-09-06
···527528 gfortran48 = throw "'gfortran48' has been removed from nixpkgs"; # Added 2024-09-10
528529 gfortran49 = throw "'gfortran49' has been removed from nixpkgs"; # Added 2024-09-11
529530 ghostwriter = libsForQt5.kdeGear.ghostwriter; # Added 2023-03-18
531531+ gmpc = throw "'gmpc' has been removed due to lack of maintenance upstream. Consider using 'plattenalbum' instead"; # Added 2024-09-14
532532+ gmtk = throw "'gmtk' has been removed due to lack of maintenance upstream"; # Added 2024-09-14
533533+ gmtp = throw "'gmtp' has been removed due to lack of maintenance upstream. Consider using 'gnome-music' instead"; # Added 2024-09-14
530534 go-dependency-manager = throw "'go-dependency-manager' is unmaintained and the go community now uses 'go.mod' mostly instead"; # Added 2023-10-04
531535 gotktrix = throw "'gotktrix' has been removed, as it was broken and unmaintained"; # Added 2023-12-06
532536 git-backup = throw "git-backup has been removed, as it has been abandoned upstream. Consider using git-backup-go instead.";
···569573 gnatcoll-xref = gnatPackages.gnatcoll-xref; # Added 2024-02-25
570574 gnatcoll-db2ada = gnatPackages.gnatcoll-db2ada; # Added 2024-02-25
571575 gnatinspect = gnatPackages.gnatinspect; # Added 2024-02-25
576576+ gnome-dictionary = throw "'gnome-dictionary' has been removed as it has been archived upstream. Consider using 'wordbook' instead"; # Added 2024-09-14
572577 gnome-firmware-updater = gnome-firmware; # added 2022-04-14
578578+ gnome-hexgl = throw "'gnome-hexgl' has been removed due to lack of maintenance upstream"; # Added 2024-09-14
573579 gnome-passwordsafe = gnome-secrets; # added 2022-01-30
580580+ gnome_mplayer = throw "'gnome_mplayer' has been removed due to lack of maintenance upstream. Consider using 'celluloid' instead"; # Added 2024-09-14
574581 gnome-mpv = throw "'gnome-mpv' has been renamed to/replaced by 'celluloid'"; # Converted to throw 2023-09-10
575582 gnome-resources = resources; # added 2023-12-10
576583 gnome_user_docs = throw "'gnome_user_docs' has been renamed to/replaced by 'gnome-user-docs'"; # Converted to throw 2023-09-10
···647654 grub = throw "grub1 was removed after not being maintained upstream for a decade. Please switch to another bootloader"; # Added 2023-04-11
648655 gtetrinet = throw "'gtetrinet' has been removed because it depends on GNOME 2 libraries"; # Added 2024-06-27
649656 gtkcord4 = dissent; # Added 2024-03-10
657657+ gtkperf = throw "'gtkperf' has been removed due to lack of maintenance upstream"; # Added 2024-09-14
650658 gtkpod = throw "'gtkpod' was removed due to one of its dependencies, 'anjuta' being unmaintained"; # Added 2024-01-16
651659 guardian-agent = throw "'guardian-agent' has been removed, as it hasn't been maintained upstream in years and accumulated many vulnerabilities"; # Added 2024-06-09
652660 guile-disarchive = disarchive; # Added 2023-10-27
···770778771779 ### L ###
772780781781+ l3afpad = throw "'l3afpad' has been removed due to lack of maintenance upstream. Consider using 'xfce.mousepad' instead"; # Added 2024-09-14
773782 larynx = piper-tts; # Added 2023-05-09
774783 LASzip = laszip; # Added 2024-06-12
775784 LASzip2 = laszip_2; # Added 2024-06-12
···861870 linuxPackages_6_8 = linuxKernel.packages.linux_6_8;
862871 linuxPackages_6_9 = linuxKernel.packages.linux_6_9;
863872 linuxPackages_6_10 = linuxKernel.packages.linux_6_10;
873873+ linuxPackages_6_11 = linuxKernel.packages.linux_6_11;
864874 linuxPackages_rpi0 = linuxKernel.packages.linux_rpi1;
865875 linuxPackages_rpi02w = linuxKernel.packages.linux_rpi3;
866876 linuxPackages_rpi1 = linuxKernel.packages.linux_rpi1;
···890900 linux_6_8 = linuxKernel.kernels.linux_6_8;
891901 linux_6_9 = linuxKernel.kernels.linux_6_9;
892902 linux_6_10 = linuxKernel.kernels.linux_6_10;
903903+ linux_6_11 = linuxKernel.kernels.linux_6_11;
893904 linux_rpi0 = linuxKernel.kernels.linux_rpi1;
894905 linux_rpi02w = linuxKernel.kernels.linux_rpi3;
895906 linux_rpi1 = linuxKernel.kernels.linux_rpi1;
···985996 mdt = md-tui; # Added 2024-09-03
986997 meme = meme-image-generator; # Added 2021-04-21
987998 mess = throw "'mess' has been renamed to/replaced by 'mame'"; # Converted to throw 2023-09-10
999999+ mhwaveedit = throw "'mkwaveedit' has been removed due to lack of maintenance upstream. Consider using 'audacity' or 'tenacity' instead";
9881000 microcodeAmd = microcode-amd; # Added 2024-09-08
9891001 microcodeIntel = microcode-intel; # Added 2024-09-08
9901002 microsoft_gsl = microsoft-gsl; # Added 2023-05-26
···10231035 moz-phab = mozphab; # Added 2022-08-09
10241036 mozart-binary = throw "'mozart-binary' has been renamed to/replaced by 'mozart2-binary'"; # Converted to throw 2023-09-10
10251037 mozart = throw "'mozart' has been renamed to/replaced by 'mozart2-binary'"; # Converted to throw 2023-09-10
10381038+ mp3info = throw "'mp3info' has been removed due to lack of maintenance upstream. Consider using 'eartag' or 'tagger' instead"; # Added 2024-09-14
10261039 mpc_cli = mpc-cli; # moved from top-level 2022-01-24
10271040 mpd_clientlib = libmpdclient; # Added 2021-02-11
10281041 mpdevil = plattenalbum; # Added 2024-05-22
···12841297 protonup = protonup-ng; # Added 2022-11-06
12851298 proxmark3-rrg = proxmark3; # Added 2023-07-25
12861299 proxmark3-unstable = throw "removed in favor of rfidresearchgroup fork"; # Added 2023-07-25
13001300+ psensor = throw "'psensor' has been removed due to lack of maintenance upstream. Consider using 'mission-center', 'resources' or 'monitorets' instead"; # Added 2024-09-14
12871301 pyls-black = throw "pyls-black has been removed from nixpkgs. Use python-lsp-black instead."; # Added 2023-01-09
12881302 pyls-mypy = throw "pyls-mypy has been removed from nixpkgs. Use pylsp-mypy instead."; # Added 2023-01-09
12891303 pygmentex = throw "'pygmentex' has been renamed to/replaced by 'texlive.bin.pygmentex'"; # Converted to throw 2023-09-10
···16121626 vikunja-frontend = throw "'vikunja-frontend' has been replaced by 'vikunja'"; # Added 2024-02-19
16131627 vimHugeX = vim-full; # Added 2022-12-04
16141628 vim_configurable = vim-full; # Added 2022-12-04
16291629+ vinagre = throw "'vinagre' has been removed as it has been archived upstream. Consider using 'gnome-connections' or 'remmina' instead"; # Added 2024-09-14
16151630 vinegar = throw "'vinegar' was removed due to being blocked by Roblox, rendering the package useless"; # Added 2024-08-23
16161631 virtmanager = throw "'virtmanager' has been renamed to/replaced by 'virt-manager'"; # Converted to throw 2023-09-10
16171632 virtmanager-qt = throw "'virtmanager-qt' has been renamed to/replaced by 'virt-manager-qt'"; # Converted to throw 2023-09-10
···16751690 xmlada = gnatPackages.xmlada; # Added 2024-02-25
16761691 xmr-stak = throw "xmr-stak has been removed from nixpkgs because it was broken"; # Added 2024-07-15
16771692 xonsh-unwrapped = python3Packages.xonsh; # Added 2024-06-18
16931693+ xprite-editor = throw "'xprite-editor' has been removed due to lack of maintenance upstream. Consider using 'pablodraw' or 'aseprite' instead"; # Added 2024-09-14
16781694 xtrt = throw "xtrt has been removed due to being abandoned"; # Added 2023-05-25
16791695 xulrunner = firefox-unwrapped; # Added 2023-11-03
16801696 xvfb_run = xvfb-run; # Added 2021-05-07
···194194 ];
195195 };
196196197197+ linux_6_11 = callPackage ../os-specific/linux/kernel/mainline.nix {
198198+ branch = "6.11";
199199+ kernelPatches = [
200200+ kernelPatches.bridge_stp_helper
201201+ kernelPatches.request_key_helper
202202+ ];
203203+ };
204204+197205 linux_testing = let
198206 testing = callPackage ../os-specific/linux/kernel/mainline.nix {
199207 # A special branch that tracks the kernel under the release process
···629637 linux_6_1 = recurseIntoAttrs (packagesFor kernels.linux_6_1);
630638 linux_6_6 = recurseIntoAttrs (packagesFor kernels.linux_6_6);
631639 linux_6_10 = recurseIntoAttrs (packagesFor kernels.linux_6_10);
640640+ linux_6_11 = recurseIntoAttrs (packagesFor kernels.linux_6_11);
632641 } // lib.optionalAttrs config.allowAliases {
633642 linux_4_9 = throw "linux 4.9 was removed because it will reach its end of life within 22.11"; # Added 2022-11-08
634643 linux_4_14 = throw "linux 4.14 was removed because it will reach its end of life within 23.11"; # Added 2023-10-11
···697706 packageAliases = {
698707 linux_default = packages.linux_6_6;
699708 # Update this when adding the newest kernel major version!
700700- linux_latest = packages.linux_6_10;
709709+ linux_latest = packages.linux_6_11;
701710 linux_mptcp = throw "'linux_mptcp' has been moved to https://github.com/teto/mptcp-flake";
702711 linux_rt_default = packages.linux_rt_5_15;
703712 linux_rt_latest = packages.linux_rt_6_6;