From 6e3c6f85095a99bd77f879e4e7646c741accab33 Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Wed, 20 Dec 2023 10:41:39 +0800 Subject: [PATCH] config: disable Nix channel tools by default --- flake.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/flake.nix b/flake.nix index 21c9df99..205844b7 100644 --- a/flake.nix +++ b/flake.nix @@ -188,6 +188,10 @@ "time.cloudflare.com" ] ++ options.networking.timeServers.default; + # Disable channel state files. This shouldn't break any existing + # programs as long as we manage them NIX_PATH ourselves. + nix.channel.enable = lib.mkDefault false; + # Set several paths for the traditional channels. nix.nixPath = lib.mapAttrsToList