mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
nixos/taskserver: Rename nixos-taskdctl
Using nixos-taskserver is more verbose but less cryptic and I think it fits the purpose better because it can't be confused to be a wrapper around the taskdctl command from the upstream project as nixos-taskserver shares no commonalities with it. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
parent
78925e4a90
commit
2d89617052
3 changed files with 11 additions and 10 deletions
|
@ -81,12 +81,12 @@ let
|
|||
|
||||
mkShellStr = val: "'${replaceStrings ["'"] ["'\\''"] val}'";
|
||||
|
||||
nixos-taskdctl = import ./helper-tool.nix {
|
||||
nixos-taskserver = import ./helper-tool.nix {
|
||||
inherit pkgs lib mkShellStr taskd;
|
||||
config = cfg;
|
||||
};
|
||||
|
||||
ctlcmd = "${nixos-taskdctl}/bin/nixos-taskdctl --service-helper";
|
||||
ctlcmd = "${nixos-taskserver}/bin/nixos-taskserver --service-helper";
|
||||
|
||||
in {
|
||||
|
||||
|
@ -303,7 +303,7 @@ in {
|
|||
|
||||
config = mkIf cfg.enable {
|
||||
|
||||
environment.systemPackages = [ pkgs.taskserver nixos-taskdctl ];
|
||||
environment.systemPackages = [ pkgs.taskserver nixos-taskserver ];
|
||||
|
||||
users.users = optional (cfg.user == "taskd") {
|
||||
name = "taskd";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue