enabled ncmpcpp
This commit is contained in:
parent
5104628104
commit
eb5e5d5e0c
6 changed files with 32 additions and 21 deletions
|
@ -1,6 +1,7 @@
|
|||
{ config, inputs, pkgs, ... }:
|
||||
{
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
# Time Zone
|
||||
time.timeZone = "Europe/Zurich";
|
||||
# Select internationalisation properties.
|
||||
i18n.defaultLocale = "en_US.UTF-8";
|
||||
|
@ -47,6 +48,7 @@
|
|||
};
|
||||
programs = {
|
||||
vesktop.enable = true;
|
||||
ncmpcpp.enable = true;
|
||||
ssh.enable = true;
|
||||
btop.enable = true;
|
||||
mpv.enable = true;
|
||||
|
|
|
@ -33,6 +33,7 @@ in {
|
|||
krita
|
||||
lazygit
|
||||
libreoffice-fresh
|
||||
moc
|
||||
ncmpcpp
|
||||
neofetch
|
||||
neovim
|
||||
|
|
|
@ -40,12 +40,20 @@ in {
|
|||
searxQuery = "https://searx.be/search?q={searchTerms}&categories=general";
|
||||
addEngines = [
|
||||
{
|
||||
Name = "Etherscan";
|
||||
Description = "Checking balances";
|
||||
Alias = "!eth";
|
||||
Name = "NixOS Packages";
|
||||
Description = "NixOS Unstable package serach";
|
||||
Alias = "!np";
|
||||
Method = "GET";
|
||||
URLTemplate = "https://etherscan.io/search?f=0&q={searchTerms}";
|
||||
URLTemplate = "https://search.nixos.org/packages?channel=unstable&query={searchTerms}";
|
||||
}
|
||||
{
|
||||
Name = "Home Manager Options";
|
||||
Description = "Home Manager option search";
|
||||
Alias = "!hm";
|
||||
Method = "GET";
|
||||
URLTemplate = "https://mipmip.github.io/home-manager-option-search?query={searchTerms}";
|
||||
}
|
||||
|
||||
];
|
||||
};
|
||||
|
||||
|
@ -58,7 +66,6 @@ in {
|
|||
misc = {
|
||||
drmFix = true;
|
||||
disableWebgl = false;
|
||||
startPageURL = "https://startpage.com";
|
||||
};
|
||||
|
||||
extensions = {
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
## ncmpcpp.
|
||||
##
|
||||
#
|
||||
#ncmpcpp_directory = ~/.config/ncmpcpp
|
||||
ncmpcpp_directory = ~/.config/ncmpcpp
|
||||
#
|
||||
##
|
||||
## Directory for storing downloaded lyrics. It defaults to ~/.lyrics since other
|
||||
|
@ -25,13 +25,13 @@
|
|||
#
|
||||
#mpd_host = localhost
|
||||
#
|
||||
#mpd_port = 6600
|
||||
mpd_port = 6600
|
||||
#
|
||||
#mpd_connection_timeout = 5
|
||||
mpd_connection_timeout = 5
|
||||
#
|
||||
## Needed for tag editor and file operations to work.
|
||||
##
|
||||
#mpd_music_dir = ~/music
|
||||
mpd_music_dir = ~/Nextcloud/Media/Music
|
||||
#
|
||||
#mpd_crossfade_time = 5
|
||||
#
|
||||
|
@ -69,7 +69,7 @@
|
|||
## visualizer.
|
||||
##
|
||||
#
|
||||
#visualizer_data_source = /tmp/mpd.fifo
|
||||
visualizer_data_source = /tmp/mpd.fifo
|
||||
#
|
||||
##
|
||||
## Note: Below parameter is needed for ncmpcpp to determine which output
|
||||
|
@ -77,19 +77,19 @@
|
|||
## to synchronize with audio.
|
||||
##
|
||||
#
|
||||
#visualizer_output_name = Visualizer feed
|
||||
visualizer_output_name = Visualizer feed
|
||||
#
|
||||
##
|
||||
## If you set format to 44100:16:2, make it 'yes'.
|
||||
##
|
||||
#visualizer_in_stereo = yes
|
||||
visualizer_in_stereo = yes
|
||||
#
|
||||
##
|
||||
## Note: set below to >=10 only if you have synchronization issues with
|
||||
## visualization and audio.
|
||||
##
|
||||
#
|
||||
#visualizer_sync_interval = 0
|
||||
visualizer_sync_interval = 0
|
||||
#
|
||||
##
|
||||
## Note: To enable spectrum frequency visualization you need to compile ncmpcpp
|
||||
|
@ -98,15 +98,15 @@
|
|||
#
|
||||
## Available values: spectrum, wave, wave_filled, ellipse.
|
||||
##
|
||||
#visualizer_type = spectrum
|
||||
visualizer_type = wave_filled
|
||||
#
|
||||
#visualizer_fps = 60
|
||||
visualizer_fps = 60
|
||||
#
|
||||
#visualizer_autoscale = no
|
||||
visualizer_autoscale = no
|
||||
#
|
||||
#visualizer_look = ●▮
|
||||
visualizer_look = ●▮
|
||||
#
|
||||
#visualizer_color = blue, cyan, green, yellow, magenta, red
|
||||
visualizer_color = blue, cyan, green, yellow, magenta, red
|
||||
#
|
||||
## Alternative subset of 256 colors for terminals that support it.
|
||||
##
|
||||
|
@ -121,7 +121,7 @@
|
|||
## and visualizer_in_stereo set, artifacts may be visible on the bottom half of
|
||||
## the visualization.
|
||||
#
|
||||
#visualizer_spectrum_smooth_look = yes
|
||||
visualizer_spectrum_smooth_look = yes
|
||||
#
|
||||
## A value between 1 and 5 inclusive. Specifying a larger value makes the
|
||||
## visualizer look at a larger slice of time, which results in less jumpy
|
||||
|
|
|
@ -4,5 +4,6 @@ _: {
|
|||
# ./helix.nix
|
||||
./neovim.nix
|
||||
# ./newsboat.nix
|
||||
./ncmpcpp.nix
|
||||
];
|
||||
}
|
||||
|
|
|
@ -1,16 +1,16 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
with lib; let
|
||||
cfg = config.myOptions.programs.ncmpcpp
|
||||
cfg = config.myOptions.programs.ncmpcpp;
|
||||
username = config.myOptions.other.system.username;
|
||||
in {
|
||||
options.myOptions.programs.ncmpcpp.enable = mkEnableOption "ncmpcpp";
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
home-manager.users.${username} = {
|
||||
xdg.configFile."ncmpcpp/config".source = ./config;
|
||||
programs.ncmpcpp = {
|
||||
enable = true;
|
||||
mpdMusicDir = "/home/vali/Nextcloud/Media/Music";
|
||||
xdg.configFile."ncmpcpp/config".source = ./config;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue