Switch to nixfmt
This commit is contained in:
parent
44794e2c3d
commit
5b974a203b
63 changed files with 990 additions and 946 deletions
|
|
@ -63,17 +63,11 @@ let
|
|||
categories = [ "AudioVideo" ];
|
||||
}
|
||||
];
|
||||
webAppBuilder =
|
||||
{ desktopName
|
||||
, name ? builtins.replaceStrings [ " " ] [ "_" ] desktopName
|
||||
, link
|
||||
, icon ? lib.toLower name
|
||||
, comment ? null
|
||||
, categories ? [ "Network" ]
|
||||
}:
|
||||
webAppBuilder = { desktopName
|
||||
, name ? builtins.replaceStrings [ " " ] [ "_" ] desktopName, link
|
||||
, icon ? lib.toLower name, comment ? null, categories ? [ "Network" ] }:
|
||||
pkgs.makeDesktopItem {
|
||||
inherit name icon desktopName comment categories;
|
||||
exec = cmd link;
|
||||
};
|
||||
in
|
||||
{ home.packages = map webAppBuilder links; }
|
||||
in { home.packages = map webAppBuilder links; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue