Compare commits

...

2 commits

Author SHA1 Message Date
6a3c7cfb84
feat: add spt alias for spotify player 2024-11-06 01:44:42 -08:00
9b074ef1c3
feat: enable spotify-player 2024-11-06 01:43:39 -08:00
3 changed files with 11 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;
@ -104,5 +106,6 @@
end
'';
};
spt = "${pkgs.spotify-player}/bin/spotify_player";
};
}