3ukxwl2j
This commit is contained in:
parent
f236f3add6
commit
aacae912d8
3 changed files with 3 additions and 5 deletions
|
@ -46,7 +46,6 @@
|
|||
nixpkgs = nixpkgs;
|
||||
inputs = inputs;
|
||||
user = "caem";
|
||||
flakeRoot = ./.;
|
||||
modules = [
|
||||
impermanence.nixosModules.impermanence
|
||||
disko.nixosModules.disko
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
inputs,
|
||||
modules,
|
||||
user,
|
||||
flakeRoot,
|
||||
}: builtins.listToAttrs (builtins.map (host: {
|
||||
name = host;
|
||||
value = nixpkgs.lib.nixosSystem {
|
||||
|
@ -19,7 +18,7 @@
|
|||
inherit inputs;
|
||||
inherit lib;
|
||||
username = user;
|
||||
rootDir = flakeRoot;
|
||||
cfgPath = ../.;
|
||||
};
|
||||
};
|
||||
}) (lib.getDirsInDir ../hosts));
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ lib, inputs, rootDir, ... }:
|
||||
{ lib, inputs, cfgPath, ... }:
|
||||
|
||||
let
|
||||
/*
|
||||
|
@ -14,7 +14,7 @@ let
|
|||
(file: builtins.match ".*\.nix" (builtins.toString file) != null)
|
||||
(lib.filesystem.listFilesRecursive ../../../overlays));
|
||||
*/
|
||||
c = builtins.trace "${rootDir}/overlays" null;
|
||||
c = builtins.trace "${cfgPath}/overlays" null;
|
||||
a = builtins.trace (lib.filesystem.listFilesRecursive ./.) null;
|
||||
in {
|
||||
nix = {
|
||||
|
|
Loading…
Add table
Reference in a new issue