mirror of
https://github.com/youwen5/nixos.git
synced 2024-11-28 11:43:51 -08:00
feat: add spotifyd module
This commit is contained in:
parent
f05231223b
commit
675f37c5b1
2 changed files with 10 additions and 1 deletions
|
@ -69,7 +69,7 @@
|
||||||
apple-silicon,
|
apple-silicon,
|
||||||
...
|
...
|
||||||
} @ inputs: let
|
} @ inputs: let
|
||||||
in rec {
|
in {
|
||||||
formatter = with nixpkgs.legacyPackages; {
|
formatter = with nixpkgs.legacyPackages; {
|
||||||
x86_64-linux = x86_64-linux.alejandra;
|
x86_64-linux = x86_64-linux.alejandra;
|
||||||
aarch64-linux = aarch64-linux.alejandra;
|
aarch64-linux = aarch64-linux.alejandra;
|
||||||
|
|
9
modules/nixos/spotifyd/default.nix
Normal file
9
modules/nixos/spotifyd/default.nix
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
{pkgs, ...}: {
|
||||||
|
services.spotifyd = {
|
||||||
|
enable = true;
|
||||||
|
# settings = {global = 320;};
|
||||||
|
};
|
||||||
|
environment.systemPackages = [
|
||||||
|
pkgs.spotify-player
|
||||||
|
];
|
||||||
|
}
|
Loading…
Reference in a new issue