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
{
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
# Latest version of vlc
@ -115,11 +125,9 @@ in
# Soulseek client
nicotine-plus
# Mopidy + extensions
mopidy
mopidy-mpd
mopidy-iris
mopidy-scrobbler
mopidy-local
mopidyEnv
# Iris desktop client
irisDesktopItem
# Picard for sorting
unstable.picard
];