this repo has no description
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

microbin works

+19 -9
+19 -9
modules/nixos/microbin.nix
··· 25 25 description = "Group account under which microbin runs."; 26 26 }; 27 27 28 + hostname = mkOption { 29 + type = types.str; 30 + description = "Hostname of your microbin service"; 31 + }; 32 + 33 + port = mkOption { 34 + type = types.port; 35 + default = 8080; 36 + description = "Port on which to run the serice"; 37 + }; 38 + 28 39 }; 29 40 }; 30 41 ··· 34 45 after = [ "remote-fs.target" "network.target" ]; 35 46 wantedBy = [ "multi-user.target" ]; 36 47 serviceConfig = { 37 - ExecStart = "${pkgs.microbin}/bin/microbin --port ${cfg.port} \\ 38 - --public-path ${cfg.hostname} \\ 39 - --editable \\ 40 - --enable-burn-after \\ 41 - --private \\ 42 - --qr \\ 43 - --title=sealight \\ 44 - --highlightsyntax"; 48 + ExecStart = ''${pkgs.microbin}/bin/microbin --port ${builtins.toString cfg.port} 49 + --public-path ${cfg.hostname} 50 + --editable 51 + --enable-burn-after 52 + --private 53 + --qr 54 + --title=sealight 55 + --highlightsyntax''; 45 56 WorkingDirectory = dataFolder; 46 57 TimeoutStopSec = " 20 "; 47 58 KillMode = " process "; 48 - Restart = " on-failure "; 49 59 RestartSec = " 10 "; 50 60 User = cfg.user; 51 61 Group = cfg.group;