Compare commits

..

4 commits

Author SHA1 Message Date
7cdec173d0 neovim: taplo 2024-10-20 04:26:39 -07:00
9f8858fe34 neovim: stylua 2024-10-20 04:20:05 -07:00
3e1199a700 filetypes: adjusting associations added 2024-10-19 22:34:04 -07:00
ff98b2da60 snowhawk: add obsidian to sessionizer 2024-10-19 13:16:38 -07:00
3 changed files with 22 additions and 13 deletions

View file

@ -9,6 +9,18 @@ in {
xdg.mimeApps =
let
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 =
value: list:
@ -18,24 +30,15 @@ in {
{
enable = true;
defaultApplications = lib.mkMerge [
(mimeAppsFor browser [
"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 browser browserApps)
(mimeAppsFor "brave-browser.desktop" [
"x-scheme-handler/chrome"
])
];
associations.added = lib.mkMerge [
(mimeAppsFor browser browserApps)
];
};
home.sessionVariables = {

View file

@ -61,6 +61,8 @@ in
rustup
lua-language-server
fzf
stylua
taplo
];
};
};

View file

@ -49,6 +49,10 @@
homeNetwork = true;
};
snowhawk.tmux.sessionizer.paths = [
"~/obsidian"
];
home.packages = with pkgs; [
ripgrep
unzip