samueldr changed the topic of #nixops to: NixOps related talk | logs: https://logs.nix.samueldr.com/nixops/
aminechikhaoui5 has joined #nixops
allgreed4 has joined #nixops
mutantmell has joined #nixops
aminechikhaoui has quit [Quit: Ping timeout (120 seconds)]
allgreed has quit [Quit: Ping timeout (120 seconds)]
mtjmullen has quit [Remote host closed the connection]
aminechikhaoui5 is now known as aminechikhaoui
sevanspowell has quit [Read error: Connection reset by peer]
sevanspowell has joined #nixops
<sevanspowell> I need to setup user accounts on a NixOps deployed machine.
<sevanspowell> Up to this point I've been using systemd services to do this (essentially just fire once and execute some bash scripts).
<sevanspowell> Is there a better way to move items from the nix store to the user's home directory/execute bash scripts on inital deploy?
<sevanspowell> If not, any good guides on systemd? I have two identical services (other than in name and description). One works fine, another is 'loaded' but inactive (dead)
<clever> sevanspowell: sounds like a job for home-manager
kalbasit has quit [Ping timeout: 268 seconds]
sevanspowell has quit [Ping timeout: 245 seconds]
sevanspowell has joined #nixops
kalbasit has joined #nixops
psyanticy has joined #nixops
<davidtwco> Is there a way to make /run/keys available to users other than root? After nixpkgs#56255, nginx doesn't run anything as root, so can't access /run/keys.
<{^_^}> https://github.com/NixOS/nixpkgs/pull/56255 (by Izorkin, 49 weeks ago, merged): nginx: do not run anything as root
<davidtwco> Setting `deployment.keys.*.user` changes the perms but `/run/keys/` still isn't there for the other user.
<davidtwco> Nevermind, added nginx user to the keys group and that allowed them to access the `/run/keys` directory.
nuncanada has joined #nixops
psyanticy has quit [Quit: Connection closed for inactivity]