tcnta3h5
This commit is contained in:
parent
aacae912d8
commit
e1750c87f6
2 changed files with 3 additions and 10 deletions
|
@ -15,8 +15,7 @@
|
|||
../modules/nixos/user/${user}.nix
|
||||
];
|
||||
specialArgs = {
|
||||
inherit inputs;
|
||||
inherit lib;
|
||||
inherit inputs lib;
|
||||
username = user;
|
||||
cfgPath = ../.;
|
||||
};
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue