config/profiles/desktop/gnome/default.nix

56 lines
1.7 KiB
Nix
Raw Normal View History

2023-07-02 09:19:35 +02:00
{ config, pkgs, ... }:
2023-03-09 09:28:11 +01:00
{
services.xserver.enable = true;
services.xserver.displayManager.gdm.enable = true;
2023-03-11 03:39:06 +01:00
services.xserver.displayManager.gdm.wayland = true;
2023-03-09 09:28:11 +01:00
services.xserver.desktopManager.gnome.enable = true;
#services.printing.enable = true; # CUPS
2023-03-11 03:39:06 +01:00
programs.xwayland.enable = true;
xdg.portal.enable = true;
2023-03-09 09:28:11 +01:00
services.udev.packages = with pkgs; [ gnome.gnome-settings-daemon ];
2023-03-11 03:39:06 +01:00
programs.gnome-terminal.enable = false;
2023-06-23 21:45:16 +02:00
services.tumbler.enable = true; # TODO: needed when we have ffmpegthumbnailer?
2023-03-11 03:39:06 +01:00
services.gnome.sushi.enable = true;
2023-06-23 21:45:16 +02:00
services.gnome.gnome-online-accounts.enable = true;
2023-03-11 03:39:06 +01:00
2023-03-09 09:28:11 +01:00
environment.systemPackages = with pkgs; [
2023-06-23 21:45:16 +02:00
firefox
2023-06-19 02:45:50 +02:00
pavucontrol
2023-03-09 09:28:11 +01:00
lxterminal
2023-06-19 03:35:47 +02:00
# TODO: shadow gnome-terminal
2023-03-11 15:59:56 +01:00
ffmpegthumbnailer
2024-08-14 17:09:15 +02:00
libheif # HEIF thumbnails
2023-03-09 09:28:11 +01:00
gnomeExtensions.appindicator
];
2023-03-13 01:15:27 +01:00
# an attempt to make nautilus discover new files, but it proved to be a freebsd-linux incompatiblity
# inotify is a linux thing, and freebsd instead features kqueue.
# nfs likely doesn't support such events anyway, predating inotify.
#kernel.sysctl = {
# "fs.inotify.max_user_watches" = "100000";
#};
# possible future fix:
# https://en.wikipedia.org/wiki/File_Alteration_Monitor
# or https://github.com/fsnotify/fsnotify
2023-03-09 09:28:11 +01:00
environment.gnome.excludePackages = (with pkgs; [
2023-03-11 03:39:06 +01:00
gnome-photos
2023-03-09 09:28:11 +01:00
gnome-tour
2024-06-07 18:26:44 +02:00
(pkgs.gedit or pkgs.gnome.gedit) # text editor (24.05 vs 23.11)
2023-03-09 09:28:11 +01:00
]) ++ (with pkgs.gnome; [
#cheese # webcam tool
gnome-music
gnome-terminal
#epiphany # web browser
geary # email reader
totem # video player
tali # poker game
iagno # go game
hitori # sudoku game
atomix # puzzle game
]);
}