From b2351be8309fdc8e92fab62a51df766341e9bf4c Mon Sep 17 00:00:00 2001 From: SebastianStork Date: Fri, 16 Aug 2024 19:59:09 +0200 Subject: [PATCH] Disable nix channels --- hosts/common.nix | 27 ++++++++++++++++----------- 1 file changed, 16 insertions(+), 11 deletions(-) diff --git a/hosts/common.nix b/hosts/common.nix index 355e35f..e9fc9e5 100644 --- a/hosts/common.nix +++ b/hosts/common.nix @@ -5,17 +5,22 @@ self.wrappers.default ]; - nix.settings = { - experimental-features = [ - "nix-command" - "flakes" - ]; - auto-optimise-store = true; - warn-dirty = false; - trusted-users = [ - "root" - "@wheel" - ]; + nix = { + channel.enable = false; + registry.nixpkgs.flake = self.inputs.nixpkgs; + settings = { + flake-registry = ""; + experimental-features = [ + "nix-command" + "flakes" + ]; + auto-optimise-store = true; + warn-dirty = false; + trusted-users = [ + "root" + "@wheel" + ]; + }; }; time.timeZone = "Europe/Berlin";