mirror of
https://github.com/js0ny/dotfiles.git
synced 2026-03-21 18:26:20 +00:00
mime(cia): Add nintendo 3ds cia mime
This commit is contained in:
parent
130a16e67f
commit
7e0e7fcae8
2 changed files with 20 additions and 0 deletions
|
|
@ -115,6 +115,7 @@ in {
|
||||||
kdePackages.elisa
|
kdePackages.elisa
|
||||||
showmethekey
|
showmethekey
|
||||||
readest
|
readest
|
||||||
|
openclaw
|
||||||
|
|
||||||
# Use Wayland for Jetbrains
|
# Use Wayland for Jetbrains
|
||||||
# (jetbrains.idea-ultimate.override {
|
# (jetbrains.idea-ultimate.override {
|
||||||
|
|
@ -171,4 +172,7 @@ in {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
programs.waveterm.enable = true;
|
programs.waveterm.enable = true;
|
||||||
|
nixpkgs.config.permittedInsecurePackages = [
|
||||||
|
"openclaw-2026.2.26"
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -114,6 +114,7 @@ in {
|
||||||
<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
|
<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
|
||||||
<mime-type type="text/x-nix">
|
<mime-type type="text/x-nix">
|
||||||
<comment>Nix Source Code</comment>
|
<comment>Nix Source Code</comment>
|
||||||
|
<comment xml:lang="zh_CN">Nix 源代码</comment>
|
||||||
<glob pattern="*.nix"/>
|
<glob pattern="*.nix"/>
|
||||||
<sub-class-of type="text/plain"/>
|
<sub-class-of type="text/plain"/>
|
||||||
</mime-type>
|
</mime-type>
|
||||||
|
|
@ -125,6 +126,7 @@ in {
|
||||||
<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
|
<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
|
||||||
<mime-type type="text/x-pdx-descriptor">
|
<mime-type type="text/x-pdx-descriptor">
|
||||||
<comment>Paradox Mod Descriptor</comment>
|
<comment>Paradox Mod Descriptor</comment>
|
||||||
|
<comment xml:lang="zh_CN">Paradox Mod 描述文件</comment>
|
||||||
<sub-class-of type="text/plain"/>
|
<sub-class-of type="text/plain"/>
|
||||||
<glob pattern="*.mod" weight="80"/> <magic priority="80">
|
<glob pattern="*.mod" weight="80"/> <magic priority="80">
|
||||||
<match value="name=" type="string" offset="0:200"/>
|
<match value="name=" type="string" offset="0:200"/>
|
||||||
|
|
@ -135,5 +137,19 @@ in {
|
||||||
</mime-type>
|
</mime-type>
|
||||||
</mime-info>
|
</mime-info>
|
||||||
'';
|
'';
|
||||||
|
# Nintendo CTR Importable Archive (CIA) File
|
||||||
|
"mime/packages/ctr-cia.xml".text = ''
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
|
||||||
|
<mime-type type="application/x-ctr-importable-archive">
|
||||||
|
<comment>Nintendo 3DS CTR Importable Archive</comment>
|
||||||
|
<comment xml:lang="zh_CN">任天堂3DS CTR可导入档案 (CIA)</comment>
|
||||||
|
<glob pattern="*.cia"/>
|
||||||
|
<magic priority="50">
|
||||||
|
<match type="string" offset="0" value="\x20\x20\x00\x00\x00\x00\x00\x00"/>
|
||||||
|
</magic>
|
||||||
|
</mime-type>
|
||||||
|
</mime-info>
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue