Switch to nixpkgs-fmt formatter
This commit is contained in:
parent
36f6903639
commit
ca59cb8f3c
45 changed files with 695 additions and 606 deletions
|
|
@ -75,11 +75,17 @@ 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