From e13a65b33c761a1686de71625b5f1dece52190a7 Mon Sep 17 00:00:00 2001 From: Timothy DeHerrera Date: Sun, 18 Apr 2021 21:06:47 -0600 Subject: [PATCH] overrides: move to extern --- doc/concepts/overrides.md | 5 +++-- overrides/default.nix => extern/overrides.nix | 0 flake.nix | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) rename overrides/default.nix => extern/overrides.nix (100%) diff --git a/doc/concepts/overrides.md b/doc/concepts/overrides.md index ad0670b5..28194cd1 100644 --- a/doc/concepts/overrides.md +++ b/doc/concepts/overrides.md @@ -1,6 +1,6 @@ # Overrides -By default, the NixOS systems are based on the latest release. While it is -trivial to change this to nixos-unstable or any other branch of nixpkgs by +By default, the NixOS systems are based on unstable. While it is trivial to +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 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 nixos-unstable, or even a specific sha revision. +They are defined in the `extern/overrides.nix` file. ## Example diff --git a/overrides/default.nix b/extern/overrides.nix similarity index 100% rename from overrides/default.nix rename to extern/overrides.nix diff --git a/flake.nix b/flake.nix index fddbc850..24c9a4b7 100644 --- a/flake.nix +++ b/flake.nix @@ -39,7 +39,7 @@ packages = import ./pkgs; suites = import ./suites; extern = import ./extern; - overrides = import ./overrides; + overrides = import ./extern/overrides.nix; overlays = ./overlays; profiles = ./profiles; userProfiles = ./users/profiles;