mirror of
https://github.com/youwen5/nixos.git
synced 2024-11-24 17:53:51 -08:00
feat: enable spotify-player
This commit is contained in:
parent
d19de29379
commit
9b074ef1c3
3 changed files with 10 additions and 5 deletions
|
@ -5,13 +5,13 @@
|
||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
imports =
|
imports =
|
||||||
with inputs;
|
|
||||||
[
|
[
|
||||||
./configuration.nix
|
./configuration.nix
|
||||||
../../modules/linux/audio
|
../../modules/linux/audio
|
||||||
../../modules/linux/networking
|
../../modules/linux/networking
|
||||||
../../modules/linux/fonts
|
../../modules/linux/fonts
|
||||||
../../modules/linux/greeter
|
../../modules/linux/greeter
|
||||||
|
# ../../modules/linux/spotifyd
|
||||||
../../modules/linux/core
|
../../modules/linux/core
|
||||||
../../modules/linux/desktop-portal
|
../../modules/linux/desktop-portal
|
||||||
../../modules/linux/stylix
|
../../modules/linux/stylix
|
||||||
|
|
|
@ -2,9 +2,12 @@
|
||||||
{
|
{
|
||||||
services.spotifyd = {
|
services.spotifyd = {
|
||||||
enable = true;
|
enable = true;
|
||||||
# settings = {global = 320;};
|
settings = {
|
||||||
|
global = {
|
||||||
|
bitrate = 320;
|
||||||
|
use_mpris = true;
|
||||||
|
device_type = "computer";
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
environment.systemPackages = [
|
|
||||||
pkgs.spotify-player
|
|
||||||
];
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -51,6 +51,8 @@
|
||||||
services.easyeffects.enable = true;
|
services.easyeffects.enable = true;
|
||||||
services.easyeffects.package = pkgs.easyeffects;
|
services.easyeffects.package = pkgs.easyeffects;
|
||||||
|
|
||||||
|
programs.spotify-player.enable = true;
|
||||||
|
|
||||||
# Notification daemon
|
# Notification daemon
|
||||||
# services.dunst = {
|
# services.dunst = {
|
||||||
# enable = true;
|
# enable = true;
|
||||||
|
|
Loading…
Reference in a new issue