refactor: desktop default applications

This commit is contained in:
2026-04-27 17:28:34 +02:00
parent 93624900ad
commit 088080590c
10 changed files with 106 additions and 76 deletions
+4 -4
View File
@@ -2,7 +2,7 @@
let
repo = config.repo;
mkPrimaryTerminal =
mkTerminal =
{
desktopId,
packageFor,
@@ -16,7 +16,7 @@ let
imports = [ terminalModule ];
config = {
repo.terminal.primary = {
meta.terminal = {
inherit
desktopId
package
@@ -155,13 +155,13 @@ in
};
};
flake.modules.homeManager.primary-terminal-foot = mkPrimaryTerminal {
flake.modules.homeManager.primary-terminal-foot = mkTerminal {
desktopId = "foot.desktop";
packageFor = pkgs: pkgs.foot;
terminalModule = config.flake.modules.homeManager.terminal-foot;
};
flake.modules.homeManager.primary-terminal-kitty = mkPrimaryTerminal {
flake.modules.homeManager.primary-terminal-kitty = mkTerminal {
desktopId = "kitty.desktop";
packageFor = pkgs: pkgs.kitty;
terminalModule = config.flake.modules.homeManager.terminal-kitty;