From fadfea82155b3fdf1ffbe764f9b39cab2f9707d0 Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Sat, 6 Apr 2024 10:55:46 +0800 Subject: [PATCH] modules: disable flake registry in Nix settings Now we'll see what flakes are doing it properly. --- modules/home-manager/profiles/nix-conf.nix | 1 + modules/nixos/profiles/nix-conf.nix | 1 + 2 files changed, 2 insertions(+) diff --git a/modules/home-manager/profiles/nix-conf.nix b/modules/home-manager/profiles/nix-conf.nix index 6792ea63..c4751fb0 100644 --- a/modules/home-manager/profiles/nix-conf.nix +++ b/modules/home-manager/profiles/nix-conf.nix @@ -23,6 +23,7 @@ # UX of Nix CLI is becoming closer to Guix's which is a nice bonus. experimental-features = [ "nix-command" "flakes" "repl-flake" ]; auto-optimise-store = lib.mkDefault true; + flake-registry = ""; }; # Stallman-senpai will be disappointed. diff --git a/modules/nixos/profiles/nix-conf.nix b/modules/nixos/profiles/nix-conf.nix index 6792ea63..c4751fb0 100644 --- a/modules/nixos/profiles/nix-conf.nix +++ b/modules/nixos/profiles/nix-conf.nix @@ -23,6 +23,7 @@ # UX of Nix CLI is becoming closer to Guix's which is a nice bonus. experimental-features = [ "nix-command" "flakes" "repl-flake" ]; auto-optimise-store = lib.mkDefault true; + flake-registry = ""; }; # Stallman-senpai will be disappointed.