refactor: extract firefox, kitty, nextcloud, xps config

This commit is contained in:
mandlm 2024-07-10 12:47:17 +02:00
parent 4545f0f9f2
commit 4f5cdea23f
Signed by: mandlm
GPG Key ID: 088ED38F036C7AF2
7 changed files with 4 additions and 129 deletions

View File

@ -21,7 +21,7 @@
modules = [ modules = [
./private/home.nix ./private/home.nix
./private/xps.nix ./xps.nix
]; ];
extraSpecialArgs = { extraSpecialArgs = {

View File

@ -1,125 +0,0 @@
{ config, lib, pkgs, ... }:
{
home.packages = [ pkgs.libsecret ];
programs.msmtp.enable = true;
programs.mbsync.enable = true;
programs.neomutt = {
enable = true;
sidebar.enable = true;
vimKeys = true;
macros = [
{
action = "<shell-escape>mbsync -all<enter>";
key = "S";
map = [ "index" ];
}
];
};
accounts.email = {
maildirBasePath = "${config.xdg.dataHome}/mail";
accounts = {
molez = rec {
primary = true;
realName = "Michael Mandl";
address = "mandlm@molez.net";
userName = address;
passwordCommand = "secret-tool lookup email mandlm@molez.net";
imap = {
host = "mail.molez.net";
port = 993;
tls.enable = true;
};
smtp = {
host = "mail.molez.net";
port = 465;
tls.enable = true;
};
gpg = {
key = "0x4AA25D647AA54CC7";
signByDefault = true;
};
msmtp.enable = true;
mbsync = {
enable = true;
create = "both";
expunge = "both";
};
neomutt.enable = true;
};
swp = {
realName = "Michael Mandl";
address = "mandl@vi-bim.de";
userName = "mandl";
passwordCommand = "secret-tool lookup email mandl@vi-bim.de";
imap = {
host = "swpmail.softwareparadies.de";
port = 993;
tls.enable = true;
};
smtp = {
host = "swpmail.softwareparadies.de";
port = 465;
tls.enable = true;
};
gpg = {
key = "0x4E60F44227F611B4 ";
signByDefault = true;
};
signature = {
showSignature = "append";
text = ''
--
Mit freundlichen Grüßen
Michael Mandl
Entwicklung
------------------------------------------
swp software systems GmbH & Co. KG
Königsbrücker Straße 124
01099 Dresden
Tel: 0351-492850
Fax: 0351-4928550
www: https://www.vi-bim.de
Kennen Sie schon unsere FAQ-Wissensdatenbank? Einfach hier klicken:
https://faq.vi-bim.de
Unsere Datenschutzerklärung finden Sie unter https://datenschutz.vi-bim.de
Registergericht: Amtsgericht Dresden HRA 3008
persönlich haftender Gesellschafter:
swp Beteiligungs GmbH
Registergericht: Amtsgericht Dresden HRB 15 20 9
Geschäftsführer: Holger Schönemann, Stefan Urlberger
'';
};
msmtp.enable = true;
mbsync = {
enable = true;
create = "both";
expunge = "both";
};
neomutt.enable = true;
};
};
};
}

View File

@ -63,13 +63,13 @@
../starship.nix ../starship.nix
../zoxide.nix ../zoxide.nix
../shell_aliases.nix ../shell_aliases.nix
./firefox.nix ../firefox.nix
../git.nix ../git.nix
../tree.nix ../tree.nix
./gpg ./gpg
./kitty.nix ../kitty.nix
./neovim ./neovim
./nextcloud.nix ../nextcloud.nix
./sway ./sway
./zsh.nix ./zsh.nix
]; ];