From e458627749404413671b1bdfe068bfc25ba69488 Mon Sep 17 00:00:00 2001 From: Guanran Wang Date: Wed, 5 Jun 2024 17:51:12 +0800 Subject: [PATCH] nixos: use switchNg --- nixos/profiles/common/core/nix/nix.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/nixos/profiles/common/core/nix/nix.nix b/nixos/profiles/common/core/nix/nix.nix index 590803f..62cee5a 100644 --- a/nixos/profiles/common/core/nix/nix.nix +++ b/nixos/profiles/common/core/nix/nix.nix @@ -40,4 +40,11 @@ info.enable = false; nixos.enable = false; }; + + # https://github.com/NixOS/nixpkgs/pull/308801 + # nixos/switch-to-configuration: add new implementation + system.switch = { + enable = false; + enableNg = true; + }; }