make use of systemPackage

This commit is contained in:
Moritz Böhme 2022-10-06 20:32:21 +02:00
parent aa42f6678e
commit 85de3b3ac6
No known key found for this signature in database
GPG key ID: 970C6E89EB0547A9
8 changed files with 97 additions and 103 deletions

View file

@ -22,8 +22,8 @@ in
file = ../../secrets/spotifyd.age;
owner = "1000";
};
environment.systemPackages = with pkgs; [ spotify-tui sptlrx ];
home-manager.users.moritz = {
home.packages = with pkgs; [ spotify-tui sptlrx ];
services.spotifyd = {
enable = true;
package = pkgs.spotifyd.override { withMpris = true; };