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;
|
nixpkgs = nixpkgs;
|
||||||
inputs = inputs;
|
inputs = inputs;
|
||||||
user = "caem";
|
user = "caem";
|
||||||
flakeRoot = ./.;
|
|
||||||
modules = [
|
modules = [
|
||||||
impermanence.nixosModules.impermanence
|
impermanence.nixosModules.impermanence
|
||||||
disko.nixosModules.disko
|
disko.nixosModules.disko
|
||||||
|
|
|
@ -6,7 +6,6 @@
|
||||||
inputs,
|
inputs,
|
||||||
modules,
|
modules,
|
||||||
user,
|
user,
|
||||||
flakeRoot,
|
|
||||||
}: builtins.listToAttrs (builtins.map (host: {
|
}: builtins.listToAttrs (builtins.map (host: {
|
||||||
name = host;
|
name = host;
|
||||||
value = nixpkgs.lib.nixosSystem {
|
value = nixpkgs.lib.nixosSystem {
|
||||||
|
@ -19,7 +18,7 @@
|
||||||
inherit inputs;
|
inherit inputs;
|
||||||
inherit lib;
|
inherit lib;
|
||||||
username = user;
|
username = user;
|
||||||
rootDir = flakeRoot;
|
cfgPath = ../.;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}) (lib.getDirsInDir ../hosts));
|
}) (lib.getDirsInDir ../hosts));
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ lib, inputs, rootDir, ... }:
|
{ lib, inputs, cfgPath, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
/*
|
/*
|
||||||
|
@ -14,7 +14,7 @@ let
|
||||||
(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 "${rootDir}/overlays" null;
|
c = builtins.trace "${cfgPath}/overlays" null;
|
||||||
a = builtins.trace (lib.filesystem.listFilesRecursive ./.) null;
|
a = builtins.trace (lib.filesystem.listFilesRecursive ./.) null;
|
||||||
in {
|
in {
|
||||||
nix = {
|
nix = {
|
||||||
|
|
Loading…
Add table
Reference in a new issue