refactor(flake): move some code out of flake.in.nix

This commit is contained in:
matt1432 2024-07-21 17:12:26 -04:00
parent b3b65c1bd9
commit c701e335d1
39 changed files with 54 additions and 42 deletions

12
apps/default.nix Normal file
View file

@ -0,0 +1,12 @@
{
inputs,
pkgs,
...
}: let
mkApp = file: {
program = pkgs.callPackage file ({} // inputs);
type = "app";
};
in {
updateFlake = mkApp ./update;
}