From c3469efba30a518725c38eafbb6633c97cbbf23d Mon Sep 17 00:00:00 2001 From: Zoe Roux Date: Thu, 1 May 2025 23:44:55 +0200 Subject: [PATCH] Kill channels --- modules/cli/nix/nix.nix | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/modules/cli/nix/nix.nix b/modules/cli/nix/nix.nix index 133da7d..38aada7 100644 --- a/modules/cli/nix/nix.nix +++ b/modules/cli/nix/nix.nix @@ -1,20 +1,7 @@ -{ - pkgs, - lib, - inputs, - config, - ... -}: { +{pkgs, ...}: { nix = { - # This will add each flake input as a registry - # To make nix3 commands consistent with your flake - registry = lib.mapAttrs (_: value: {flake = value;}) inputs; - - # This will additionally add your inputs to the system's legacy channels - # Making legacy nix commands consistent as well, awesome! - nixPath = lib.mapAttrsToList (key: value: "${key}=${value.to.path}") config.nix.registry; - optimise.automatic = true; + channel.enable = false; settings = { warn-dirty = false; experimental-features = ["nix-command" "flakes"];