···10101111- `screen`'s module has been cleaned, and will now require you to set `programs.screen.enable` in order to populate `screenrc` and add the program to the environment.
12121313-- `linuxPackages_testing_bcachefs` is now fully deprecated by `linuxPackages_testing`, and is therefore no longer available.
1313+- `linuxPackages_testing_bcachefs` is now fully deprecated by `linuxPackages_latest`, and is therefore no longer available.
14141515- NixOS now installs a stub ELF loader that prints an informative error message when users attempt to run binaries not made for NixOS.
1616 - This can be disabled through the `environment.stub-ld.enable` option.
···8686# Function for waiting for device(s) to appear.
8787waitDevice() {
8888 local device="$1"
8989- # Split device string using ':' as a delimiter as bcachefs
9090- # uses this for multi-device filesystems, i.e. /dev/sda1:/dev/sda2:/dev/sda3
9191- local IFS=':'
8989+ # Split device string using ':' as a delimiter, bcachefs uses
9090+ # this for multi-device filesystems, i.e. /dev/sda1:/dev/sda2:/dev/sda3
9191+ local IFS
9292+9393+ # bcachefs is the only known use for this at the moment
9494+ # Preferably, the 'UUID=' syntax should be enforced, but
9595+ # this is kept for compatibility reasons
9696+ if [ "$fsType" = bcachefs ]; then IFS=':'; fi
92979398 # USB storage devices tend to appear with some delay. It would be
9499 # great if we had a way to synchronously wait for them, but
+7-2
nixos/modules/tasks/filesystems/bcachefs.nix
···123123 inherit assertions;
124124 # needed for systemd-remount-fs
125125 system.fsPackages = [ pkgs.bcachefs-tools ];
126126- # FIXME: Remove this line when the default kernel has bcachefs
126126+ # FIXME: Remove this line when the LTS (default) kernel is at least version 6.7
127127 boot.kernelPackages = lib.mkDefault pkgs.linuxPackages_latest;
128128- systemd.services = lib.mapAttrs' (mkUnits "") (lib.filterAttrs (n: fs: (fs.fsType == "bcachefs") && (!utils.fsNeededForBoot fs)) config.fileSystems);
128128+ services.udev.packages = [ pkgs.bcachefs-tools ];
129129+130130+ systemd = {
131131+ packages = [ pkgs.bcachefs-tools ];
132132+ services = lib.mapAttrs' (mkUnits "") (lib.filterAttrs (n: fs: (fs.fsType == "bcachefs") && (!utils.fsNeededForBoot fs)) config.fileSystems);
133133+ };
129134 }
130135131136 (lib.mkIf ((lib.elem "bcachefs" config.boot.initrd.supportedFilesystems) || (bootFs != {})) {
···616616 '';
617617 linux_latest_hardened = linuxPackages_latest_hardened;
618618619619- # Added 2023-11-18
620620- linuxPackages_testing_bcachefs = throw "'linuxPackages_testing_bcachefs' has been removed, please use 'linuxPackages_testing', or any other linux kernel with bcachefs support";
621621- linux_testing_bcachefs = throw "'linux_testing_bcachefs' has been removed, please use 'linux_testing', or any other linux kernel with bcachefs support";
619619+ # Added 2023-11-18, modified 2024-01-09
620620+ linuxPackages_testing_bcachefs = throw "'linuxPackages_testing_bcachefs' has been removed, please use 'linuxPackages_latest', any kernel version at least 6.7, or any other linux kernel with bcachefs support";
621621+ linux_testing_bcachefs = throw "'linux_testing_bcachefs' has been removed, please use 'linux_latest', any kernel version at least 6.7, or any other linux kernel with bcachefs support";
622622623623 lld_6 = throw "lld_6 has been removed from nixpkgs"; # Added 2024-01-08
624624 lld_7 = throw "lld_7 has been removed from nixpkgs"; # Added 2023-11-19