Merge pull request #95 from nyantec/flake-default-app

flake: add default apps
This commit is contained in:
su-ex 2021-09-15 09:31:16 +02:00 committed by GitHub
commit f0c2fa1d85
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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);
};
}