Refactor: inject the username into the source path

This commit is contained in:
Oliver Davies 2024-08-20 21:01:07 +01:00
parent ce5b4fa0a1
commit 4d4d65d812
4 changed files with 11 additions and 5 deletions

View file

@ -2,6 +2,7 @@
desktop,
inputs,
pkgs,
username,
...
}:
let
@ -12,7 +13,7 @@ let
_timer = writeShellApplication (import ./scripts/_timer.nix);
export-video-list = writeShellApplication (
import ./scripts/export-video-list.nix { inherit pkgs; }
import ./scripts/export-video-list.nix { inherit pkgs username; }
);
notetaker = writeShellApplication (import ./scripts/notetaker.nix);
run = writeShellApplication (import ./scripts/run.nix { inherit pkgs; });