summaryrefslogtreecommitdiff
path: root/profiles/core/home.nix
diff options
context:
space:
mode:
authorMike Vink <59492084+ivi-vink@users.noreply.github.com>2025-01-19 12:28:58 +0000
committerMike Vink <59492084+ivi-vink@users.noreply.github.com>2025-01-19 12:39:25 +0000
commit10f12f49f7aa1197f0bc3cc999137540ec260c9b (patch)
tree788d322312ab69a1ad71117f5ebf2a4750adab5e /profiles/core/home.nix
parent0f6de348ad935de38cadd10bde68515c63595836 (diff)
use surf+tabbed
Diffstat (limited to 'profiles/core/home.nix')
-rw-r--r--profiles/core/home.nix37
1 files changed, 19 insertions, 18 deletions
diff --git a/profiles/core/home.nix b/profiles/core/home.nix
index 01ce9ec..b80749e 100644
--- a/profiles/core/home.nix
+++ b/profiles/core/home.nix
@@ -1,4 +1,5 @@
{
+ inputs,
machine,
lib,
config,
@@ -20,25 +21,25 @@ with lib; {
mimeApps = optionalAttrs (!machine.isDarwin) {
enable = true;
defaultApplications = {
- "text/x-shellscript" = ["text.desktop"];
+ "text/x-shellscript" = ["text.desktop"];
"application/x-bittorrent" = ["torrent.desktop"];
- "text/plain" = ["text.desktop"];
- "application/postscript" = ["pdf.desktop"];
- "application/pdf" = ["pdf.desktop"];
- "image/png" = ["img.desktop"];
- "image/jpeg" = ["img.desktop"];
- "image/gif" = ["img.desktop"];
- "application/rss+xml" = ["rss.desktop"];
- "video/x-matroska" = ["video.desktop"];
- "video/mp4" = ["video.desktop"];
- "x-scheme-handler/lbry" = ["lbry.desktop"];
- "inode/directory" = ["file.desktop"];
- "application/x-ica" = ["wfica.desktop"];
- "x-scheme-handler/magnet" = ["torrent.desktop"];
- "x-scheme-handler/mailto" = ["mail.desktop"];
+ "text/plain" = ["text.desktop"];
+ "application/postscript" = ["pdf.desktop"];
+ "application/pdf" = ["pdf.desktop"];
+ "image/png" = ["img.desktop"];
+ "image/jpeg" = ["img.desktop"];
+ "image/gif" = ["img.desktop"];
+ "application/rss+xml" = ["rss.desktop"];
+ "video/x-matroska" = ["video.desktop"];
+ "video/mp4" = ["video.desktop"];
+ "x-scheme-handler/lbry" = ["lbry.desktop"];
+ "inode/directory" = ["file.desktop"];
+ "application/x-ica" = ["wfica.desktop"];
+ "x-scheme-handler/magnet" = ["torrent.desktop"];
+ "x-scheme-handler/mailto" = ["mail.desktop"];
"x-scheme-handler/msteams" = ["teams.desktop"];
- "x-scheme-handler/http" = ["surf.desktop"];
- "x-scheme-handler/https" = ["surf.desktop"];
+ "x-scheme-handler/http" = ["surf.desktop"];
+ "x-scheme-handler/https" = ["surf.desktop"];
};
};
desktopEntries = with pkgs;
@@ -46,7 +47,7 @@ with lib; {
surf = {
type = "Application";
name = "Browser";
- exec = "${surf}/bin/surf %u";
+ exec = "${inputs.self}/mut/surf/surf-open.sh %u";
};
text = {
type = "Application";