Email, nvim->vim, torrenting fixes, musical rice

This commit is contained in:
kat witch 2021-03-12 16:20:27 +00:00
parent 7d899adde6
commit f16cf48dd6
No known key found for this signature in database
GPG key ID: 1B477797DCA5EC72
18 changed files with 328 additions and 47 deletions

View file

@ -5,6 +5,7 @@
./firefox
./kitty.nix
./packages.nix
./email.nix
./nextcloud.nix
./gpg.nix
./gtk.nix

View file

@ -0,0 +1,33 @@
{ config, lib, pkgs, ... }:
{
programs.notmuch = {
enable = true;
hooks = {
preNew = "mbsync --all";
};
};
programs.mbsync.enable = true;
programs.msmtp.enable = true;
accounts.email = {
maildirBasePath = "${config.home.homeDirectory}/mail";
accounts.kat = {
address = "kat@kittywit.ch";
primary = true;
realName = "kat witch";
userName = "kat@kittywit.ch";
passwordCommand = ''bitw -p gpg://${../../../private/files/master.gpg} get "kittywitch email"'';
msmtp.enable = true;
mbsync.enable = true;
mbsync.create = "maildir";
notmuch.enable = true;
imap.host = "kittywit.ch";
smtp.host = "kittywit.ch";
gpg = {
signByDefault = true;
key = "01F50A29D4AA91175A11BDB17248991EFA8EFBEE";
};
};
};
programs.vim.plugins = [ pkgs.arc.pkgs.vimPlugins.notmuch-vim ];
}

View file

@ -4,7 +4,7 @@
config = lib.mkIf config.deploy.profile.gui {
programs.ncmpcpp = {
enable = true;
mpdMusicDir = "/home/kat/music";
mpdMusicDir = "/home/kat/media/music";
settings = {
visualizer_data_source = "/tmp/mpd.fifo";
visualizer_output_name = "my_fifo";
@ -16,23 +16,25 @@
discard_colors_if_item_is_selected = "no";
header_window_color = "250";
volume_color = "250";
state_line_color = "cyan";
state_line_color = "cyan";
state_flags_color = "cyan";
alternative_ui_separator_color = "yellow";
statusbar_color = "yellow";
progressbar_color = "black";
progressbar_elapsed_color = "blue";
window_border_color = "yellow";
playlist_display_mode = "classic";
song_columns_list_format =
"(3f)[cyan]{n} (40)[default]{t|f} (25)[red]{a} (30)[blue]{b} (4f)[cyan]{l}";
now_playing_prefix = "$b";
song_list_format =
"$1$9%l$1$9 $8¦$9 $6%a$9 $8¦$9 $5%b$9 $R$1$9%t$1$9 $8¦$9 $7%n$9";
" $7%n$9 $8-$9 $1$9%l$1$9 $8-$9 $6%a$9 $8-$9 $5%b$9 $R$8%t$9 ";
song_library_format = "{%n > }{%t}|{%f}";
song_status_format = "{%a - }{%t - }{%b}";
titles_visibility = "no";
header_visibility = "no";
statusbar_visibility = "no";
now_playing_suffix = "$8$/b";
now_playing_suffix = "$/b";
progressbar_look = " ";
};
};
@ -40,7 +42,7 @@
enable = true;
package = pkgs.unstable.beets;
settings = {
directory = "~/music";
directory = "~/media/music";
library = "~/.local/share/beets.db";
plugins = lib.concatStringsSep " " [
"mpdstats"
@ -53,7 +55,7 @@
services.mpd = {
enable = true;
network.startWhenNeeded = true;
musicDirectory = "/home/kat/music";
musicDirectory = "/home/kat/media/music";
extraConfig = ''
audio_output {
type "fifo"

View file

@ -5,12 +5,14 @@
home.packages = with pkgs; [
_1password
bitwarden
arc.pkgs.rbw-bitw
mpv
element-desktop
mumble
obs-studio
niv
xfce.ristretto
feh
duc
audacity
avidemux
vlc