mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 00:33:00 +00:00
mime: *.nix
This commit is contained in:
parent
33e215b2bf
commit
2cfb136270
1 changed files with 15 additions and 0 deletions
|
|
@ -12,6 +12,8 @@
|
|||
"text/x-python"
|
||||
"application/yaml" # .yaml, .yml
|
||||
"text/x-patch" # .patch .diff
|
||||
"text/x-devicetree-source" # .dts
|
||||
"text/x-nix" # .nix (custom defined below)
|
||||
]
|
||||
++ [
|
||||
"text/csv"
|
||||
|
|
@ -92,4 +94,17 @@ in {
|
|||
// mkAssoc archiveManager archive;
|
||||
};
|
||||
home.sessionVariables.BROWSER = "firefox";
|
||||
|
||||
xdg.dataFile = {
|
||||
"mime/packages/nix.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-nix">
|
||||
<comment>Nix Source Code</comment>
|
||||
<glob pattern="*.nix"/>
|
||||
<sub-class-of type="text/plain"/>
|
||||
</mime-type>
|
||||
</mime-info>
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue