mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 08:53:56 -05:00
sort nix.nix
This commit is contained in:
parent
af43d70734
commit
6fd00910c9
1 changed files with 4 additions and 5 deletions
|
|
@ -13,6 +13,10 @@ in {
|
||||||
nix.nixPath = lib.mapAttrsToList (x: _: "${x}=flake:${x}") flakes;
|
nix.nixPath = lib.mapAttrsToList (x: _: "${x}=flake:${x}") flakes;
|
||||||
nix.registry = lib.mapAttrs (_: flake: {inherit flake;}) flakes;
|
nix.registry = lib.mapAttrs (_: flake: {inherit flake;}) flakes;
|
||||||
#
|
#
|
||||||
|
# Ignore global registry
|
||||||
|
#
|
||||||
|
nix.settings.flake-registry = "";
|
||||||
|
#
|
||||||
# Use nix directly from master
|
# Use nix directly from master
|
||||||
#
|
#
|
||||||
nix.package = inputs.nix.packages.${pkgs.system}.default;
|
nix.package = inputs.nix.packages.${pkgs.system}.default;
|
||||||
|
|
@ -20,11 +24,6 @@ in {
|
||||||
# Other nix settings
|
# Other nix settings
|
||||||
#
|
#
|
||||||
nix.settings = {
|
nix.settings = {
|
||||||
#
|
|
||||||
# Ignore global registry
|
|
||||||
#
|
|
||||||
flake-registry = builtins.toFile "empty-flake-registry.json" ''{"flakes":[],"version":2}'';
|
|
||||||
|
|
||||||
experimental-features = [
|
experimental-features = [
|
||||||
"auto-allocate-uids"
|
"auto-allocate-uids"
|
||||||
"ca-derivations"
|
"ca-derivations"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue