fix(default): add overlay via nixos module system
For some reason, the overlays are discarded when the package set gets re-evaluated. Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
This commit is contained in:
parent
ccd5c3b0b1
commit
597fbc168e
1 changed files with 6 additions and 1 deletions
|
@ -9,7 +9,7 @@
|
||||||
let
|
let
|
||||||
overlay = import ./overlay.nix;
|
overlay = import ./overlay.nix;
|
||||||
pkgs = import nixpkgs (device.system // {
|
pkgs = import nixpkgs (device.system // {
|
||||||
overlays = [overlay];
|
overlays = [ overlay ];
|
||||||
config = {
|
config = {
|
||||||
allowUnsupportedSystem = true; # mipsel
|
allowUnsupportedSystem = true; # mipsel
|
||||||
permittedInsecurePackages = [
|
permittedInsecurePackages = [
|
||||||
|
@ -25,6 +25,11 @@ let
|
||||||
|
|
||||||
eval = evalModules {
|
eval = evalModules {
|
||||||
modules = [
|
modules = [
|
||||||
|
{
|
||||||
|
nixpkgs.overlays = [
|
||||||
|
overlay
|
||||||
|
];
|
||||||
|
}
|
||||||
device.module
|
device.module
|
||||||
liminix-config
|
liminix-config
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue