{ lib, pkgs, inputs, system, ... }: let chromium_teams = pkgs.writeShellScriptBin "chromium_teams" '' ${lib.getExe pkgs.chromium} --socket=wayland org.chromium.Chromium --app=https://teams.microsoft.com/ ''; chromium_discord = pkgs.writeShellScriptBin "chromium_discord" '' ${lib.getExe pkgs.chromium} --socket=wayland org.chromium.Chromium --app=https://discordapp.com/channels/@me ''; chromium_stackfield = pkgs.writeShellScriptBin "chromium_stackfield" '' ${lib.getExe pkgs.chromium} --socket=wayland org.chromium.Chromium --app=https://stackfield.com/ ''; ssh_proxy = pkgs.writeShellScriptBin "ssh_proxy" '' if ${pkgs.coreutils}/bin/test $# -ne 1; then echo "Usage: $0 @" exit fi PROXY_PORT="1337" ${lib.getExe pkgs.openssh} -D "$PROXY_PORT" -q -N "$@" ''; wrap_sh = let bubblewrap = pkgs.callPackage ../packages/bubblewrap/default.nix {}; in pkgs.writeShellScriptBin "wrap.sh" '' if ${pkgs.coreutils-full}/bin/test $# -ne 1; then echo "Usage: $0 " exit fi FULL_PATH=$(${pkgs.coreutils-full}/bin/realpath "$1") BUBBLEWRAP_DIR="$1" ${bubblewrap}/bin/bwrap \ --bind / / \ --dev /dev \ --overlay-src "$FULL_PATH" \ --tmp-overlay "$FULL_PATH" \ "$SHELL" ''; in { home.packages = with pkgs; [ anydesk appimage-run arp-scan birdtray blackmagic blender btop cached-nix-shell caddy cargo chromium cmake compsize /*cura*/ deluge discord dmenu-wayland ffmpeg-full firefox freecad gcc gdb ghostscript glab glaxnimate gnumake go grim hyperfine imagemagick imv inkscape jellyfin-media-player kdenlive kicad kodi-wayland krita libnotify libreoffice libva-utils lsix lsix mediainfo ncdu neovide ngspice nix-init nixpkgs-fmt nix-prefetch-git nodePackages.peerflix nom openocd openscad pandoc pass-wayland patchelf pavucontrol pwvucontrol pirate-get poppler_utils powertop pulsemixer python3 python3Packages.west remmina river rtorrent screen seer sioyek skypeforlinux slurp steam-run stm32cubemx swayimg tea teams-for-linux tessen texlive.combined.scheme-full thunderbird upx waybar wdisplays whatsapp-for-linux wine wireshark wl-clipboard wlr-randr wofi x2goclient yewtube yt-dlp zapzap zathura /*zeal-qt6*/ zig ] ++ [ chromium_discord chromium_stackfield chromium_teams ssh_proxy wrap_sh ] ++ [ inputs.swaysw.packages.${system}.swaysw (pkgs.callPackage ../packages/viber/default.nix {}) (pkgs.callPackage ../packages/bubblewrap/default.nix {}) ]; }