there is a 10% chance this works

This commit is contained in:
caem 2025-01-23 14:46:22 +01:00
parent 73ff73d1e5
commit f86f926ec4
Signed by: caem
GPG key ID: 69A830D03203405F
3 changed files with 14 additions and 3 deletions

View file

@ -1,6 +1,12 @@
{ lib, ... }:
{ lib, inputs, ... }:
{
let
importOverlays = builtins.map
(overlay: overlay { inherit lib inputs; })
(builtins.filter
(file: builtins.match file "*.nix")
(lib.filesystem.listFilesRecursive ../../../overlays));
in {
nix = {
settings = {
auto-optimise-store = true;
@ -18,5 +24,6 @@
allowUnfree = true;
};
hostPlatform = lib.mkDefault "x86_64-linux";
overlays = importOverlays;
};
}