$ cat ~/.local/share/systemd/user/znc.service
[Unit]
Description=ZNC user server
After=network.target
[Service]
WorkingDirectory=%h
ExecStart=guix environment --ad-hoc --container --expose=/etc/ssl/certs -N \
znc gnutls nss-certs -- \
znc -f
Restart=always
RestartSec=3
[Install]
WantedBy=sockets.target
WantedBy=multi-user.target
$ systemctl --user daemon-reload
$ systemctl --user enable znc
$ systemctl --user start znc
$ systemctl --user status znc
$ sudo loginctl enable-linger `whoami`