From fec41754f13d2db6a440a2a29217f050a79ea35c Mon Sep 17 00:00:00 2001 From: Andreas Zweili Date: Fri, 1 Mar 2024 11:39:58 +0100 Subject: [PATCH] Enable flake support for nix repl --- home-manager/profiles/work-wsl.nix | 2 +- modules/misc/common/default.nix | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/home-manager/profiles/work-wsl.nix b/home-manager/profiles/work-wsl.nix index c720eb0..cca92ed 100644 --- a/home-manager/profiles/work-wsl.nix +++ b/home-manager/profiles/work-wsl.nix @@ -44,7 +44,7 @@ ]; connect-timeout = 5; log-lines = 25; - experimental-features = "nix-command flakes"; + experimental-features = "nix-command flakes repl-flake"; fallback = true; warn-dirty = false; substituters = [ diff --git a/modules/misc/common/default.nix b/modules/misc/common/default.nix index ec81044..57c9b1a 100644 --- a/modules/misc/common/default.nix +++ b/modules/misc/common/default.nix @@ -128,6 +128,7 @@ experimental-features = [ "nix-command" "flakes" + "repl-flake" ]; trusted-users = [ "root"