config/packages/nixpak/amberol/default.nix

20 lines
393 B
Nix
Raw Normal View History

{ mkNixPak, callPackage }:
mkNixPak {
config = {
imports = [ ../modules/gui-base.nix ];
dbus.policies = {
"org.mpris.MediaPlayer2.*" = "own";
};
flatpak.appId = "io.bassi.Amberol";
bubblewrap = {
bind.rw = [
"$HOME/.cache/amberol"
];
2022-07-07 22:53:22 +03:00
bind.ro = [
"$HOME/Music"
];
};
app.package = callPackage ./amberol.nix {};
};
}