2023-11-11 23:12:33 +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
|
|
|
|
(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
|
|
|
|
];
|
|
|
|
|
2023-11-11 23:12:33 +01:00
|
|
|
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
|
2023-11-29 14:07:26 +01:00
|
|
|
"android-studio-stable"
|
2023-11-11 23:12:33 +01:00
|
|
|
"pycharm-professional"
|
|
|
|
"spotify"
|
|
|
|
];
|
|
|
|
|
2023-11-11 00:49:37 +01:00
|
|
|
nixpkgs.config.permittedInsecurePackages = [
|
|
|
|
"electron-24.8.6" # for webcord
|
|
|
|
];
|
|
|
|
|
|
|
|
|
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.
|
|
|
|
MOZ_ENABLE_WAYLAND = 1;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|