mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
nixos/evremap: get rid of unecessary bash
Using `systemd.services.<name>.script` pulls in bash in the ExecStart line for a service. Since our "script" was only one line anyways, we can inline it to just use ExecStart directly. Losing shell features shouldn't be detrimental here, as we're not using pipes and there are no globs to expand.
This commit is contained in:
parent
3549532663
commit
ce0970e19b
1 changed files with 2 additions and 2 deletions
|
|
@ -131,9 +131,9 @@ in
|
|||
description = "evremap - keyboard input remapper";
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
|
||||
script = "${lib.getExe pkgs.evremap} remap ${configFile}";
|
||||
|
||||
serviceConfig = {
|
||||
ExecStart = "${lib.getExe pkgs.evremap} remap ${configFile}";
|
||||
|
||||
DynamicUser = true;
|
||||
User = "evremap";
|
||||
SupplementaryGroups = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue