nixpkgs: Refresh pins and flake inputs
Move all four channels and both home-manager inputs to the rebased fork and current channels, and refresh the other moving inputs. Bump the latest kernel to 7.3 and the release metadata to 26.11. Follow upstream removals: pin `colony-psql` (PostgreSQL 14) to `mine-stable` until the PostgreSQL 18 migration that follows, and `spoder` (Nextcloud 32) until its own migration, and take MinIO for `object` from `mine-stable` through a compatibility import. Replace Gitea's removed `DOMAIN` with `SSH_DOMAIN`, let `determinate-nix` pick its own nixpkgs, and drop the nginx bump now that every pin ships fixed releases. Move Frigate's recording retention to the `record.continuous` layout, since 0.18 rejects `record.retain`. Pass the borgbackup wrapper flags as separate arguments now that the package uses structured attributes. Stop `britway`'s mesh link gating `network-online.target`: systemd 262 holds it in configuring until `tailscale0` exists for its policy rule, and tailscaled only starts once the network is online. Keep the SCTP module block: no kernel in use carries the NGINX2Root SCTP fix yet. Record the checks `kelder` missed while out of service on its page. Notable upgrades: - Kernels: 6.18.64 LTS and 7.3.5 latest. - Gitea 1.27.2 -> 28.3.0, with schema migrations. - Home Assistant 2026.8.2 -> 2026.11.2 and Frigate 0.17.2 -> 0.18.3. - Jellyfin 10.11.11 -> 12.4, Radarr 6.1 -> 7.0.3 and Sonarr 4.0.17 -> 5.0.0 (a prerelease), each migrating its database. - HedgeDoc 1.11.1 -> 1.12.0, mautrix-whatsapp 26.08 -> 26.11, Vaultwarden 1.37.1 -> 1.37.5, Seerr 3.3.0 -> 3.5.2. - Headscale 0.29.3 -> 0.29.7, BIRD 2.19.2 -> 2.20.0 and Tuwunel 1.8.3 -> 1.9.4. - nginx 1.30.7 and 1.31.9 from the channels, with the NGINX2Root fixes. - `determinate-nix` 3.22.2 -> 3.24.3, `harmonia` 3.2.0 -> 3.3.0, `deploy-rs` 1.0.0, `copyparty` 1.20.21 -> 1.20.26, and `llm-agents` with Codex 0.170.0 and Claude Code 2.1.330. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
a3d4918095
commit
31b5e3b608
18 files changed
+274
-194
No files matched your search
+32
-29
@@ -1,8 +1,8 @@
|
||||
{ lib, pkgs, options, config, ... }:
|
||||
{ lib, pkgs, pkgsFlake, options, config, ... }:
|
||||
let
|
||||
inherit (lib)
|
||||
optionalString concatStringsSep concatMap concatMapStringsSep mkIf mkDefault mkMerge mkForce mkVMOverride
|
||||
mkAliasDefinitions mapAttrsToList filterAttrs;
|
||||
mkAliasDefinitions mapAttrsToList filterAttrs optionalAttrs versionOlder;
|
||||
inherit (lib.my) mkOpt' mkBoolOpt' mkVMOverride';
|
||||
|
||||
cfg = config.my.tmproot;
|
||||
@@ -232,33 +232,36 @@ in
|
||||
}
|
||||
];
|
||||
|
||||
# Catch non-existent source directories that are needed for boot (see `pathsNeededForBoot` in
|
||||
# nixos/lib/util.nix). We do this by monkey-patching the `waitDevice` function that would otherwise hang.
|
||||
# Seems like systemd initrd doesn't care because it uses the systemd.mount units
|
||||
# ("If this mount is a bind mount and the specified path does not exist yet it is created as directory.")
|
||||
boot.initrd.postDeviceCommands = mkIf (!config.boot.initrd.systemd.enable) ''
|
||||
ensurePersistSource() {
|
||||
[ -e "/mnt-root$1" ] && return
|
||||
echo "Persistent source directory $1 does not exist, creating..."
|
||||
install -dm "$2" "/mnt-root$1" || fail
|
||||
}
|
||||
# TODO: Remove when 26.11 is stable. Newer NixOS has no scripted initrd.
|
||||
boot = optionalAttrs (versionOlder pkgsFlake.lib.trivial.release "26.11") {
|
||||
# Catch non-existent source directories that are needed for boot (see `pathsNeededForBoot` in
|
||||
# nixos/lib/util.nix). We do this by monkey-patching the `waitDevice` function that would otherwise hang.
|
||||
# Seems like systemd initrd doesn't care because it uses the systemd.mount units
|
||||
# ("If this mount is a bind mount and the specified path does not exist yet it is created as directory.")
|
||||
initrd.postDeviceCommands = mkIf (!config.boot.initrd.systemd.enable) ''
|
||||
ensurePersistSource() {
|
||||
[ -e "/mnt-root$1" ] && return
|
||||
echo "Persistent source directory $1 does not exist, creating..."
|
||||
install -dm "$2" "/mnt-root$1" || fail
|
||||
}
|
||||
|
||||
_waitDevice() {
|
||||
local device="$1"
|
||||
_waitDevice() {
|
||||
local device="$1"
|
||||
|
||||
${concatMapStringsSep " || \\\n " (d:
|
||||
let
|
||||
sourceDir = "${d.persistentStoragePath}${d.directory}";
|
||||
in
|
||||
''([ "$device" = "/mnt-root${sourceDir}" ] && ensurePersistSource "${sourceDir}" "${d.mode}")'')
|
||||
cfg.persistence.config.directories}
|
||||
${concatMapStringsSep " || \\\n " (d:
|
||||
let
|
||||
sourceDir = "${d.persistentStoragePath}${d.directory}";
|
||||
in
|
||||
''([ "$device" = "/mnt-root${sourceDir}" ] && ensurePersistSource "${sourceDir}" "${d.mode}")'')
|
||||
cfg.persistence.config.directories}
|
||||
|
||||
waitDevice "$@"
|
||||
}
|
||||
waitDevice "$@"
|
||||
}
|
||||
|
||||
type waitDevice > /dev/null || (echo "waitDevice is missing!"; fail)
|
||||
alias waitDevice=_waitDevice
|
||||
'';
|
||||
type waitDevice > /dev/null || (echo "waitDevice is missing!"; fail)
|
||||
alias waitDevice=_waitDevice
|
||||
'';
|
||||
};
|
||||
|
||||
environment.persistence."${cfg.persistence.dir}" = mkAliasDefinitions options.my.tmproot.persistence.config;
|
||||
|
||||
@@ -347,7 +350,7 @@ in
|
||||
}
|
||||
];
|
||||
})
|
||||
(mkIf config.services.minio.enable {
|
||||
(mkIf (((options.services.minio or { }) ? enable) && config.services.minio.enable) {
|
||||
my.tmproot.persistence.config.directories = [
|
||||
{
|
||||
directory = config.services.minio.configDir;
|
||||
@@ -546,9 +549,9 @@ in
|
||||
|
||||
services.borgbackup.package = pkgs.borgbackup.overrideAttrs (o: {
|
||||
makeWrapperArgs = o.makeWrapperArgs ++ [
|
||||
"--set-default BORG_BASE_DIR /var/lib/borgbackup"
|
||||
"--set-default BORG_CONFIG_DIR /var/lib/borgbackup/config"
|
||||
"--set-default BORG_CACHE_DIR /var/cache/borgbackup"
|
||||
"--set-default" "BORG_BASE_DIR" "/var/lib/borgbackup"
|
||||
"--set-default" "BORG_CONFIG_DIR" "/var/lib/borgbackup/config"
|
||||
"--set-default" "BORG_CACHE_DIR" "/var/cache/borgbackup"
|
||||
];
|
||||
});
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user