Regenerated
This commit is contained in:
+321
-320
File diff suppressed because it is too large
Load Diff
+5
-4
@@ -1279,14 +1279,15 @@ in
|
|||||||
{ lib, config, pkgs, flakeRoot, ... }:
|
{ lib, config, pkgs, flakeRoot, ... }:
|
||||||
let
|
let
|
||||||
username = config.defaultUser or "henrov";
|
username = config.defaultUser or "henrov";
|
||||||
flakeRootPath = /. + flakeRoot;
|
scriptsPath = flakeRoot + "/generated/.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 basePath file;
|
let
|
||||||
|
base = toString flakeRoot + "/generated/";
|
||||||
|
in
|
||||||
|
lib.removePrefix base (toString file);
|
||||||
|
|
||||||
toFileEntry = file: {
|
toFileEntry = file: {
|
||||||
name = toRelative file;
|
name = toRelative file;
|
||||||
|
|||||||
@@ -1,14 +1,15 @@
|
|||||||
{ lib, config, pkgs, flakeRoot, ... }:
|
{ lib, config, pkgs, flakeRoot, ... }:
|
||||||
let
|
let
|
||||||
username = config.defaultUser or "henrov";
|
username = config.defaultUser or "henrov";
|
||||||
flakeRootPath = /. + flakeRoot;
|
scriptsPath = flakeRoot + "/generated/.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 basePath file;
|
let
|
||||||
|
base = toString flakeRoot + "/generated/";
|
||||||
|
in
|
||||||
|
lib.removePrefix base (toString file);
|
||||||
|
|
||||||
toFileEntry = file: {
|
toFileEntry = file: {
|
||||||
name = toRelative file;
|
name = toRelative file;
|
||||||
|
|||||||
Reference in New Issue
Block a user