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,26 +103,34 @@ let
'';
in
{
environment.systemPackages = with pkgs; [
# Spotify
spotify
# Latest version of vlc
unstable.vlc
# Plex client
plex-media-player
# OBS studio for screen recording
unstable.obs-studio
# Soulseek client
nicotine-plus
# Mopidy + extensions
mopidy
mopidy-mpd
mopidy-iris
mopidy-scrobbler
mopidy-local
# Picard for sorting
unstable.picard
];
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
unstable.vlc
# Plex client
plex-media-player
# OBS studio for screen recording
unstable.obs-studio
# Soulseek client
nicotine-plus
# Mopidy + extensions
mopidyEnv
# Iris desktop client
irisDesktopItem
# Picard for sorting
unstable.picard
];
# Start mopidy as a user service, for sanity
systemd.user.services.mopidy = {