From 887b681f55b3921e4a1d172288a53723228bf9ea Mon Sep 17 00:00:00 2001 From: nhnn Date: Wed, 18 Jun 2025 20:00:38 +0300 Subject: [PATCH] fix: switch to nix 2.26 so we can update to 25.05 without issues --- configuration.nix | 2 ++ flake.nix | 1 + 2 files changed, 3 insertions(+) diff --git a/configuration.nix b/configuration.nix index 8005c01..cf91b24 100644 --- a/configuration.nix +++ b/configuration.nix @@ -84,6 +84,8 @@ in services.do-agent.enable = if config.selfprivacy.server.provider == "DIGITALOCEAN" then true else false; + nix.package = pkgs.selfprivacy_nix_2_26; + boot.tmp.cleanOnBoot = true; networking = { hostName = config.selfprivacy.hostname; diff --git a/flake.nix b/flake.nix index 786a668..aad893c 100644 --- a/flake.nix +++ b/flake.nix @@ -41,6 +41,7 @@ kanidm kanidm-provision ; + selfprivacy_nix_2_26 = nixos-unstable.legacyPackages.${prev.system}.nixVersions.nix_2_26; }) ]; disabledModules = [ "services/security/kanidm.nix" ];