modules: change container command to fix xdg-open
This commit is contained in:
parent
be498490af
commit
390f54b1f5
3 changed files with 3 additions and 3 deletions
|
@ -11,7 +11,7 @@ let
|
||||||
hostPackages = lib.flip map contPackages (p:
|
hostPackages = lib.flip map contPackages (p:
|
||||||
let
|
let
|
||||||
hostRunBrowser = pkgs.writeScript "cont-run-browser" ''
|
hostRunBrowser = pkgs.writeScript "cont-run-browser" ''
|
||||||
sudo nixos-container run browsers -- su -l kira -c $@
|
sudo nixos-container run browsers -- su -l kira -c "$*"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
hostBrowserScript = pkgs.writeScriptBin "${p.meta.mainProgram}" ''
|
hostBrowserScript = pkgs.writeScriptBin "${p.meta.mainProgram}" ''
|
||||||
|
|
|
@ -5,7 +5,7 @@ let
|
||||||
cfg = config.local.programs.communication.skype;
|
cfg = config.local.programs.communication.skype;
|
||||||
|
|
||||||
hostRunPackage = pkgs.writeScript "cont-run" ''
|
hostRunPackage = pkgs.writeScript "cont-run" ''
|
||||||
sudo nixos-container run skype su -l kira -c $@
|
sudo nixos-container run skype -- su -l kira -c "$*"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
hostPackageScript = pkgs.writeScriptBin "${cfg.package.meta.mainProgram}" ''
|
hostPackageScript = pkgs.writeScriptBin "${cfg.package.meta.mainProgram}" ''
|
||||||
|
|
|
@ -5,7 +5,7 @@ let
|
||||||
cfg = config.local.programs.communication.telegram;
|
cfg = config.local.programs.communication.telegram;
|
||||||
|
|
||||||
hostRunPackage = pkgs.writeScript "cont-run" ''
|
hostRunPackage = pkgs.writeScript "cont-run" ''
|
||||||
sudo nixos-container run telegram su -l kira -c $@
|
sudo nixos-container run telegram -- su -l kira -c "$*"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
hostPackageScript = pkgs.writeScriptBin "${cfg.package.meta.mainProgram}" ''
|
hostPackageScript = pkgs.writeScriptBin "${cfg.package.meta.mainProgram}" ''
|
||||||
|
|
Loading…
Reference in a new issue