modules: update comments

This commit is contained in:
Gabriel Arazas 2024-07-09 23:20:29 +08:00
parent b33f9cf963
commit d24209cdcb
No known key found for this signature in database
GPG Key ID: 62104B43D00AA360
3 changed files with 6 additions and 1 deletions

View File

@ -24,6 +24,8 @@
[ "nix-command" "flakes" ] [ "nix-command" "flakes" ]
++ lib.optionals (lib.versionOlder config.nix.package.version "2.22.0") [ "repl-flake" ]; ++ lib.optionals (lib.versionOlder config.nix.package.version "2.22.0") [ "repl-flake" ];
auto-optimise-store = lib.mkDefault true; auto-optimise-store = lib.mkDefault true;
# We don't want to download every time we invoke Nix, seriously. Thanks.
flake-registry = ""; flake-registry = "";
}; };

View File

@ -1,5 +1,6 @@
# A dedicated profile for installers with some niceties in it. This is also # 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, ... }: { pkgs, modulesPath, ... }:
{ {

View File

@ -24,6 +24,8 @@
[ "nix-command" "flakes" ] [ "nix-command" "flakes" ]
++ lib.optionals (lib.versionOlder config.nix.package.version "2.22.0") [ "repl-flake" ]; ++ lib.optionals (lib.versionOlder config.nix.package.version "2.22.0") [ "repl-flake" ];
auto-optimise-store = lib.mkDefault true; auto-optimise-store = lib.mkDefault true;
# We don't want to download every time we invoke Nix, seriously. Thanks.
flake-registry = ""; flake-registry = "";
}; };