Add iris desktop item

This commit is contained in:
Nathan McCarty 2022-06-07 22:14:30 -04:00
parent 229c91b131
commit cd1788e95a
Signed by: thatonelutenist
GPG Key ID: D70DA3DD4D1E9F96
1 changed files with 28 additions and 20 deletions

View File

@ -103,7 +103,17 @@ let
''; '';
in in
{ {
environment.systemPackages = with pkgs; [ environment.systemPackages =
let
## Wrapper around iris
irisDesktopItem = pkgs.makeDesktopItem {
name = "iris";
desktopName = "Iris";
exec = "${pkgs.chromium}/bin/chromium --enable-features=UseOzonePlatform -ozone-platform=wayland --app=\"http://localhost:6680/iris/\"";
terminal = false;
};
in
with pkgs; [
# Spotify # Spotify
spotify spotify
# Latest version of vlc # Latest version of vlc
@ -115,11 +125,9 @@ in
# Soulseek client # Soulseek client
nicotine-plus nicotine-plus
# Mopidy + extensions # Mopidy + extensions
mopidy mopidyEnv
mopidy-mpd # Iris desktop client
mopidy-iris irisDesktopItem
mopidy-scrobbler
mopidy-local
# Picard for sorting # Picard for sorting
unstable.picard unstable.picard
]; ];