mirror of
https://github.com/harryssecret/homelab-nix.git
synced 2025-08-08 06:30:18 +02:00
started working on mpd support
This commit is contained in:
parent
a68d9b30fc
commit
5ff67cdcff
2 changed files with 16 additions and 0 deletions
|
@ -70,6 +70,16 @@
|
||||||
osu-lazer-bin
|
osu-lazer-bin
|
||||||
];
|
];
|
||||||
|
|
||||||
|
services.mpdscribble = {
|
||||||
|
enable = true;
|
||||||
|
endpoints = {
|
||||||
|
"last.fm" = {
|
||||||
|
passwordFile = "/run/secrets/lastfm_password";
|
||||||
|
username = "ariburnznfire";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
virtualisation.containers.enable = true;
|
virtualisation.containers.enable = true;
|
||||||
virtualisation = {
|
virtualisation = {
|
||||||
podman = {
|
podman = {
|
||||||
|
|
6
scripts/search-music-and-launch.nix
Normal file
6
scripts/search-music-and-launch.nix
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
{ pkgs }:
|
||||||
|
pkgs.writeShellScriptBin "search-music-and-launch" ''
|
||||||
|
mpc clear
|
||||||
|
mpc add $(mpc listall | ${pkgs.fuzzel}/bin/fuzzel --dmenu)
|
||||||
|
mpc play
|
||||||
|
''
|
Loading…
Add table
Add a link
Reference in a new issue