xdg.nix: add extra settings
This commit is contained in:
parent
3d7f1b0c2a
commit
2d6727f36e
1 changed files with 45 additions and 39 deletions
|
@ -22,7 +22,12 @@ in {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
xdg.mime = {
|
xdg = {
|
||||||
|
autostart.enable = true;
|
||||||
|
menus.enable = true;
|
||||||
|
icons.enable = true;
|
||||||
|
mime = {
|
||||||
|
enable = true;
|
||||||
defaultApplications = {
|
defaultApplications = {
|
||||||
"text/html" = [primary_browser];
|
"text/html" = [primary_browser];
|
||||||
"x-scheme-handler/http" = [primary_browser];
|
"x-scheme-handler/http" = [primary_browser];
|
||||||
|
@ -63,4 +68,5 @@ in {
|
||||||
"application/pdf" = [pdf_viewer];
|
"application/pdf" = [pdf_viewer];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue