App : Add Evince & Loupe.
This commit is contained in:
parent
bd6ee35e49
commit
d94e0ae6e1
|
@ -6,19 +6,6 @@
|
||||||
./desktop/Sound.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; [
|
environment.systemPackages = with pkgs; [
|
||||||
adwsteamgtk
|
adwsteamgtk
|
||||||
gnome.gnome-remote-desktop
|
gnome.gnome-remote-desktop
|
||||||
|
@ -28,7 +15,6 @@
|
||||||
wl-clipboard
|
wl-clipboard
|
||||||
];
|
];
|
||||||
|
|
||||||
# Disable some apps.
|
|
||||||
services.gnome.gnome-keyring.enable = lib.mkForce false;
|
services.gnome.gnome-keyring.enable = lib.mkForce false;
|
||||||
environment.gnome.excludePackages = with pkgs.gnome; [
|
environment.gnome.excludePackages = with pkgs.gnome; [
|
||||||
# baobab # Disk usage analyzer.
|
# baobab # Disk usage analyzer.
|
||||||
|
|
|
@ -9,16 +9,6 @@
|
||||||
./desktop/Sound.nix
|
./desktop/Sound.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
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"; # TODO: Different apps?
|
|
||||||
"application/vnd.openxmlformats-officedocument.*" = "onlyoffice-desktopeditors.desktop";
|
|
||||||
"audio/*" = "mpv.desktop";
|
|
||||||
"image/*" = "org.gnome.Loupe.desktop";
|
|
||||||
"text/*" = "nvim.desktop";
|
|
||||||
"video/*" = "mpv.desktop";
|
|
||||||
};
|
|
||||||
|
|
||||||
services.gnome.gnome-keyring.enable = lib.mkForce false;
|
services.gnome.gnome-keyring.enable = lib.mkForce false;
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
|
|
|
@ -1,4 +1,15 @@
|
||||||
{ pkgs, ... }: {
|
{ pkgs, ... }: {
|
||||||
|
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";
|
||||||
|
};
|
||||||
|
|
||||||
hardware.opengl = let
|
hardware.opengl = let
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
dxvk
|
dxvk
|
||||||
|
@ -18,9 +29,11 @@
|
||||||
blender-hip
|
blender-hip
|
||||||
bottles dxvk gamescope mangohud vkd3d wine64
|
bottles dxvk gamescope mangohud vkd3d wine64
|
||||||
calibre
|
calibre
|
||||||
|
evince
|
||||||
gimp
|
gimp
|
||||||
godot_4 gdtoolkit
|
godot_4 gdtoolkit
|
||||||
jellyfin-media-player
|
jellyfin-media-player
|
||||||
|
loupe
|
||||||
mpv
|
mpv
|
||||||
obs-studio
|
obs-studio
|
||||||
onlyoffice-bin
|
onlyoffice-bin
|
||||||
|
|
Loading…
Reference in a new issue