nixos_flake_config/home/home_packages.nix

173 lines
3.5 KiB
Nix
Raw Permalink Normal View History

2023-07-03 22:35:58 +02:00
{
2024-06-15 15:25:39 +02:00
lib,
2023-07-03 22:35:58 +02:00
pkgs,
2023-10-26 22:48:08 +02:00
inputs,
system,
2023-07-03 22:35:58 +02:00
...
}: let
chromium_teams = pkgs.writeShellScriptBin "chromium_teams" ''
${lib.getExe pkgs.ungoogled-chromium} --socket=wayland org.chromium.Chromium --app=https://teams.microsoft.com/
'';
chromium_discord = pkgs.writeShellScriptBin "chromium_discord" ''
${lib.getExe pkgs.ungoogled-chromium} --socket=wayland org.chromium.Chromium --app=https://discordapp.com/channels/@me
'';
chromium_stackfield = pkgs.writeShellScriptBin "chromium_stackfield" ''
${lib.getExe pkgs.ungoogled-chromium} --socket=wayland org.chromium.Chromium --app=https://stackfield.com/
'';
qcad = pkgs.writeShellScriptBin "qcad" ''
QT_QPA_PLATFORM=xcb ${lib.getExe pkgs.qcad} $@
'';
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"
2024-06-15 15:25:39 +02:00
${lib.getExe pkgs.openssh} -D "$PROXY_PORT" -q -N "$@"
2024-04-01 01:00:33 +02:00
'';
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"
'';
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
blender
2023-10-26 22:48:08 +02:00
btop
cached-nix-shell
caddy
cargo
ungoogled-chromium
2023-10-26 22:48:08 +02:00
cmake
compsize
/*cura*/
2023-10-26 22:48:08 +02:00
deluge
dfu-util
discord
dmenu-wayland
drawio
2024-08-18 11:53:04 +02:00
dualsensectl
2023-10-26 22:48:08 +02:00
ffmpeg-full
firefox
freecad
2023-10-26 22:48:08 +02:00
gcc
gdb
ghostscript
2023-10-26 22:48:08 +02:00
glab
glaxnimate
2023-10-26 22:48:08 +02:00
gnumake
go
grim
heimdall
2023-10-26 22:48:08 +02:00
hyperfine
icestorm
2023-10-26 22:48:08 +02:00
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-qt6-fresh
2023-10-26 22:48:08 +02:00
libva-utils
linuxPackages_latest.perf
2024-06-07 11:50:23 +02:00
lsix
2024-06-13 13:20:20 +02:00
lsix
2023-10-26 22:48:08 +02:00
mediainfo
ncdu
neovide
nextpnr
2023-10-26 22:48:08 +02:00
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
nom
openems
2023-10-26 22:48:08 +02:00
openocd
openscad
2023-10-26 22:48:08 +02:00
pandoc
paraview
pass-wayland
2023-10-26 22:48:08 +02:00
patchelf
pavucontrol
pay-respects
2023-10-26 22:48:08 +02:00
pirate-get
poppler_utils
2023-10-26 22:48:08 +02:00
powertop
pulsemixer
pwvucontrol
2023-10-26 22:48:08 +02:00
python3
python3Packages.west
2023-10-26 22:48:08 +02:00
remmina
river
rtorrent
sbcl
2023-10-26 22:48:08 +02:00
screen
seer
sioyek
skypeforlinux
slurp
2024-06-13 14:34:10 +02:00
steam-run
stm32cubemx
2024-08-06 14:45:21 +02:00
swayimg
2023-10-30 23:58:31 +01:00
tea
teams-for-linux
2024-10-29 17:40:27 +01:00
tectonic
2024-08-06 14:45:21 +02:00
tessen
2023-10-26 22:48:08 +02:00
texlive.combined.scheme-full
thunderbird
2024-12-03 23:13:07 +01:00
typst
2023-10-26 22:48:08 +02:00
upx
waybar
wdisplays
2024-11-11 16:20:56 +01:00
weechat
2023-10-26 22:48:08 +02:00
whatsapp-for-linux
wine
2023-10-26 22:48:08 +02:00
wireshark
wl-clipboard
wlr-randr
wofi
x2goclient
yewtube
yosys
2023-10-26 22:48:08 +02:00
yt-dlp
2024-03-23 17:50:07 +01:00
zapzap
2023-10-26 22:48:08 +02:00
zathura
/*zeal-qt6*/
2023-10-26 22:48:08 +02:00
zig
]
2024-04-01 01:00:33 +02:00
++ [
chromium_discord
chromium_stackfield
2024-04-01 01:00:33 +02:00
chromium_teams
ssh_proxy
2024-04-01 11:31:11 +02:00
wrap_sh
qcad
2024-04-01 01:00:33 +02:00
]
++ [
inputs.swaysw.packages.${system}.swaysw
2023-10-29 14:34:21 +01:00
(pkgs.callPackage ../packages/viber/default.nix {})
(pkgs.callPackage ../packages/bubblewrap/default.nix {})
];
2023-07-03 22:35:58 +02:00
}