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; [
|
2024-05-22 17:56:13 +02:00
|
|
|
aspell
|
|
|
|
aspellDicts.da
|
|
|
|
aspellDicts.en
|
|
|
|
aspellDicts.en-computers
|
|
|
|
aspellDicts.en-science
|
2024-06-02 22:56:18 +02:00
|
|
|
element-desktop
|
2023-08-25 01:02:54 +02:00
|
|
|
firefox-wayland
|
2023-11-20 15:52:02 +01:00
|
|
|
gimp
|
2024-05-22 17:56:13 +02:00
|
|
|
hunspell
|
|
|
|
hunspellDicts.da-dk
|
|
|
|
hunspellDicts.en-gb-ise
|
|
|
|
hunspellDicts.en-us
|
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
|
2024-04-26 00:24:46 +02:00
|
|
|
thunderbird
|
2023-08-25 01:02:54 +02:00
|
|
|
tor-browser-bundle-bin
|
2023-09-13 09:39:23 +02:00
|
|
|
ungoogled-chromium
|
2023-08-25 01:02:54 +02:00
|
|
|
vlc
|
2024-05-22 17:54:42 +02:00
|
|
|
xdg-utils
|
2023-08-25 01:02:54 +02:00
|
|
|
];
|
|
|
|
|
2024-03-05 22:57:41 +01:00
|
|
|
nixpkgs.config.allowUnfreePredicate = pkg:
|
|
|
|
builtins.elem (lib.getName pkg) [
|
|
|
|
"android-studio-stable"
|
|
|
|
"pycharm-professional"
|
|
|
|
"spotify"
|
2024-03-22 19:09:00 +01:00
|
|
|
"steam"
|
|
|
|
"steam-original"
|
|
|
|
"steam-run"
|
2024-03-05 22:57:41 +01:00
|
|
|
"terraform"
|
|
|
|
];
|
2023-11-11 23:12:33 +01:00
|
|
|
|
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;
|
2024-05-16 17:34:09 +02:00
|
|
|
# https://wiki.archlinux.org/title/Sway#Java_applications
|
|
|
|
_JAVA_AWT_WM_NONREPARENTING = 1;
|
2024-06-02 22:56:18 +02:00
|
|
|
# https://wiki.nixos.org/wiki/Wayland
|
|
|
|
NIXOS_OZONE_WL = 1;
|
2023-08-25 01:02:54 +02:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|