overrides: move to extern

This commit is contained in:
Timothy DeHerrera 2021-04-18 21:06:47 -06:00
parent f254304796
commit e13a65b33c
No known key found for this signature in database
GPG key ID: 8985725DB5B0C122
3 changed files with 4 additions and 3 deletions

View file

@ -1,6 +1,6 @@
# Overrides # Overrides
By default, the NixOS systems are based on the latest release. While it is By default, the NixOS systems are based on unstable. While it is trivial to
trivial to change this to nixos-unstable or any other branch of nixpkgs by change this to a stable release, or any other branch of nixpkgs by
changing the flake url, sometimes all we want is a single package from another changing the flake url, sometimes all we want is a single package from another
branch. branch.
@ -8,6 +8,7 @@ This is what the overrides are for. By default, they are pulled directly from
nixpkgs/master, but you can change the `override` flake input url to nixpkgs/master, but you can change the `override` flake input url to
nixos-unstable, or even a specific sha revision. nixos-unstable, or even a specific sha revision.
They are defined in the `extern/overrides.nix` file.
## Example ## Example

View file

@ -39,7 +39,7 @@
packages = import ./pkgs; packages = import ./pkgs;
suites = import ./suites; suites = import ./suites;
extern = import ./extern; extern = import ./extern;
overrides = import ./overrides; overrides = import ./extern/overrides.nix;
overlays = ./overlays; overlays = ./overlays;
profiles = ./profiles; profiles = ./profiles;
userProfiles = ./users/profiles; userProfiles = ./users/profiles;