diff --git a/modules/nixos/programs/communication/telegram.nix b/modules/nixos/programs/communication/telegram.nix index 0f3a72f..708fcc3 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 jan -c "$*" ''; hostPackageScript = pkgs.writeScriptBin "${cfg.package.meta.mainProgram}" '' @@ -36,9 +36,8 @@ in bindMounts = lib.mkMerge [ { "/tmp/.X11-unix" = { }; - "/home/kira/downloads/telegram" = { + "/home/jan/downloads/telegram" = { isReadOnly = false; - hostPath = "/home/jan/downloads/telegram"; }; } (lib.mkIf config.hardware.graphics.enable { @@ -48,9 +47,7 @@ in "/run/opengl-driver-32/lib" = { }; }) (lib.mkIf config.local.programs.browsers.librewolf.enable { - "/home/kira/downloads/browser" = { - hostPath = "/home/jan/downloads/browser"; - }; + "/home/jan/downloads/browser" = { }; }) ]; @@ -64,7 +61,7 @@ in users.users.kira = { isNormalUser = true; - home = "/home/kira"; + home = "/home/jan"; password = "hello"; extraGroups = [ "pulse-access" ]; packages = [ cfg.package ];