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