Regenerated

This commit is contained in:
2026-04-11 10:01:59 +02:00
parent f75c24a394
commit 3d6710b478
3 changed files with 328 additions and 325 deletions
@@ -1,13 +1,14 @@
{ lib, config, pkgs, flakeRoot, ... }:
let
username = config.defaultUser or "henrov";
basePath = flakeRoot + "/generated";
scriptsPath = basePath + "/.config/scripts";
flakeRootPath = /. + flakeRoot;
basePath = lib.path.append flakeRootPath "generated";
scriptsPath = lib.path.append basePath ".config/scripts";
scriptFiles = lib.filesystem.listFilesRecursive scriptsPath;
toRelative = file:
lib.path.removePrefix (lib.path.append flakeRoot "generated") file;
lib.path.removePrefix basePath file;
toFileEntry = file: {
name = toRelative file;