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:
Raito Bezarius 2024-08-23 19:36:34 +02:00
parent ccd5c3b0b1
commit 597fbc168e

View file

@ -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
]; ];