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
|
../modules/nixos/user/${user}.nix
|
||||||
];
|
];
|
||||||
specialArgs = {
|
specialArgs = {
|
||||||
inherit inputs;
|
inherit inputs lib;
|
||||||
inherit lib;
|
|
||||||
username = user;
|
username = user;
|
||||||
cfgPath = ../.;
|
cfgPath = ../.;
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,21 +1,17 @@
|
||||||
{ lib, inputs, cfgPath, ... }:
|
{ lib, inputs, cfgPath, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
/*
|
|
||||||
importOverlays = builtins.map
|
importOverlays = builtins.map
|
||||||
(overlay: import overlay { inherit lib inputs; })
|
(overlay: import overlay { inherit lib inputs; })
|
||||||
(builtins.filter
|
(builtins.filter
|
||||||
(file: builtins.match ".*\.nix" (builtins.toString file) != null)
|
(file: builtins.match ".*\.nix" (builtins.toString file) != null)
|
||||||
(lib.filesystem.listFilesRecursive ../../../overlays));
|
(lib.filesystem.listFilesRecursive "${cfgPath}/overlays"));
|
||||||
*/
|
|
||||||
/*
|
/*
|
||||||
importOverlays =
|
importOverlays =
|
||||||
(builtins.filter
|
(builtins.filter
|
||||||
(file: builtins.match ".*\.nix" (builtins.toString file) != null)
|
(file: builtins.match ".*\.nix" (builtins.toString file) != null)
|
||||||
(lib.filesystem.listFilesRecursive ../../../overlays));
|
(lib.filesystem.listFilesRecursive ../../../overlays));
|
||||||
*/
|
*/
|
||||||
c = builtins.trace "${cfgPath}/overlays" null;
|
|
||||||
a = builtins.trace (lib.filesystem.listFilesRecursive ./.) null;
|
|
||||||
in {
|
in {
|
||||||
nix = {
|
nix = {
|
||||||
settings = {
|
settings = {
|
||||||
|
@ -28,13 +24,11 @@ in {
|
||||||
experimental-features = nix-command flakes
|
experimental-features = nix-command flakes
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
b = c;
|
|
||||||
d = a;
|
|
||||||
nixpkgs = {
|
nixpkgs = {
|
||||||
config = {
|
config = {
|
||||||
allowUnfree = true;
|
allowUnfree = true;
|
||||||
};
|
};
|
||||||
hostPlatform = lib.mkDefault "x86_64-linux";
|
hostPlatform = lib.mkDefault "x86_64-linux";
|
||||||
overlays = [];
|
overlays = builtins.trace importOverlays importOverlays;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue