From 98c5dc0992dbc362962a8f3789e761e72a446fd0 Mon Sep 17 00:00:00 2001 From: Christoph Cullmann Date: Sat, 20 May 2023 16:18:12 +0200 Subject: [PATCH] enable some experimental stuff --- common.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/common.nix b/common.nix index 0a903e2..6fc6745 100644 --- a/common.nix +++ b/common.nix @@ -223,6 +223,10 @@ in max-jobs = 1; cores = 4; }; + + # we want some experimental features like nix search + package = pkgs.nixFlakes; + extraOptions = pkgs.lib.optionalString (config.nix.package == pkgs.nixFlakes) "experimental-features = nix-command flakes"; }; # avoid suspend ever to be triggered