mirror of
https://github.com/youwen5/nixos.git
synced 2024-11-24 17:53:51 -08:00
Compare commits
2 commits
d19de29379
...
6a3c7cfb84
Author | SHA1 | Date | |
---|---|---|---|
6a3c7cfb84 | |||
9b074ef1c3 |
3 changed files with 11 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;
|
||||||
|
@ -104,5 +106,6 @@
|
||||||
end
|
end
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
spt = "${pkgs.spotify-player}/bin/spotify_player";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue