refactor: desktop default applications
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
{
|
||||
homeDirectory,
|
||||
lib,
|
||||
terminal,
|
||||
terminalCommand,
|
||||
}:
|
||||
{
|
||||
settingsVersion = 53;
|
||||
@@ -260,7 +260,7 @@
|
||||
pinnedApps = [ ];
|
||||
useApp2Unit = false;
|
||||
sortByMostUsed = true;
|
||||
terminalCommand = lib.concatStringsSep " " ([ terminal.command ] ++ terminal.execArgs);
|
||||
inherit terminalCommand;
|
||||
customLaunchPrefixEnabled = false;
|
||||
customLaunchPrefix = "";
|
||||
viewMode = "grid";
|
||||
|
||||
@@ -8,13 +8,13 @@ let
|
||||
{
|
||||
homeDirectory,
|
||||
lib,
|
||||
terminal,
|
||||
terminalCommand,
|
||||
}:
|
||||
import ./_noctalia-config.nix {
|
||||
inherit
|
||||
homeDirectory
|
||||
lib
|
||||
terminal
|
||||
terminalCommand
|
||||
;
|
||||
};
|
||||
|
||||
@@ -22,13 +22,13 @@ let
|
||||
{
|
||||
homeDirectory,
|
||||
lib,
|
||||
terminal,
|
||||
terminalCommand,
|
||||
}:
|
||||
mkNoctaliaSettings {
|
||||
inherit
|
||||
homeDirectory
|
||||
lib
|
||||
terminal
|
||||
terminalCommand
|
||||
;
|
||||
};
|
||||
|
||||
@@ -68,7 +68,7 @@ in
|
||||
baseSettings = mkBaseSettings {
|
||||
inherit lib;
|
||||
homeDirectory = config.home.homeDirectory;
|
||||
terminal = config.repo.terminal.primary;
|
||||
terminalCommand = lib.getExe pkgs.xdg-terminal-exec;
|
||||
};
|
||||
settings =
|
||||
if baseSettings == { } || !osConfig.meta.machine.portable then
|
||||
|
||||
Reference in New Issue
Block a user