flake: add default apps

Signed-off-by: Finn Behrens <me@kloenk.dev>
This commit is contained in:
Finn Behrens 2021-09-15 09:27:53 +02:00
parent b0fa36abac
commit 7fab0738a7

View File

@ -25,5 +25,20 @@
schildichat-desktop-wayland
;
}) nixpkgsFor;
defaultPackage = forAllSystems (system: self.packages.${system}.schildichat-desktop);
apps = forAllSystems(system: {
schildichat-desktop = {
type = "app";
program = "${self.packages.${system}.schildichat-desktop}/bin/schildichat-desktop";
};
schildichat-desktop-wayland = {
type = "app";
program = "${self.packages.${system}.schildichat-desktop-wayland}/bin/schildichat-desktop";
};
});
defaultApp = forAllSystems (system: self.apps.${system}.schildichat-desktop);
};
}