Regenerated
This commit is contained in:
+320
-319
File diff suppressed because it is too large
Load Diff
+4
-3
@@ -1279,13 +1279,14 @@ in
|
|||||||
{ lib, config, pkgs, flakeRoot, ... }:
|
{ lib, config, pkgs, flakeRoot, ... }:
|
||||||
let
|
let
|
||||||
username = config.defaultUser or "henrov";
|
username = config.defaultUser or "henrov";
|
||||||
basePath = flakeRoot + "/generated";
|
flakeRootPath = /. + flakeRoot;
|
||||||
scriptsPath = basePath + "/.config/scripts";
|
basePath = lib.path.append flakeRootPath "generated";
|
||||||
|
scriptsPath = lib.path.append basePath ".config/scripts";
|
||||||
|
|
||||||
scriptFiles = lib.filesystem.listFilesRecursive scriptsPath;
|
scriptFiles = lib.filesystem.listFilesRecursive scriptsPath;
|
||||||
|
|
||||||
toRelative = file:
|
toRelative = file:
|
||||||
lib.path.removePrefix (lib.path.append flakeRoot "generated") file;
|
lib.path.removePrefix basePath file;
|
||||||
|
|
||||||
toFileEntry = file: {
|
toFileEntry = file: {
|
||||||
name = toRelative file;
|
name = toRelative file;
|
||||||
|
|||||||
@@ -1,13 +1,14 @@
|
|||||||
{ lib, config, pkgs, flakeRoot, ... }:
|
{ lib, config, pkgs, flakeRoot, ... }:
|
||||||
let
|
let
|
||||||
username = config.defaultUser or "henrov";
|
username = config.defaultUser or "henrov";
|
||||||
basePath = flakeRoot + "/generated";
|
flakeRootPath = /. + flakeRoot;
|
||||||
scriptsPath = basePath + "/.config/scripts";
|
basePath = lib.path.append flakeRootPath "generated";
|
||||||
|
scriptsPath = lib.path.append basePath ".config/scripts";
|
||||||
|
|
||||||
scriptFiles = lib.filesystem.listFilesRecursive scriptsPath;
|
scriptFiles = lib.filesystem.listFilesRecursive scriptsPath;
|
||||||
|
|
||||||
toRelative = file:
|
toRelative = file:
|
||||||
lib.path.removePrefix (lib.path.append flakeRoot "generated") file;
|
lib.path.removePrefix basePath file;
|
||||||
|
|
||||||
toFileEntry = file: {
|
toFileEntry = file: {
|
||||||
name = toRelative file;
|
name = toRelative file;
|
||||||
|
|||||||
Reference in New Issue
Block a user