From d24209cdcbd686cda3846fbf050155afda847bd8 Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Tue, 9 Jul 2024 23:20:29 +0800 Subject: [PATCH] modules: update comments --- modules/home-manager/profiles/nix-conf.nix | 2 ++ modules/nixos/profiles/installer.nix | 3 ++- modules/nixos/profiles/nix-conf.nix | 2 ++ 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/modules/home-manager/profiles/nix-conf.nix b/modules/home-manager/profiles/nix-conf.nix index e0d4b339..79e1bea2 100644 --- a/modules/home-manager/profiles/nix-conf.nix +++ b/modules/home-manager/profiles/nix-conf.nix @@ -24,6 +24,8 @@ [ "nix-command" "flakes" ] ++ lib.optionals (lib.versionOlder config.nix.package.version "2.22.0") [ "repl-flake" ]; auto-optimise-store = lib.mkDefault true; + + # We don't want to download every time we invoke Nix, seriously. Thanks. flake-registry = ""; }; diff --git a/modules/nixos/profiles/installer.nix b/modules/nixos/profiles/installer.nix index 5e7e8b7d..a166347b 100644 --- a/modules/nixos/profiles/installer.nix +++ b/modules/nixos/profiles/installer.nix @@ -1,5 +1,6 @@ # A dedicated profile for installers with some niceties in it. This is also -# used for persistent live installers. +# used for persistent live installers so you'll have to exclude setting up shop +# and do that in the respective NixOS configuration instead. { pkgs, modulesPath, ... }: { diff --git a/modules/nixos/profiles/nix-conf.nix b/modules/nixos/profiles/nix-conf.nix index e0d4b339..79e1bea2 100644 --- a/modules/nixos/profiles/nix-conf.nix +++ b/modules/nixos/profiles/nix-conf.nix @@ -24,6 +24,8 @@ [ "nix-command" "flakes" ] ++ lib.optionals (lib.versionOlder config.nix.package.version "2.22.0") [ "repl-flake" ]; auto-optimise-store = lib.mkDefault true; + + # We don't want to download every time we invoke Nix, seriously. Thanks. flake-registry = ""; };