From 39431c2656434179c7ae88edd55782dd3f8daf60 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Tue, 8 Feb 2022 14:32:00 +0100 Subject: [PATCH] modules: system: nix: use structural 'settings' Instead of a stringly-typed `extraOptions`. --- modules/system/nix/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/system/nix/default.nix b/modules/system/nix/default.nix index 9b59f84..16db0b4 100644 --- a/modules/system/nix/default.nix +++ b/modules/system/nix/default.nix @@ -17,9 +17,9 @@ in nix = { package = pkgs.nixFlakes; - extraOptions = '' - experimental-features = nix-command flakes - ''; + settings = { + experimental-features = [ "nix-command" "flakes" ]; + }; }; }