1
Fork 0
This commit is contained in:
caem 2025-01-23 15:52:18 +01:00
parent aacae912d8
commit e1750c87f6
Signed by: caem
GPG key ID: 69A830D03203405F
2 changed files with 3 additions and 10 deletions

View file

@ -15,8 +15,7 @@
../modules/nixos/user/${user}.nix
];
specialArgs = {
inherit inputs;
inherit lib;
inherit inputs lib;
username = user;
cfgPath = ../.;
};

View file

@ -1,21 +1,17 @@
{ lib, inputs, cfgPath, ... }:
let
/*
importOverlays = builtins.map
(overlay: import overlay { inherit lib inputs; })
(builtins.filter
(file: builtins.match ".*\.nix" (builtins.toString file) != null)
(lib.filesystem.listFilesRecursive ../../../overlays));
*/
(lib.filesystem.listFilesRecursive "${cfgPath}/overlays"));
/*
importOverlays =
(builtins.filter
(file: builtins.match ".*\.nix" (builtins.toString file) != null)
(lib.filesystem.listFilesRecursive ../../../overlays));
*/
c = builtins.trace "${cfgPath}/overlays" null;
a = builtins.trace (lib.filesystem.listFilesRecursive ./.) null;
in {
nix = {
settings = {
@ -28,13 +24,11 @@ in {
experimental-features = nix-command flakes
'';
};
b = c;
d = a;
nixpkgs = {
config = {
allowUnfree = true;
};
hostPlatform = lib.mkDefault "x86_64-linux";
overlays = [];
overlays = builtins.trace importOverlays importOverlays;
};
}