2023-07-03 22:35:58 +02:00
|
|
|
{
|
|
|
|
pkgs,
|
2023-10-26 22:48:08 +02:00
|
|
|
inputs,
|
2024-01-28 15:17:02 +01:00
|
|
|
system,
|
2023-07-03 22:35:58 +02:00
|
|
|
...
|
2024-03-14 21:46:51 +01:00
|
|
|
}: let
|
|
|
|
chromium_teams = pkgs.writeShellScriptBin "chromium_teams" ''
|
|
|
|
${pkgs.chromium}/bin/chromium --socket=wayland org.chromium.Chromium --app=https://teams.microsoft.com/
|
|
|
|
'';
|
|
|
|
chromium_discord = pkgs.writeShellScriptBin "chromium_discord" ''
|
|
|
|
${pkgs.chromium}/bin/chromium --socket=wayland org.chromium.Chromium --app=https://discordapp.com/channels/@me
|
|
|
|
'';
|
2024-04-01 01:00:33 +02:00
|
|
|
ssh_proxy = pkgs.writeShellScriptBin "ssh_proxy" ''
|
|
|
|
if ${pkgs.coreutils}/bin/test $# -ne 1; then
|
|
|
|
echo "Usage: $0 <user>@<ssh_host>"
|
|
|
|
exit
|
|
|
|
fi
|
|
|
|
PROXY_PORT="1337"
|
|
|
|
${pkgs.openssh}/bin/ssh -D "$PROXY_PORT" -q -N "$@"
|
|
|
|
'';
|
2024-04-01 11:31:11 +02:00
|
|
|
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 <directory>"
|
|
|
|
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"
|
|
|
|
'';
|
2024-03-14 21:46:51 +01:00
|
|
|
in {
|
2023-10-26 22:48:08 +02:00
|
|
|
home.packages = with pkgs;
|
|
|
|
[
|
2024-03-30 13:50:18 +01:00
|
|
|
anydesk
|
2023-10-26 22:48:08 +02:00
|
|
|
appimage-run
|
|
|
|
arp-scan
|
|
|
|
birdtray
|
|
|
|
blackmagic
|
2023-11-18 21:22:37 +01:00
|
|
|
blender
|
2023-10-26 22:48:08 +02:00
|
|
|
btop
|
|
|
|
cached-nix-shell
|
|
|
|
caddy
|
|
|
|
cargo
|
2024-03-14 21:46:51 +01:00
|
|
|
chromium
|
2023-10-26 22:48:08 +02:00
|
|
|
cmake
|
|
|
|
compsize
|
|
|
|
cura
|
|
|
|
deluge
|
2024-03-14 14:29:18 +01:00
|
|
|
discord
|
2024-01-28 21:16:10 +01:00
|
|
|
dmenu-wayland
|
2023-10-26 22:48:08 +02:00
|
|
|
ffmpeg-full
|
|
|
|
firefox
|
2023-11-18 21:22:37 +01:00
|
|
|
freecad
|
2023-10-26 22:48:08 +02:00
|
|
|
gcc
|
|
|
|
gdb
|
2023-10-30 20:24:43 +01:00
|
|
|
ghostscript
|
2023-10-26 22:48:08 +02:00
|
|
|
glab
|
2024-01-21 13:03:04 +01:00
|
|
|
glaxnimate
|
2023-10-26 22:48:08 +02:00
|
|
|
gnumake
|
|
|
|
go
|
|
|
|
grim
|
|
|
|
hyperfine
|
|
|
|
imagemagick
|
|
|
|
imv
|
2023-10-30 17:18:33 +01:00
|
|
|
inkscape
|
2023-10-26 22:48:08 +02:00
|
|
|
jellyfin-media-player
|
|
|
|
kdenlive
|
|
|
|
kicad
|
|
|
|
kodi-wayland
|
2023-11-15 17:54:57 +01:00
|
|
|
krita
|
2023-10-26 22:48:08 +02:00
|
|
|
libnotify
|
|
|
|
libreoffice
|
|
|
|
libva-utils
|
|
|
|
mediainfo
|
|
|
|
ncdu
|
|
|
|
neovide
|
|
|
|
ngspice
|
|
|
|
nix-init
|
2024-01-15 14:49:54 +01:00
|
|
|
nixpkgs-fmt
|
2024-03-16 21:36:01 +01:00
|
|
|
nix-prefetch-git
|
2023-10-26 22:48:08 +02:00
|
|
|
nodePackages.peerflix
|
|
|
|
openocd
|
2023-11-18 21:22:37 +01:00
|
|
|
openscad
|
2023-10-26 22:48:08 +02:00
|
|
|
pandoc
|
2024-01-28 15:17:02 +01:00
|
|
|
pass-wayland
|
2023-10-26 22:48:08 +02:00
|
|
|
patchelf
|
|
|
|
pavucontrol
|
|
|
|
pirate-get
|
2023-10-30 20:24:43 +01:00
|
|
|
poppler_utils
|
2023-10-26 22:48:08 +02:00
|
|
|
powertop
|
|
|
|
pulsemixer
|
|
|
|
python3
|
2024-03-14 21:46:51 +01:00
|
|
|
python3Packages.west
|
2023-10-26 22:48:08 +02:00
|
|
|
remmina
|
|
|
|
river
|
|
|
|
rtorrent
|
|
|
|
screen
|
|
|
|
seer
|
|
|
|
sioyek
|
|
|
|
skypeforlinux
|
|
|
|
slurp
|
2024-01-21 13:03:04 +01:00
|
|
|
stm32cubemx
|
2023-10-30 23:58:31 +01:00
|
|
|
tea
|
2024-03-14 14:29:18 +01:00
|
|
|
teams-for-linux
|
2023-10-26 22:48:08 +02:00
|
|
|
texlive.combined.scheme-full
|
|
|
|
thunderbird
|
|
|
|
upx
|
|
|
|
waybar
|
|
|
|
wdisplays
|
|
|
|
whatsapp-for-linux
|
2024-03-14 14:29:18 +01:00
|
|
|
wine
|
2023-10-26 22:48:08 +02:00
|
|
|
wireshark
|
|
|
|
wl-clipboard
|
|
|
|
wlr-randr
|
|
|
|
wofi
|
|
|
|
x2goclient
|
|
|
|
yewtube
|
|
|
|
yt-dlp
|
2024-03-23 17:50:07 +01:00
|
|
|
zapzap
|
2023-10-26 22:48:08 +02:00
|
|
|
zathura
|
|
|
|
zeal-qt6
|
|
|
|
zig
|
|
|
|
]
|
2024-04-01 01:00:33 +02:00
|
|
|
++ [
|
|
|
|
chromium_discord
|
|
|
|
chromium_teams
|
|
|
|
ssh_proxy
|
2024-04-01 11:31:11 +02:00
|
|
|
wrap_sh
|
2024-04-01 01:00:33 +02:00
|
|
|
]
|
2023-10-27 12:40:33 +02:00
|
|
|
++ [
|
2024-01-28 15:17:02 +01:00
|
|
|
inputs.swaysw.packages.${system}.swaysw
|
2023-10-29 14:34:21 +01:00
|
|
|
(pkgs.callPackage ../packages/viber/default.nix {})
|
2023-11-03 00:37:32 +01:00
|
|
|
(pkgs.callPackage ../packages/bubblewrap/default.nix {})
|
2023-10-27 12:40:33 +02:00
|
|
|
];
|
2023-07-03 22:35:58 +02:00
|
|
|
}
|