diff --git a/modules/nixos/programs/browsers/default.nix b/modules/nixos/programs/browsers/default.nix index e945d60..69cdd30 100644 --- a/modules/nixos/programs/browsers/default.nix +++ b/modules/nixos/programs/browsers/default.nix @@ -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}" '' diff --git a/modules/nixos/programs/communication/skype.nix b/modules/nixos/programs/communication/skype.nix index 55e9268..c6b6f8e 100644 --- a/modules/nixos/programs/communication/skype.nix +++ b/modules/nixos/programs/communication/skype.nix @@ -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}" '' diff --git a/modules/nixos/programs/communication/telegram.nix b/modules/nixos/programs/communication/telegram.nix index 5f467f8..b89df54 100644 --- a/modules/nixos/programs/communication/telegram.nix +++ b/modules/nixos/programs/communication/telegram.nix @@ -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}" ''