mirror of
https://github.com/js0ny/dotfiles.git
synced 2026-02-04 11:30:33 +00:00
update mimedb
This commit is contained in:
parent
ec59899b2e
commit
ae7c310c17
4 changed files with 67 additions and 35 deletions
|
|
@ -4,7 +4,6 @@
|
|||
config,
|
||||
...
|
||||
}: let
|
||||
# FIXME: This will block the desktop files
|
||||
mkFcitxIM = builtins.map (
|
||||
p:
|
||||
lib.hiPrio (
|
||||
|
|
@ -138,12 +137,6 @@ in {
|
|||
NIXOS_OZONE_WL = 1;
|
||||
};
|
||||
|
||||
# TODO: This is a dependency of `feishin` (EOL)
|
||||
# Once the new version is published, delete this
|
||||
nixpkgs.config.permittedInsecurePackages = [
|
||||
"electron-36.9.5"
|
||||
];
|
||||
|
||||
# TODO: This is a workaround since upstram did not implement p.name for ticktick
|
||||
# xdg.desktopEntries."ticktick" = {
|
||||
# name = "TickTick";
|
||||
|
|
|
|||
|
|
@ -14,6 +14,7 @@
|
|||
"text/x-patch" # .patch .diff
|
||||
"text/x-devicetree-source" # .dts
|
||||
"text/x-nix" # .nix (custom defined below)
|
||||
"text/x-pdx-descriptor" # .mod (custom defined below)
|
||||
]
|
||||
++ [
|
||||
"text/csv"
|
||||
|
|
@ -114,5 +115,21 @@ in {
|
|||
</mime-type>
|
||||
</mime-info>
|
||||
'';
|
||||
# Mod descriptor file for Paradox games
|
||||
"mime/packages/pdx-mod-descriptor.xml".text = ''
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
|
||||
<mime-type type="text/x-pdx-descriptor">
|
||||
<comment>Paradox Mod Descriptor</comment>
|
||||
<sub-class-of type="text/plain"/>
|
||||
<glob pattern="*.mod" weight="80"/> <magic priority="80">
|
||||
<match value="name=" type="string" offset="0:200"/>
|
||||
<match value="tags=" type="string" offset="0:200"/>
|
||||
<match value="version=" type="string" offset="0:200"/>
|
||||
<match value="supported_version=" type="string" offset="0:200"/>
|
||||
</magic>
|
||||
</mime-type>
|
||||
</mime-info>
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -142,6 +142,7 @@ in {
|
|||
"file:///home/${username}/Atelier Atelier"
|
||||
"file:///home/${username}/Downloads Downloads"
|
||||
];
|
||||
xdg.configFile."gtk-3.0/bookmarks".force = true;
|
||||
|
||||
xdg.terminal-exec = {
|
||||
enable = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue