62 lines
1.5 KiB
Nix
62 lines
1.5 KiB
Nix
{ pkgs, lib, ... }: {
|
|
imports = [
|
|
./desktop/App.nix
|
|
./desktop/Dconf.nix
|
|
./desktop/DisplayManager.nix
|
|
./desktop/Sound.nix
|
|
];
|
|
|
|
# Default apps.
|
|
xdg.mime.defaultApplications = {
|
|
# Use `file -i file.txt` to find file mime type.
|
|
# Use `xdg-mime query default "text/plain"` to find default app.
|
|
"application/pdf" = "org.gnome.Evince.desktop";
|
|
"application/vnd.openxmlformats-officedocument.*" = "onlyoffice-desktopeditors.desktop";
|
|
"audio/*" = "mpv.desktop";
|
|
"image/*" = "org.gnome.Loupe.desktop";
|
|
"text/*" = "nvim.desktop";
|
|
"video/*" = "mpv.desktop";
|
|
};
|
|
|
|
# Extra apps.
|
|
environment.systemPackages = with pkgs; [
|
|
adwsteamgtk
|
|
gnome.gnome-remote-desktop
|
|
gnome.gnome-tweaks
|
|
gradience
|
|
openssl
|
|
wl-clipboard
|
|
];
|
|
|
|
# Disable some apps.
|
|
services.gnome.gnome-keyring.enable = lib.mkForce false;
|
|
environment.gnome.excludePackages = with pkgs.gnome; [
|
|
# baobab # Disk usage analyzer.
|
|
# cheese # Photo booth.
|
|
# epiphany # Web browser.
|
|
# simple-scan # Document scanner.
|
|
# totem # Video player.
|
|
# yelp # Help viewer.
|
|
# file-roller # Archive manager.
|
|
# geary # Email client.
|
|
# seahorse # Password manager.
|
|
|
|
# gnome-calculator
|
|
# gnome-calendar
|
|
# gnome-characters
|
|
# gnome-clocks
|
|
# gnome-contacts
|
|
# gnome-font-viewer
|
|
# gnome-keyring
|
|
# gnome-logs
|
|
# gnome-maps
|
|
# gnome-music
|
|
# gnome-shell-extensions
|
|
gnome-software
|
|
# gnome-system-monitor
|
|
# gnome-weather
|
|
# gnome-disk-utility
|
|
# pkgs.gnome-text-editor
|
|
];
|
|
}
|