From c9603d30c079442774c4db0e7395e6f9852dc1ef Mon Sep 17 00:00:00 2001 From: Pim Kunis Date: Sun, 1 Oct 2023 12:23:09 +0200 Subject: [PATCH] add separate firefox launcher for work --- home.nix | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/home.nix b/home.nix index ef1f0c5..a9634b5 100644 --- a/home.nix +++ b/home.nix @@ -156,5 +156,25 @@ in enable = true; }; - xdg.configFile."keepassxc/keepassxc.ini".text = lib.generators.toINI {} (import ./keepassxc.nix); + xdg = { + configFile."keepassxc/keepassxc.ini".text = lib.generators.toINI {} (import ./keepassxc.nix); + desktopEntries.firefox-sue = { + categories = [ "Network" "WebBrowser" ]; + exec = "firefox -P sue --name firefox %U"; + genericName = "Web Browser"; + icon = "firefox"; + mimeType = [ + "text/html" + "text/xml" + "application/xhtml+xml" + "application/vnd.mozilla.xul+xml" + "x-scheme-handler/http" + "x-scheme-handler/https" + ]; + name = "Firefox | Sue"; + startupNotify = true; + terminal = false; + type = "Application"; + }; + }; }