2023-03-30 20:39:35 +03:00
|
|
|
{ mkNixPak, amberol }:
|
2022-07-01 22:45:13 +03:00
|
|
|
|
|
|
|
mkNixPak {
|
2022-12-05 18:00:03 +02:00
|
|
|
config = { sloth, ... }: {
|
2023-05-03 00:50:40 +03:00
|
|
|
imports = [
|
|
|
|
../modules/gui-base.nix
|
|
|
|
../modules/mpris2-player.nix
|
|
|
|
];
|
2022-07-03 00:23:59 +03:00
|
|
|
flatpak.appId = "io.bassi.Amberol";
|
2022-07-01 22:45:13 +03:00
|
|
|
bubblewrap = {
|
|
|
|
bind.rw = [
|
2023-01-07 20:24:33 +02:00
|
|
|
[
|
|
|
|
(sloth.mkdir (sloth.concat' sloth.appCacheDir "/amberol"))
|
|
|
|
(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")
|
2023-01-22 17:23:11 +02:00
|
|
|
"/srv/data/music"
|
2022-07-07 22:53:22 +03:00
|
|
|
];
|
2022-07-01 22:45:13 +03:00
|
|
|
};
|
2023-03-30 20:39:35 +03:00
|
|
|
app.package = amberol;
|
2022-07-01 22:45:13 +03:00
|
|
|
};
|
|
|
|
}
|