1
0
Fork 0

fix ze service autostart issue

This commit is contained in:
Pratham Patel 2024-01-21 15:00:35 +05:30
parent 1b34a3e964
commit a243495803
Signed by: thefossguy
SSH Key Fingerprint: SHA256:/B3wAg7jnMEBQ2JwkebbS/eXVZANDmqRfnd9QkIhxMI
1 changed files with 3 additions and 2 deletions

View File

@ -69,8 +69,9 @@
ExecStart = "${pkgs.sudo}/bin/sudo -i -u nixos ${pkgs.bash}/bin/bash /etc/custom-scripts/clone-nixos-config.sh";
# ^^^^^ is the user in the ISO
};
requiredBy = [ "getty-pre.target" ];
requires = [ "network-online.target" ];
requiredBy = [ "multi-user.target" ];
wants = [ "network-online.target" "network.target" "nss-lookup.target" "nss-user-lookup.target" ];
after = [ "network-online.target" "network.target" "nss-lookup.target" "nss-user-lookup.target" ];
};
};