Don't pin 'nixpkgs' in the system registry by default

Nixpkgs takes up a lot of disk space so we shouldn't do this by
default.
This commit is contained in:
Eelco Dolstra 2020-04-03 14:39:55 +02:00
parent e5c506af8c
commit 469f14ef0f
No known key found for this signature in database
GPG Key ID: 8170B4726D7198DE

View File

@ -27,7 +27,6 @@
[ { system.nixos.versionSuffix =
".${lib.substring 0 8 (self.lastModifiedDate or self.lastModified)}.${self.shortRev or "dirty"}";
system.nixos.revision = lib.mkIf (self ? rev) self.rev;
nix.registry.nixpkgs.flake = lib.mkDefault self;
}
];
});