From 09b7862c23a3efb18f2b3cae7df5af8e6ece2573 Mon Sep 17 00:00:00 2001 From: Guanran Wang Date: Sun, 7 Jul 2024 21:40:43 +0800 Subject: [PATCH] nixos/nix: disable unwanted options --- nixos/profiles/common/core/nix/nix.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/nixos/profiles/common/core/nix/nix.nix b/nixos/profiles/common/core/nix/nix.nix index 27c5f8b..637d004 100644 --- a/nixos/profiles/common/core/nix/nix.nix +++ b/nixos/profiles/common/core/nix/nix.nix @@ -22,7 +22,12 @@ ]; trusted-users = ["@wheel"]; - experimental-features = ["auto-allocate-uids" "cgroups"]; + experimental-features = [ + "auto-allocate-uids" + "cgroups" + "no-url-literals" + ]; + allow-import-from-derivation = false; auto-allocate-uids = true; builders-use-substitutes = true; use-cgroups = true;