From 67ce35d66dcb6ce320b656f061a88c9559abd2ce Mon Sep 17 00:00:00 2001 From: electria Date: Fri, 11 Sep 2026 17:35:10 -0700 Subject: [PATCH] nix: fix incorrect for nix.settings.experimental-features else with latest nixos-unstable I get this error: A definition for option `nix.settings.experimental-features' is not of type `list of string'. --- defaults/nix.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/defaults/nix.nix b/defaults/nix.nix index d6e87a6..55a0e70 100644 --- a/defaults/nix.nix +++ b/defaults/nix.nix @@ -16,7 +16,11 @@ in config = lib.mkIf cfg.enable { # enable useful nix tools, and the flakes system - nix.settings.experimental-features = "nix-command flakes"; + nix.settings.experimental-features = [ + "nix-command" + "flakes" + ]; + # you (should) never need this nix.channel.enable = false;