1
0
Fork 0

forgot to make the NixOS config pull service autostart

This commit is contained in:
Pratham Patel 2024-01-21 13:23:52 +05:30
parent 598b10f4ce
commit 1b34a3e964
Signed by: thefossguy
SSH Key Fingerprint: SHA256:/B3wAg7jnMEBQ2JwkebbS/eXVZANDmqRfnd9QkIhxMI
1 changed files with 2 additions and 0 deletions

View File

@ -69,6 +69,8 @@
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" ];
};
};