home-manager/systems/common/packages.nix

65 lines
1.0 KiB
Nix
Raw Normal View History

2023-08-26 16:49:08 +00:00
{
pkgs,
lib,
...
}: {
2023-09-24 23:29:53 +00:00
nixpkgs.config = {
2023-08-26 16:49:08 +00:00
allowUnfree = false;
allowUnfreePredicate = pkg:
builtins.elem (lib.getName pkg) [
"vscode"
"vscode-extension-MS-python-vscode-pylance"
"vscode-extension-github-copilot"
"osu-lazer"
];
};
2023-09-24 23:29:53 +00:00
home.packages = with pkgs; [
2023-08-26 16:35:30 +00:00
# Basic utils
unzip
magic-wormhole
# Important graphical applications
keepassxc
logseq
xournalpp
libreoffice
2023-08-26 16:35:30 +00:00
# Games
osu-lazer
2023-08-26 16:35:30 +00:00
# Communication
webcord
telegram-desktop
signal-desktop
element-desktop
# Creative software
gimp
davinci-resolve
2023-08-26 16:35:30 +00:00
# Misc
gnome-decoder
tor-browser-bundle-bin
2023-09-03 21:40:50 +00:00
hypnotix
2023-11-04 13:43:46 +00:00
# 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"
''
)
2023-08-26 16:35:30 +00:00
];
}