chore: maintain
This commit is contained in:
parent
2378a66114
commit
25482857d4
58 changed files with 1095 additions and 747 deletions
43
home/user/image-viewer.nix
Normal file
43
home/user/image-viewer.nix
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
home.packages = with pkgs; [ loupe ];
|
||||
|
||||
xdg.mimeApps =
|
||||
let
|
||||
value = "org.gnome.Loupe.desktop";
|
||||
|
||||
associations = builtins.listToAttrs (
|
||||
map
|
||||
(name: {
|
||||
inherit name value;
|
||||
})
|
||||
[
|
||||
"image/png"
|
||||
"image/jpeg"
|
||||
"image/gif"
|
||||
"image/bmp"
|
||||
"image/webp"
|
||||
"image/tiff"
|
||||
"image/svg+xml"
|
||||
"image/x-icon"
|
||||
"image/avif"
|
||||
"image/heif"
|
||||
"image/heic"
|
||||
"image/jxl"
|
||||
"image/apng"
|
||||
"image/x-raw"
|
||||
"image/x-xbitmap"
|
||||
"image/x-xpixmap"
|
||||
"image/x-portable-bitmap"
|
||||
"image/x-portable-graymap"
|
||||
"image/x-portable-pixmap"
|
||||
"image/x-tga"
|
||||
"image/x-pcx"
|
||||
]
|
||||
);
|
||||
in
|
||||
{
|
||||
associations.added = associations;
|
||||
defaultApplications = associations;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue