20 lines
No EOL
457 B
Nix
20 lines
No EOL
457 B
Nix
{ mkNixPak, callPackage }:
|
|
|
|
mkNixPak {
|
|
config = { sloth, ... }: {
|
|
imports = [ ../modules/gui-base.nix ];
|
|
dbus.policies = {
|
|
"org.mpris.MediaPlayer2.*" = "own";
|
|
};
|
|
flatpak.appId = "io.bassi.Amberol";
|
|
bubblewrap = {
|
|
bind.rw = [
|
|
(sloth.concat' sloth.xdgCacheHome "/amberol")
|
|
];
|
|
bind.ro = [
|
|
(sloth.concat' sloth.homeDir "/Music")
|
|
];
|
|
};
|
|
app.package = callPackage ./amberol.nix {};
|
|
};
|
|
} |