update installer
This commit is contained in:
parent
e6fc5dfcd0
commit
7967925083
@ -15,7 +15,7 @@ in
|
||||
imports = [
|
||||
../quickly.nix
|
||||
## installer.nix is a system service to run a script on boot
|
||||
#../installer/installer.nix
|
||||
../installer/installer.nix
|
||||
];
|
||||
config = {
|
||||
services.getty.autologinUser = "nixos";
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user