2022-03-08 01:42:46 +00:00
|
|
|
{
|
|
|
|
pkgs,
|
|
|
|
config,
|
|
|
|
...
|
|
|
|
}: let
|
2020-10-14 01:01:22 +00:00
|
|
|
simpleDesktopItem = name: command:
|
|
|
|
pkgs.makeDesktopItem {
|
2022-03-08 02:19:09 +00:00
|
|
|
inherit name;
|
2020-10-14 01:01:22 +00:00
|
|
|
desktopName = name;
|
|
|
|
exec = command;
|
|
|
|
};
|
|
|
|
namedTerminalDesktopItem = name: command:
|
|
|
|
pkgs.makeDesktopItem {
|
2022-03-08 02:19:09 +00:00
|
|
|
inherit name;
|
2020-10-14 01:01:22 +00:00
|
|
|
desktopName = name;
|
|
|
|
exec = command;
|
2022-06-01 10:04:15 +00:00
|
|
|
terminal = true;
|
2020-10-14 01:01:22 +00:00
|
|
|
};
|
|
|
|
superSimpleDesktopItem = name: simpleDesktopItem name name;
|
|
|
|
terminalDesktopItem = name: namedTerminalDesktopItem name name;
|
2022-03-08 01:42:46 +00:00
|
|
|
in {
|
|
|
|
home.packages = map superSimpleDesktopItem ["kassandra2"] ++ map terminalDesktopItem ["unlock-ssh"];
|
2020-10-14 01:01:22 +00:00
|
|
|
}
|