nixos/modules/desktop/programs.nix
Casper V. Kristensen 0281cbc308 android-studio
2023-11-29 14:07:26 +01:00

41 lines
951 B
Nix

{ home-manager, lib, nixpkgs, pkgs, ... }: {
# Packages useful on a desktop computer which don't require their own module
environment.systemPackages = with pkgs; [
firefox-wayland
gimp
jetbrains.pycharm-professional
keepassxc
(kodi-wayland.withPackages (kodiPackages: with kodiPackages; [
jellyfin
]))
libqalculate
libreoffice
mpv
spotify
tor-browser-bundle-bin
ungoogled-chromium
vlc
webcord # discord
];
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
"android-studio-stable"
"pycharm-professional"
"spotify"
];
nixpkgs.config.permittedInsecurePackages = [
"electron-24.8.6" # for webcord
];
home-manager.users.caspervk = {
home.sessionVariables = {
# The firefox-wayland package works with wayland without any further
# configuration, but tor-browser doesn't.
MOZ_ENABLE_WAYLAND = 1;
};
};
}