Regenerated
This commit is contained in:
+394
-394
File diff suppressed because it is too large
Load Diff
+2
-2
@@ -1635,12 +1635,12 @@ in
|
|||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
** =generated/modules/traveldroid/system/copy_scripts.nix=
|
** =generated/modules/traveldroid/system/copy_scripts.nix=
|
||||||
This copies any scripts from /generated/.config/scripts to ~/.config/scripts and makes any .sh files executable.
|
This copies any scripts from /generated/.config/shared//scripts to ~/.config/shared/scripts and makes any .sh files executable.
|
||||||
#+BEGIN_SRC nix :tangle generated/modules/traveldroid/system/copy_scripts.nix :noweb yes :mkdirp yes :eval never
|
#+BEGIN_SRC nix :tangle generated/modules/traveldroid/system/copy_scripts.nix :noweb yes :mkdirp yes :eval never
|
||||||
{ lib, config, pkgs, flakeRoot, ... }:
|
{ lib, config, pkgs, flakeRoot, ... }:
|
||||||
let
|
let
|
||||||
username = config.defaultUser or "henrov";
|
username = config.defaultUser or "henrov";
|
||||||
configPath = flakeRoot + "/generated/.config/scripts";
|
configPath = flakeRoot + "/generated/.config/shared/scripts";
|
||||||
allFiles = lib.filesystem.listFilesRecursive configPath;
|
allFiles = lib.filesystem.listFilesRecursive configPath;
|
||||||
|
|
||||||
toRelative = file:
|
toRelative = file:
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
{ lib, config, pkgs, flakeRoot, ... }:
|
{ lib, config, pkgs, flakeRoot, ... }:
|
||||||
let
|
let
|
||||||
username = config.defaultUser or "henrov";
|
username = config.defaultUser or "henrov";
|
||||||
configPath = flakeRoot + "/generated/.config/scripts";
|
configPath = flakeRoot + "/generated/.config/shared/scripts";
|
||||||
allFiles = lib.filesystem.listFilesRecursive configPath;
|
allFiles = lib.filesystem.listFilesRecursive configPath;
|
||||||
|
|
||||||
toRelative = file:
|
toRelative = file:
|
||||||
|
|||||||
Reference in New Issue
Block a user