mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-07 12:19:07 +00:00
modules: update shared Nix config profile
This commit is contained in:
parent
b325840b4a
commit
20c0549706
@ -1,5 +1,4 @@
|
||||
{ lib, pkgs, ... }: {
|
||||
|
||||
{ config, lib, pkgs, ... }: {
|
||||
# Set the package for generating the configuration.
|
||||
nix.package = lib.mkDefault pkgs.nixStable;
|
||||
|
||||
@ -21,7 +20,9 @@
|
||||
#
|
||||
# Since we're using flakes to make this possible, we need it. Plus, the
|
||||
# UX of Nix CLI is becoming closer to Guix's which is a nice bonus.
|
||||
experimental-features = [ "nix-command" "flakes" "repl-flake" ];
|
||||
experimental-features =
|
||||
[ "nix-command" "flakes" ]
|
||||
++ lib.optionals (lib.versionOlder config.nix.package.version "2.22.0") [ "repl-flake" ];
|
||||
auto-optimise-store = lib.mkDefault true;
|
||||
flake-registry = "";
|
||||
};
|
||||
|
@ -1,5 +1,4 @@
|
||||
{ lib, pkgs, ... }: {
|
||||
|
||||
{ config, lib, pkgs, ... }: {
|
||||
# Set the package for generating the configuration.
|
||||
nix.package = lib.mkDefault pkgs.nixStable;
|
||||
|
||||
@ -21,7 +20,9 @@
|
||||
#
|
||||
# Since we're using flakes to make this possible, we need it. Plus, the
|
||||
# UX of Nix CLI is becoming closer to Guix's which is a nice bonus.
|
||||
experimental-features = [ "nix-command" "flakes" "repl-flake" ];
|
||||
experimental-features =
|
||||
[ "nix-command" "flakes" ]
|
||||
++ lib.optionals (lib.versionOlder config.nix.package.version "2.22.0") [ "repl-flake" ];
|
||||
auto-optimise-store = lib.mkDefault true;
|
||||
flake-registry = "";
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user