modules: change container command to fix xdg-open

This commit is contained in:
Dmitriy Pleshevskiy 2024-09-28 16:52:30 +03:00
parent be498490af
commit 390f54b1f5
Signed by: pleshevskiy
GPG key ID: 17041163DA10A9A2
3 changed files with 3 additions and 3 deletions

View file

@ -11,7 +11,7 @@ let
hostPackages = lib.flip map contPackages (p:
let
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}" ''

View file

@ -5,7 +5,7 @@ let
cfg = config.local.programs.communication.skype;
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}" ''

View file

@ -5,7 +5,7 @@ let
cfg = config.local.programs.communication.telegram;
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}" ''