fix gmusic
This commit is contained in:
parent
e2117a0a80
commit
9bc7130333
20
flake.lock
generated
20
flake.lock
generated
@ -185,6 +185,25 @@
|
||||
"type": "indirect"
|
||||
}
|
||||
},
|
||||
"nixpkgs-mopidy": {
|
||||
"flake": false,
|
||||
"info": {
|
||||
"lastModified": 1579858055,
|
||||
"narHash": "sha256-cbaNod+gStC32dcF15rUSsAWUa5ODXQhv0drnUpUz8I="
|
||||
},
|
||||
"locked": {
|
||||
"owner": "NickHU",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "fde5fd4beb6398e59bb639c003c6841dc2fa8579",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "NickHU",
|
||||
"ref": "mopidy",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs-old": {
|
||||
"flake": false,
|
||||
"info": {
|
||||
@ -299,6 +318,7 @@
|
||||
"nheko": "nheko",
|
||||
"nix": "nix",
|
||||
"nixpkgs": "nixpkgs_4",
|
||||
"nixpkgs-mopidy": "nixpkgs-mopidy",
|
||||
"nixpkgs-old": "nixpkgs-old",
|
||||
"nixpkgs-wayland": "nixpkgs-wayland",
|
||||
"simple-nixos-mailserver": "simple-nixos-mailserver",
|
||||
|
@ -5,6 +5,13 @@
|
||||
edition = 201909;
|
||||
|
||||
inputs = {
|
||||
nixpkgs-mopidy = {
|
||||
type = "github";
|
||||
owner = "NickHU";
|
||||
repo = "nixpkgs";
|
||||
ref = "mopidy";
|
||||
flake = false;
|
||||
};
|
||||
NUR = {
|
||||
type = "github";
|
||||
owner = "nix-community";
|
||||
|
@ -105,6 +105,12 @@ in {
|
||||
grub2 = super.pkgsi686Linux.grub2;
|
||||
} else
|
||||
{ }))
|
||||
(self: super: builtins.mapAttrs (_: v: pkgs.callPackage v.override { }) {
|
||||
inherit (import inputs.nixpkgs-mopidy {
|
||||
localSystem.system = "x86_64-linux";
|
||||
})
|
||||
mopidy mopidy-gmusic mopidy-mpd mopidy-mpris mopidy-youtube;
|
||||
})
|
||||
];
|
||||
nixpkgs.config = {
|
||||
allowUnfree = true;
|
||||
|
@ -2,7 +2,7 @@
|
||||
{
|
||||
services.mopidy = {
|
||||
enable = true;
|
||||
extensionPackages = with pkgs; [ mopidy-mpd mopidy-gmusic mopidy-youtube ];
|
||||
extensionPackages = with pkgs; [ mopidy-mpd mopidy-gmusic ];
|
||||
configuration = (if (!isNull config.secrets.gpmusic) then ''
|
||||
[gmusic]
|
||||
username = ${config.secrets.gpmusic.user}
|
||||
|
Loading…
Reference in New Issue
Block a user