update installer

This commit is contained in:
Richard Mauer 2024-12-30 21:49:22 -05:00
parent e6fc5dfcd0
commit 7967925083
2 changed files with 3 additions and 3 deletions

View File

@ -15,7 +15,7 @@ in
imports = [ imports = [
../quickly.nix ../quickly.nix
## installer.nix is a system service to run a script on boot ## installer.nix is a system service to run a script on boot
#../installer/installer.nix ../installer/installer.nix
]; ];
config = { config = {
services.getty.autologinUser = "nixos"; services.getty.autologinUser = "nixos";

View File

@ -1,4 +1,4 @@
{ pkgs, config, lib, ... }: { pkgs, config, lib, installFiles, ... }:
{ {
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"
# Mark as completed # Mark as completed
touch /etc/installation-completed touch /etc/installation-completed
fi fi