Pin nix version and fix nixos-option

This commit is contained in:
Vili Sinervä 2024-09-09 12:49:29 +03:00
parent fcdb9e3dbb
commit 43c28cb552
No known key found for this signature in database
GPG key ID: DF8FEAF54EFAC996

View file

@ -131,7 +131,7 @@
};
nix = {
package = pkgs.nixVersions.latest;
package = pkgs.nixVersions.nix_2_20;
settings = {
auto-optimise-store = true;
tarball-ttl = 0;
@ -144,6 +144,9 @@
randomizedDelaySec = "30min";
};
};
nixpkgs.overlays = [
(final: prev: { nixos-option = prev.nixos-option.override { nix = pkgs.nixVersions.nix_2_20; }; })
];
# Define systemd template unit for reporting status via ntfy
systemd.services =