update installer
This commit is contained in:
parent
e6fc5dfcd0
commit
7967925083
@ -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";
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user