update installer
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ pkgs, config, lib, ... }:
|
||||
{ pkgs, config, lib, installFiles, ... }:
|
||||
{
|
||||
config = {
|
||||
systemd.services.custom-install = {
|
||||
@@ -16,7 +16,7 @@
|
||||
# Your installation commands here
|
||||
if [ ! -f /etc/installation-completed ]; then
|
||||
# Run your installation steps
|
||||
|
||||
"${installFiles}/bin/install.sh"
|
||||
# Mark as completed
|
||||
touch /etc/installation-completed
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user