Extend NixOS: Difference between revisions
imported>Eisfreak7 m The old link didn't exist anymore, replacing with a link to the internet archive. Might consider just removing it, as I don't think it really adds any new information. |
imported>Eisfreak7 m The user configuration was introduced, but not used. This replaces the hardcoded username with the configured one. |
||
| Line 153: | Line 153: | ||
serviceConfig = { | serviceConfig = { | ||
Type = "forking"; | Type = "forking"; | ||
User = " | User = "${cfg.user}"; | ||
ExecStart = ''${pkgs.screen}/bin/screen -dmS irc ${pkgs.irssi}/bin/irssi''; | ExecStart = ''${pkgs.screen}/bin/screen -dmS irc ${pkgs.irssi}/bin/irssi''; | ||
ExecStop = ''${pkgs.screen}/bin/screen -S irc -X quit''; | ExecStop = ''${pkgs.screen}/bin/screen -S irc -X quit''; | ||