Closed ymarkus closed 3 years ago
Some more information: local machine:
❯ nixops --version
NixOps 1.7
❯ nix --version
nix (Nix) 2.3.7
❯ nixos-version
20.09.1721.896270d629e (Nightingale)
remote machine:
❯ nixos-version
20.09.1818.98e46cec92f (Nightingale)
❯ nix --version
nix (Nix) 2.3.7
Just revisited this and found my error: Didn't quote the home path: /home/vmail
. Closing this.
Sorry, accidentally pressed the enter key while writing the title.
So, I'm trying to deploy to a machine where I create the user "vmail". Here's the relevant code:
If the path
/home/vmail
is not present on my local machine the build fails with the following error:if I run
# mkdir /home/vmail
on my local machine before running deploy, it works without issues.