home-manager/systems/common/packages.nix

95 lines
1.4 KiB
Nix

{
pkgs,
lib,
...
}: {
nixpkgs.config = {
allowUnfree = false;
allowUnfreePredicate = pkg:
builtins.elem (lib.getName pkg) [
"vscode"
"vscode-extension-MS-python-vscode-pylance"
"vscode-extension-github-copilot"
"osu-lazer"
"spotify"
"linuxsampler"
"libsciter"
];
};
home.packages = with pkgs; [
# Basic utils
unzip
magic-wormhole
# Important graphical applications
keepassxc
logseq
xournalpp
libreoffice
# For windows applications
bottles
# Games
osu-lazer
# Communication
webcord
telegram-desktop
signal-desktop
element-desktop
# Creative software
gimp
davinci-resolve
ardour # DAW
# plugins
sfizz
swh_lv2
zynaddsubfx
caps
cmt
distrho
surge
calf
dexed
odin2
ninjas2
linuxsampler
yabridge
yabridgectl
geonkick # for drums
# Misc
gnome-decoder
tor-browser-bundle-bin
rustdesk
# Entertainment
spotify
hypnotix
# VPN client for university
(
pkgs.writeScriptBin "univpn"
''
read -p "Username: " username
read -s -p "Password: " password
# newline
echo ""
read -p "OTP: " otp
sudo ${pkgs.gof5}/bin/gof5 --server "vpn.univie.ac.at" --username "$username@$otp" --password "$password"
''
)
];
}