psyanticy has quit [Quit: Connection closed for inactivity]
allgreed has joined #nixops
<meatcar>
nncccc
<allgreed>
Hey - I'm trying to create a normal user on machines via nixops. Upon deployment the user is not there - I've verified via reading the /etc/passwd (no entry for that user) and trying to su to the username (failure). Tried both with mutableUsers enabled and disabled. Am I doing something wrong? Source: https://pastebin.com/PFjD1fGW
<craige>
That looks good to me, allgreed - how are you including it? Are you sure it's being included in nixops? What listed in `nixops info -d your_deployment`?
<allgreed>
It's in the same file as other configuration that works. 3 machines and an ssh-keypair.
<craige>
The snippet you sent looks fine on it's own. Perhaps there's issues elsewhere?
<allgreed>
Gonna try that in a sec (waiting for machine to bootstrap on Digitalocean).
vika_nezrimaya has joined #nixops
<allgreed>
Nah, that failed :C. Is there a convinient way to take a peek at resulting configuration? I've seen some .nix files in /tmp but they disappear right after the deployment is done.
<craige>
How are you determining that it's not working?
<allgreed>
Running the deployment, then sshing into one of the machines, then `cat /etc/passwd | grep allgreed` + `su allgreed`
<allgreed>
Also there is no coresponding folder in /home (iirc it
<allgreed>
* it's created for normal users
<craige>
Not sure what you mean by "normal" users. Can you ssh in as that particular user?
<allgreed>
I mean that "isNormalUser = true". I cannot.
<craige>
I've read your configs and I've not picked up anything there that could help :-(
<allgreed>
Ok, this is super weird - if I put the user declaration to another file (`nomad.nix`) than it works o.0
<craige>
There's going to be one little things wrong :-)
<allgreed>
Could you elaborate?
<craige>
When I've hit issues like that, there's usually one small thing that I've over looked :-)
<allgreed>
Oh, I get it now ^^. A friend of mine said that a good night sleep is the best debugger - gonna follow on his advice. Thank you for your time!