Run formatter over project. Tidy up laptop packages.
This commit is contained in:
parent
5b08fb0d7f
commit
091c1562f2
14 changed files with 205 additions and 210 deletions
|
@ -4,15 +4,13 @@
|
|||
userPackages,
|
||||
...
|
||||
}:
|
||||
with lib;
|
||||
let
|
||||
with lib; let
|
||||
cfg = config.services.webone;
|
||||
in
|
||||
{
|
||||
in {
|
||||
options.services.webone.enable = mkEnableOption "Enable WebOne HTTP proxy.";
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
users.groups.webone = { };
|
||||
users.groups.webone = {};
|
||||
|
||||
users.users.webone = {
|
||||
createHome = true;
|
||||
|
@ -42,10 +40,10 @@ in
|
|||
|
||||
systemd.services.webone = {
|
||||
description = "WebOne HTTP Proxy Server";
|
||||
documentation = [ "https://github.com/atauenis/webone/wiki/" ];
|
||||
requires = [ "network-online.target" ];
|
||||
after = [ "network-online.target" ];
|
||||
wantedBy = [ "default.target" ];
|
||||
documentation = ["https://github.com/atauenis/webone/wiki/"];
|
||||
requires = ["network-online.target"];
|
||||
after = ["network-online.target"];
|
||||
wantedBy = ["default.target"];
|
||||
startLimitIntervalSec = 5;
|
||||
startLimitBurst = 3;
|
||||
environment = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue