feat: enable spotify-player

This commit is contained in:
Youwen Wu 2024-11-06 01:43:39 -08:00
parent d19de29379
commit 9b074ef1c3
Signed by: youwen5
GPG key ID: 865658ED1FE61EC3
3 changed files with 10 additions and 5 deletions

View file

@ -5,13 +5,13 @@
}:
{
imports =
with inputs;
[
./configuration.nix
../../modules/linux/audio
../../modules/linux/networking
../../modules/linux/fonts
../../modules/linux/greeter
# ../../modules/linux/spotifyd
../../modules/linux/core
../../modules/linux/desktop-portal
../../modules/linux/stylix

View file

@ -2,9 +2,12 @@
{
services.spotifyd = {
enable = true;
# settings = {global = 320;};
settings = {
global = {
bitrate = 320;
use_mpris = true;
device_type = "computer";
};
};
};
environment.systemPackages = [
pkgs.spotify-player
];
}

View file

@ -51,6 +51,8 @@
services.easyeffects.enable = true;
services.easyeffects.package = pkgs.easyeffects;
programs.spotify-player.enable = true;
# Notification daemon
# services.dunst = {
# enable = true;