config/packages/nixpak/amberol/default.nix

24 lines
549 B
Nix
Raw Normal View History

{ mkNixPak, amberol }:
mkNixPak {
2022-12-05 18:00:03 +02:00
config = { sloth, ... }: {
imports = [ ../modules/gui-base.nix ];
dbus.policies = {
"org.mpris.MediaPlayer2.*" = "own";
};
flatpak.appId = "io.bassi.Amberol";
bubblewrap = {
bind.rw = [
[
(sloth.mkdir (sloth.concat' sloth.appCacheDir "/amberol"))
(sloth.concat' sloth.xdgCacheHome "/amberol")
]
];
2022-07-07 22:53:22 +03:00
bind.ro = [
2022-12-05 18:00:03 +02:00
(sloth.concat' sloth.homeDir "/Music")
"/srv/data/music"
2022-07-07 22:53:22 +03:00
];
};
app.package = amberol;
};
}