flake: avoid regenerating file list for every machine

This commit is contained in:
Kevin Baensch 2025-07-04 17:24:50 +02:00
parent 88a6a90ab2
commit 465a6b19d1
Signed by: derped
GPG key ID: C0F1D326C7626543

View file

@ -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