55 lines
1.6 KiB
Nix
55 lines
1.6 KiB
Nix
{ config, pkgs, ... }:
|
|
{
|
|
services.xserver.enable = true;
|
|
services.xserver.displayManager.gdm.enable = true;
|
|
services.xserver.displayManager.gdm.wayland = true;
|
|
services.xserver.desktopManager.gnome.enable = true;
|
|
#services.printing.enable = true; # CUPS
|
|
programs.xwayland.enable = true;
|
|
xdg.portal.enable = true;
|
|
|
|
services.udev.packages = with pkgs; [ gnome.gnome-settings-daemon ];
|
|
|
|
programs.gnome-terminal.enable = false;
|
|
|
|
services.tumbler.enable = true; # TODO: needed when we have ffmpegthumbnailer?
|
|
services.gnome.sushi.enable = true;
|
|
services.gnome.gnome-online-accounts.enable = true;
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
firefox
|
|
pavucontrol
|
|
lxterminal
|
|
# TODO: shadow gnome-terminal
|
|
ffmpegthumbnailer
|
|
gnomeExtensions.appindicator
|
|
];
|
|
|
|
# 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
|
|
|
|
environment.gnome.excludePackages = (with pkgs; [
|
|
gnome-photos
|
|
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
|
|
]);
|
|
}
|