flake: avoid regenerating file list for every machine
This commit is contained in:
parent
88a6a90ab2
commit
465a6b19d1
1 changed files with 12 additions and 12 deletions
|
@ -43,10 +43,6 @@
|
|||
fileType = "directory";
|
||||
fullPath = false;
|
||||
};
|
||||
nixosSystemFor = machine: {
|
||||
name = machine;
|
||||
value =
|
||||
let
|
||||
configFiles = fn.lst {
|
||||
path = toString ./config;
|
||||
fullPath = true;
|
||||
|
@ -59,6 +55,10 @@
|
|||
path = toString ./services;
|
||||
fullPath = true;
|
||||
};
|
||||
nixosSystemFor = machine: {
|
||||
name = machine;
|
||||
value =
|
||||
let
|
||||
machinePath = lib.concatStringsSep "/" [
|
||||
(toString ./machines)
|
||||
machine
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue