Compare commits
4 commits
dc508175a7
...
7cdec173d0
Author | SHA1 | Date | |
---|---|---|---|
7cdec173d0 | |||
9f8858fe34 | |||
3e1199a700 | |||
ff98b2da60 |
3 changed files with 22 additions and 13 deletions
|
@ -9,6 +9,18 @@ in {
|
||||||
xdg.mimeApps =
|
xdg.mimeApps =
|
||||||
let
|
let
|
||||||
browser = "firefox.desktop";
|
browser = "firefox.desktop";
|
||||||
|
browserApps = [
|
||||||
|
"application/pdf"
|
||||||
|
"application/x-extension-htm"
|
||||||
|
"application/x-extension-html"
|
||||||
|
"application/x-extension-shtml"
|
||||||
|
"application/x-extension-xht"
|
||||||
|
"application/x-extension-xhtml"
|
||||||
|
"application/xhtml+xml"
|
||||||
|
"text/html"
|
||||||
|
"x-scheme-handler/http"
|
||||||
|
"x-scheme-handler/https"
|
||||||
|
];
|
||||||
|
|
||||||
mimeAppsFor =
|
mimeAppsFor =
|
||||||
value: list:
|
value: list:
|
||||||
|
@ -18,24 +30,15 @@ in {
|
||||||
{
|
{
|
||||||
enable = true;
|
enable = true;
|
||||||
defaultApplications = lib.mkMerge [
|
defaultApplications = lib.mkMerge [
|
||||||
(mimeAppsFor browser [
|
(mimeAppsFor browser browserApps)
|
||||||
"application/pdf"
|
|
||||||
"application/x-extension-htm"
|
|
||||||
"application/x-extension-html"
|
|
||||||
"application/x-extension-shtml"
|
|
||||||
"application/x-extension-xht"
|
|
||||||
"application/x-extension-xhtml"
|
|
||||||
"application/xhtml+xml"
|
|
||||||
"text/html"
|
|
||||||
"x-scheme-handler/about"
|
|
||||||
"x-scheme-handler/http"
|
|
||||||
"x-scheme-handler/https"
|
|
||||||
])
|
|
||||||
|
|
||||||
(mimeAppsFor "brave-browser.desktop" [
|
(mimeAppsFor "brave-browser.desktop" [
|
||||||
"x-scheme-handler/chrome"
|
"x-scheme-handler/chrome"
|
||||||
])
|
])
|
||||||
];
|
];
|
||||||
|
associations.added = lib.mkMerge [
|
||||||
|
(mimeAppsFor browser browserApps)
|
||||||
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
home.sessionVariables = {
|
home.sessionVariables = {
|
||||||
|
|
|
@ -61,6 +61,8 @@ in
|
||||||
rustup
|
rustup
|
||||||
lua-language-server
|
lua-language-server
|
||||||
fzf
|
fzf
|
||||||
|
stylua
|
||||||
|
taplo
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -49,6 +49,10 @@
|
||||||
homeNetwork = true;
|
homeNetwork = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
snowhawk.tmux.sessionizer.paths = [
|
||||||
|
"~/obsidian"
|
||||||
|
];
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
ripgrep
|
ripgrep
|
||||||
unzip
|
unzip
|
||||||
|
|
Loading…
Reference in a new issue