config/profiles/desktop/gnome/default.nix

70 lines
2.3 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
2024-12-23 15:58:00 +01:00
services.udev.packages = [
(pkgs.gnome-settings-daemon or pkgs.gnome.gnome-settings-daemon)
];
2023-03-09 09:28:11 +01:00
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
2024-09-13 18:25:22 +02:00
services.gnome.gnome-browser-connector.enable = true;
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
2024-12-23 15:58:00 +01:00
(pkgs.gnome-tweaks or pkgs.gnome.gnome-tweaks)
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
2024-09-21 23:56:32 +02:00
2024-10-08 15:15:46 +02:00
loupe
2024-09-21 23:56:32 +02:00
desktop-file-utils # update-desktop-database
2023-03-09 09:28:11 +01:00
];
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)
2024-10-09 08:58:12 +02:00
papers # Document Viewer (new)
2024-12-23 15:58:00 +01:00
(pkgs.eog or pkgs.gnome.eog)
#pkgs.cheese # webcam tool
#pkgs.baobab # Disk Usage Analyser
(pkgs.simple-scan or pkgs.gnome.simple-scan) # scanning utility
(pkgs.yelp or pkgs.gnome.yelp) # Help
(pkgs.evince or pkgs.gnome.evince) # Document Viewer
(pkgs.gnome-music or pkgs.gnome.gnome-music)
(pkgs.gnome-terminal or pkgs.gnome.gnome-terminal)
(pkgs.epiphany or pkgs.gnome.epiphany) # web browser
(pkgs.geary or pkgs.gnome.geary) # email reader
(pkgs.totem or pkgs.gnome.totem) # video player
(pkgs.tali or pkgs.gnome.tali) # poker game
(pkgs.iagno or pkgs.gnome.iagno) # go game
(pkgs.hitori or pkgs.gnome.hitori) # sudoku game
(pkgs.atomix or pkgs.gnome.atomix) # puzzle game
2023-03-09 09:28:11 +01:00
]);
}