nixos/modules/desktop/programs.nix

39 lines
1,007 B
Nix
Raw Normal View History

{ 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
(kodi-wayland.withPackages (kodiPackages: with kodiPackages; [
jellyfin
]))
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
];
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
2023-11-29 14:07:26 +01:00
"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;
};
};
}