Compare commits
2 Commits
b0cbf62e15
...
300571af47
Author | SHA1 | Date | |
---|---|---|---|
300571af47 | |||
32c90ef4e7 |
12
nixos.nix
12
nixos.nix
@ -88,10 +88,14 @@ in
|
|||||||
|
|
||||||
conf = {
|
conf = {
|
||||||
inherit (app) id;
|
inherit (app) id;
|
||||||
path = if app.path == null then pkgs.writeScript "${app.name}-start" ''
|
path =
|
||||||
#!${pkgs.zsh}${pkgs.zsh.shellPath}
|
if app.path == null then
|
||||||
${script}
|
pkgs.writeScript "${app.name}-start" ''
|
||||||
'' else app.path;
|
#!${pkgs.zsh}${pkgs.zsh.shellPath}
|
||||||
|
${script}
|
||||||
|
''
|
||||||
|
else
|
||||||
|
app.path;
|
||||||
args = if app.args == null then [ "${app.name}-start" ] else app.args;
|
args = if app.args == null then [ "${app.name}-start" ] else app.args;
|
||||||
|
|
||||||
confinement = {
|
confinement = {
|
||||||
|
Loading…
Reference in New Issue
Block a user