2023-03-30 19:39:35 +02:00
|
|
|
{ mkNixPak, amberol }:
|
2022-07-01 21:45:13 +02:00
|
|
|
|
|
|
|
mkNixPak {
|
2022-12-05 17:00:03 +01:00
|
|
|
config = { sloth, ... }: {
|
2022-07-07 20:16:12 +02:00
|
|
|
imports = [ ../modules/gui-base.nix ];
|
2022-07-01 21:45:13 +02:00
|
|
|
dbus.policies = {
|
|
|
|
"org.mpris.MediaPlayer2.*" = "own";
|
|
|
|
};
|
2022-07-02 23:23:59 +02:00
|
|
|
flatpak.appId = "io.bassi.Amberol";
|
2022-07-01 21:45:13 +02:00
|
|
|
bubblewrap = {
|
|
|
|
bind.rw = [
|
2023-01-07 19:24:33 +01:00
|
|
|
[
|
|
|
|
(sloth.mkdir (sloth.concat' sloth.appCacheDir "/amberol"))
|
|
|
|
(sloth.concat' sloth.xdgCacheHome "/amberol")
|
|
|
|
]
|
2022-07-01 21:45:13 +02:00
|
|
|
];
|
2022-07-07 21:53:22 +02:00
|
|
|
bind.ro = [
|
2022-12-05 17:00:03 +01:00
|
|
|
(sloth.concat' sloth.homeDir "/Music")
|
2023-01-22 16:23:11 +01:00
|
|
|
"/srv/data/music"
|
2022-07-07 21:53:22 +02:00
|
|
|
];
|
2022-07-01 21:45:13 +02:00
|
|
|
};
|
2023-03-30 19:39:35 +02:00
|
|
|
app.package = amberol;
|
2022-07-01 21:45:13 +02:00
|
|
|
};
|
|
|
|
}
|