mirror of
https://github.com/librephoenix/nixos-config
synced 2025-10-18 09:34:00 +05:30
Removed some unnecessary stuff
This commit is contained in:
parent
139963ccfa
commit
d510889f2e
2 changed files with 2 additions and 34 deletions
|
@ -12,34 +12,10 @@ in {
|
|||
config = lib.mkIf cfg.enable {
|
||||
home.packages = with pkgs; [
|
||||
vlc
|
||||
mpv mpc
|
||||
mpv
|
||||
yt-dlp_git
|
||||
ffmpeg
|
||||
];
|
||||
|
||||
services.mpd = rec {
|
||||
enable = true;
|
||||
musicDirectory = config.xdg.userDirs.music+"/Songs";
|
||||
playlistDirectory = config.xdg.userDirs.music+"/Playlists";
|
||||
dbFile = musicDirectory+"/mpd.db";
|
||||
extraConfig = ''
|
||||
audio_output {
|
||||
type "pipewire"
|
||||
name "PipeWire Sound Server"
|
||||
}
|
||||
'';
|
||||
};
|
||||
|
||||
programs.ncmpcpp = {
|
||||
package = (pkgs.ncmpcpp.override { visualizerSupport = true; });
|
||||
enable = true;
|
||||
bindings = [
|
||||
{ key = "j"; command = "scroll_down"; }
|
||||
{ key = "k"; command = "scroll_up"; }
|
||||
{ key = "J"; command = [ "select_item" "scroll_down" ]; }
|
||||
{ key = "K"; command = [ "select_item" "scroll_up" ]; }
|
||||
];
|
||||
};
|
||||
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue