add pkgs.

This commit is contained in:
Richard Mauer 2024-12-30 21:52:39 -05:00
parent 7967925083
commit 156615864b

View File

@ -1,4 +1,4 @@
{ pkgs, config, lib, installFiles, ... }: { pkgs, config, lib, ... }:
{ {
config = { config = {
systemd.services.custom-install = { systemd.services.custom-install = {
@ -16,7 +16,7 @@
# Your installation commands here # Your installation commands here
if [ ! -f /etc/installation-completed ]; then if [ ! -f /etc/installation-completed ]; then
# Run your installation steps # Run your installation steps
"${installFiles}/bin/install.sh" "${pkgs.installFiles}/bin/install.sh"
# Mark as completed # Mark as completed
touch /etc/installation-completed touch /etc/installation-completed
fi fi