ease mail integration, also add rbw as interface for bitwarden
This commit is contained in:
parent
64c7debf35
commit
ceda644fab
|
@ -10,6 +10,7 @@
|
|||
../../modules/x11.nix
|
||||
../../modules/discord.nix
|
||||
../../modules/gaming.nix
|
||||
../../modules/rbw.nix
|
||||
];
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
../../modules/anki.nix
|
||||
../../modules/power-control.nix
|
||||
../../modules/adb.nix
|
||||
../../modules/rbw.nix
|
||||
];
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
|
|
|
@ -41,11 +41,7 @@ stdenv.mkDerivation rec {
|
|||
for i in $(ls $src/sh); do
|
||||
cp $src/sh/$i $out/bin
|
||||
ln -sf $out/bin/tmenu_run $out/bin/regenerate
|
||||
<<<<<<< HEAD
|
||||
wrapProgram $out/bin/$i --prefix PATH : ${lib.makeBinPath [ sxhkd bash feh xrandr jq figlet curl fzy ytfzf ffmpeg sshuttle scrcpy ]}
|
||||
=======
|
||||
wrapProgram $out/bin/$i --prefix PATH : ${lib.makeBinPath [ sxhkd bash feh xrandr jq figlet curl fzy ytfzf ffmpeg sshuttle svkbd libsForQt5.kolourpaint ]}
|
||||
>>>>>>> f481fd5f3f58fe7ac42fb5d07703be8d59fb4502
|
||||
wrapProgram $out/bin/$i --prefix PATH : ${lib.makeBinPath [ sxhkd bash feh xrandr jq figlet curl fzy ytfzf ffmpeg sshuttle svkbd scrcpy libsForQt5.kolourpaint ]}
|
||||
done
|
||||
|
||||
cp c/status/main $out/bin/statusbar
|
||||
|
|
|
@ -2,6 +2,7 @@ IMAPStore main-remote
|
|||
Host mail.beepboop.systems
|
||||
Port 993
|
||||
User ryan@beepboop.systems
|
||||
PassCmd "rbw get mail.beepboop.systems"
|
||||
SSLType IMAPS
|
||||
CertificateFile /etc/ssl/certs/ca-certificates.crt
|
||||
|
||||
|
|
|
@ -0,0 +1,12 @@
|
|||
defaults
|
||||
auth on
|
||||
tls on
|
||||
tls_trust_file /etc/ssl/certs/ca-certificates.crt
|
||||
|
||||
account default
|
||||
host mail.beepboop.systems
|
||||
port 587
|
||||
tls_starttls on
|
||||
from ryan@beepboop.systems
|
||||
user ryan@beepboop.systems
|
||||
passwordeval "rbw get mail.beepboop.systems"
|
|
@ -0,0 +1,9 @@
|
|||
{ lib, config, pkgs, home, ... }:
|
||||
|
||||
{
|
||||
home.file = {
|
||||
".config/msmtp/config" = {
|
||||
source = ./config;
|
||||
};
|
||||
};
|
||||
}
|
|
@ -10,6 +10,8 @@ set sidebar_visible
|
|||
set sidebar_format = "%B%<F? [%F}>%* %<N?%N/>%S"
|
||||
set mail_check_stats
|
||||
|
||||
set sendmail = "msmtp -a default -C /home/usr/.config/msmtp/config"
|
||||
|
||||
set from = "ryan@beepboop.systems"
|
||||
set spoolfile = +INBOX
|
||||
set record = "+Sent"
|
||||
|
|
|
@ -0,0 +1,12 @@
|
|||
{ lib, config, pkgs, home, ... }:
|
||||
|
||||
{
|
||||
programs.rbw = {
|
||||
enable = true;
|
||||
settings = {
|
||||
base_url = "https://bitwarden.beepboop.systems";
|
||||
email = "bit@beepboop.systems";
|
||||
pinentry = "curses";
|
||||
};
|
||||
};
|
||||
}
|
|
@ -36,7 +36,7 @@ type = "carddav"
|
|||
|
||||
url = "https://radicale.beepboop.systems/ryan/20cda0dd-5922-4905-8956-859c989a6519/"
|
||||
username = "ryan"
|
||||
password.fetch = ["prompt", "password for radicale"]
|
||||
password.fetch = ["command", "rbw", "get", "beepboop.systems radicale instance"]
|
||||
|
||||
[storage band_calendar_remote]
|
||||
type = "http"
|
||||
|
@ -48,4 +48,4 @@ type = "caldav"
|
|||
|
||||
url = "https://radicale.beepboop.systems/ryan/edfbeaf1-e9f3-4d94-a512-40cdafdbc7a0/"
|
||||
username = "ryan"
|
||||
password.fetch = ["prompt", "password for radicale"]
|
||||
password.fetch = ["command", "rbw", "get", "beepboop.systems radicale instance"]
|
||||
|
|
|
@ -16,6 +16,8 @@
|
|||
./isync
|
||||
./todoman
|
||||
./neomutt
|
||||
./msmtp
|
||||
./rbw
|
||||
|
||||
./x11-progs.nix
|
||||
./tty.nix
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
{ lib, config, pkgs, ...}:
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
pinentry
|
||||
];
|
||||
}
|
|
@ -22,6 +22,7 @@
|
|||
todoman
|
||||
sshfs
|
||||
rsync
|
||||
msmtp
|
||||
];
|
||||
|
||||
services.xserver = {
|
||||
|
|
Loading…
Reference in New Issue