Fix sh
not being on PATH
This commit is contained in:
parent
86637a363e
commit
eefb2e27a3
@ -1,4 +1,4 @@
|
|||||||
{ pkgs, lib, ... }:
|
{ pkgs, lib, config, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
system.stateVersion = "25.05";
|
system.stateVersion = "25.05";
|
||||||
@ -71,7 +71,7 @@
|
|||||||
Type = "oneshot";
|
Type = "oneshot";
|
||||||
RemainAfterExit = true;
|
RemainAfterExit = true;
|
||||||
};
|
};
|
||||||
path = [ pkgs.intake ];
|
path = config.environment.systemPackages ++ [ pkgs.intake ];
|
||||||
environment.INTAKE_DATA_DIR = "/home/${userName}/.local/share/intake";
|
environment.INTAKE_DATA_DIR = "/home/${userName}/.local/share/intake";
|
||||||
wantedBy = [ "intake-${userName}.service" ];
|
wantedBy = [ "intake-${userName}.service" ];
|
||||||
before = [ "intake-${userName}.service" ];
|
before = [ "intake-${userName}.service" ];
|
||||||
|
@ -108,7 +108,7 @@ in
|
|||||||
"intake-${userName}" = {
|
"intake-${userName}" = {
|
||||||
description = "Intake service for user ${userName}";
|
description = "Intake service for user ${userName}";
|
||||||
script = "${runScript userName}";
|
script = "${runScript userName}";
|
||||||
path = intakeCfg.extraPackages ++ userCfg.extraPackages;
|
path = config.environment.systemPackages ++ intakeCfg.extraPackages ++ userCfg.extraPackages;
|
||||||
environment = {
|
environment = {
|
||||||
INTAKE_DATA_DIR = "/home/${userName}/.local/share/intake";
|
INTAKE_DATA_DIR = "/home/${userName}/.local/share/intake";
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user