nixos/modules/desktop/programs.nix

47 lines
1 KiB
Nix
Raw Normal View History

2024-03-05 22:57:41 +01:00
{
home-manager,
lib,
nixpkgs,
pkgs,
...
}: {
2023-08-25 01:02:54 +02:00
# Packages useful on a desktop computer which don't require their own module
environment.systemPackages = with pkgs; [
firefox-wayland
2023-11-20 15:52:02 +01:00
gimp
2023-10-07 02:10:40 +02:00
jetbrains.pycharm-professional
2023-08-25 01:02:54 +02:00
keepassxc
2024-03-05 22:57:41 +01:00
(kodi-wayland.withPackages (kodiPackages:
with kodiPackages; [
jellyfin
]))
2023-08-25 01:02:54 +02:00
libqalculate
2023-11-07 23:43:40 +01:00
libreoffice
2023-08-25 01:02:54 +02:00
mpv
spotify
tor-browser-bundle-bin
2023-09-13 09:39:23 +02:00
ungoogled-chromium
2023-08-25 01:02:54 +02:00
vlc
webcord # discord
];
2024-03-05 22:57:41 +01:00
nixpkgs.config.allowUnfreePredicate = pkg:
builtins.elem (lib.getName pkg) [
"android-studio-stable"
"pycharm-professional"
"spotify"
"terraform"
];
2023-08-25 01:02:54 +02:00
home-manager.users.caspervk = {
home.sessionVariables = {
# The firefox-wayland package works with wayland without any further
# configuration, but tor-browser doesn't.
2024-03-04 00:14:42 +01:00
# TODO: remove when tor browser is based on firefox v121.
# https://www.mozilla.org/en-US/firefox/121.0/releasenotes/
2023-08-25 01:02:54 +02:00
MOZ_ENABLE_WAYLAND = 1;
};
};
}