From 960370e74fb87ae9c02b0a355fb301187a9a93a1 Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Wed, 19 Jun 2024 22:04:19 -0400 Subject: [PATCH] home/defaultApps: set default cinnamon temrinal app --- homeManagerModules/defaultApps.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/homeManagerModules/defaultApps.nix b/homeManagerModules/defaultApps.nix index fa35a940..6416c526 100644 --- a/homeManagerModules/defaultApps.nix +++ b/homeManagerModules/defaultApps.nix @@ -10,10 +10,20 @@ editor.package imageViewer.package pdfEditor.package + terminal.package terminalEditor.package videoPlayer.package webBrowser.package ]; + + dconf = { + enable = true; + settings = { + "org/cinnamon/desktop/applications/terminal".exec = "${config.alyraffauf.defaultApps.terminal.exe}"; + "org/cinnamon/desktop/default-applications/terminal".exec = "${config.alyraffauf.defaultApps.terminal.exe}"; + }; + }; + xdg.mimeApps = { enable = true; defaultApplications = {