mirror of
https://github.com/SchildiChat/schildichat-desktop.git
synced 2025-03-28 19:12:00 +01:00
flake: add default apps
Signed-off-by: Finn Behrens <me@kloenk.dev>
This commit is contained in:
parent
b0fa36abac
commit
7fab0738a7
15
flake.nix
15
flake.nix
@ -25,5 +25,20 @@
|
|||||||
schildichat-desktop-wayland
|
schildichat-desktop-wayland
|
||||||
;
|
;
|
||||||
}) nixpkgsFor;
|
}) 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);
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user