2023-03-11 00:30:24 +01:00
|
|
|
{ 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
|
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
|
|
|
|
]) ++ (with pkgs.gnome; [
|
|
|
|
#cheese # webcam tool
|
|
|
|
gnome-music
|
|
|
|
gnome-terminal
|
|
|
|
gedit # text editor
|
|
|
|
#epiphany # web browser
|
|
|
|
geary # email reader
|
|
|
|
totem # video player
|
|
|
|
tali # poker game
|
|
|
|
iagno # go game
|
|
|
|
hitori # sudoku game
|
|
|
|
atomix # puzzle game
|
|
|
|
]);
|
|
|
|
}
|