add pkgs.
This commit is contained in:
parent
7967925083
commit
156615864b
@ -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
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user