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;
}
];
});