Run automatic update #265

Merged
github-actions[bot] merged 3 commits from create-pull-request/patch into main 2023-11-19 11:01:30 +00:00
4 changed files with 88 additions and 175 deletions

View file

@ -1,154 +1,4 @@
{pkgs, ...}: let
mailcap = pkgs.writeText "mailcap" ''
text/html; ${pkgs.w3m}/bin/w3m -I %{charset} -T text/html; copiousoutput;
image/*; ${pkgs.imv}/bin/imv %s
'';
in {
accounts.email = {
accounts = rec {
lotte = {
address = "lotte@chir.rs";
aliases = ["darkkirb@darkkirb.de"];
gpg = {
encryptByDefault = true;
key = "0xB4E3D4801C49EC5E";
signByDefault = true;
};
imap = {
host = "mail.chir.rs";
port = 993;
tls.enable = true;
};
imapnotify = {
enable = true;
boxes = ["Inbox"];
onNotify = "${pkgs.systemd}/bin/start --user mbsync.service";
};
mbsync = {
enable = true;
create = "both";
expunge = "both";
remove = "both";
};
msmtp.enable = true;
neomutt.enable = true;
notmuch.enable = true;
passwordCommand = "${pkgs.coreutils}/bin/cat /run/secrets/email/lotte@chir.rs";
primary = true;
realName = "Charlotte 🦝 Delenk";
signature.text = ''
Charlotte
@charlotte@akko.chir.rs https://darkkirb.de 0xB4E3D4801C49EC5E
'';
smtp = {
host = "mail.chir.rs";
port = 587;
tls.enable = true;
tls.useStartTls = true;
};
thunderbird.enable = true;
userName = "lotte@chir.rs";
};
mdelenk =
lotte
// {
address = "mdelenk@hs-mittweida.de";
aliases = [];
gpg = {
encryptByDefault = true;
key = "0x5130416C797067B6";
signByDefault = true;
};
imap.host = "xc.hs-mittweida.de";
smtp.host = "xc.hs-mittweida.de";
userName = "mdelenk@hs-mittweida.de";
realName = "Morten Delenk";
signature.text = ''
Morten Delenk Mtk.Nr. 54607 IF21wI2-B
'';
primary = false;
};
};
};
services = {
imapnotify.enable = true;
mbsync = {
enable = true;
frequency = "*:0/15";
postExec = "${pkgs.notmuch}/bin/notmuch new";
};
};
programs = {
afew = {
enable = true;
extraConfig = ''
[ArchiveSentMailsFilter]
[DMARCReportInspectionFilter]
[HeaderMatchingFilter.1]
header = X-Spam
pattern = Yes
tags = +spam
[KillThreadsFilter]
[ListMailsFilter]
[Filter.0]
query = tag:new
tags = +inbox;+unread;-new
'';
};
mbsync.enable = true;
msmtp.enable = true;
neomutt = {
enable = true;
binds = [
{
key = "\\CA";
action = "sidebar-next";
map = ["index" "pager"];
}
{
key = "\\CL";
action = "sidebar-prev";
map = ["index" "pager"];
}
{
key = "\\CP";
action = "sidebar-open";
map = ["index" "pager"];
}
{
key = "<Enter>";
action = "display-message";
map = ["index"];
}
{
key = "\\CV";
action = "display-message";
map = ["index"];
}
];
extraConfig = ''
virtual-mailboxes "To Do" "notmuch://?query=tag:todo"
virtual-mailboxes "To Read" "notmuch://?query=tag:toread"
virtual-mailboxes "Blocked" "notmuch://?query=tag:blocked"
virtual-mailboxes "Archive" "notmuch://?query=tag:archive"
macro index,pager A "<modify-labels-then-hide>+archive -unread -inbox\n"
bind index,pager y modify-labels
set mailcap_path = ${mailcap}
set send_charset="utf-8"
set edit_headers=yes
set use_8bit_mime=yes
'';
sidebar.enable = true;
};
notmuch = {
enable = true;
hooks.postNew = ''
${pkgs.afew}/bin/afew --tag --new
'';
};
};
{
programs.thunderbird = {
enable = true;
profiles.main = {

View file

@ -104,6 +104,29 @@
"type": "github"
}
},
"devshell": {
"inputs": {
"nixpkgs": [
"nixpkgs"
],
"systems": [
"systems"
]
},
"locked": {
"lastModified": 1698410321,
"narHash": "sha256-MphuSlgpmKwtJncGMohryHiK55J1n6WzVQ/OAfmfoMc=",
"owner": "numtide",
"repo": "devshell",
"rev": "1aed986e3c81a4f6698e85a7452cbfcc4b31a36e",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "devshell",
"type": "github"
}
},
"dns": {
"inputs": {
"flake-utils": [
@ -152,6 +175,32 @@
"type": "github"
}
},
"element-web": {
"inputs": {
"devshell": [
"devshell"
],
"flake-parts": [
"flake-parts"
],
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1700325505,
"narHash": "sha256-98fdxxQ1FFeklwyus8Y0jMUOYg4WcJXWV54AiRhUXag=",
"owner": "DarkKirb",
"repo": "element-web",
"rev": "91c6962aaad63b83dea64510daecd7ab598e0d60",
"type": "github"
},
"original": {
"owner": "DarkKirb",
"repo": "element-web",
"type": "github"
}
},
"firefox": {
"inputs": {
"cachix": [
@ -171,11 +220,11 @@
]
},
"locked": {
"lastModified": 1700137560,
"narHash": "sha256-/3z7KuJkOeGtMsKlBDN0HWLnzwi9clSsJztSG4oxyG8=",
"lastModified": 1700313354,
"narHash": "sha256-EMi6OsvdCX3i5QKZDZM8IcDa/vxSnZuxVnwb+ovCv90=",
"owner": "nix-community",
"repo": "flake-firefox-nightly",
"rev": "cf33d8e282115f7c17b3911b6da73e2d0a44e252",
"rev": "2513b83dbdc52958be60484cd13ec63f16cae668",
"type": "github"
},
"original": {
@ -389,11 +438,11 @@
},
"haskell-flake": {
"locked": {
"lastModified": 1700089378,
"narHash": "sha256-zckZj26XDiizXN4VSMzYa/uEGRg6FsRIUdHDy0OtogU=",
"lastModified": 1700254486,
"narHash": "sha256-gpqFoePfu5wOgoLRwaFWQUP5vnCVvXVtxS9vAa8kVGc=",
"owner": "srid",
"repo": "haskell-flake",
"rev": "3694fec07c99d3598fced7dfbaebe6a7fb10e4b7",
"rev": "a3f6dbfeae83df600d23c7964279fa5b89c1f743",
"type": "github"
},
"original": {
@ -424,11 +473,11 @@
]
},
"locked": {
"lastModified": 1700087144,
"narHash": "sha256-LJP1RW0hKNWmv2yRhnjkUptMXInKpn/rV6V6ofuZkHU=",
"lastModified": 1700261686,
"narHash": "sha256-kplQg6hKFNuWKrOyGp9D//G/WH1nHGJ43r2m7fagTYY=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "ab1459a1fb646c40419c732d05ec0bf2416d4506",
"rev": "ecd0a800f716b80a6eac58a7ac34d6d33e6fa5ee",
"type": "github"
},
"original": {
@ -753,11 +802,11 @@
]
},
"locked": {
"lastModified": 1700010845,
"narHash": "sha256-Zpd6vdDBsL8phO9QlIPX/h01v2LCOPlsrJQreOSenoQ=",
"lastModified": 1700270236,
"narHash": "sha256-MzN8aR1vAc5AVEcD2gqbMl42W+VlndGStZKefyQK8fs=",
"owner": "fufexan",
"repo": "nix-gaming",
"rev": "92d6637940bf86746a4f5efa7b86e1d94090b351",
"rev": "f85c0e6450de9d1e4625817b7c0fabc819eaa32a",
"type": "github"
},
"original": {
@ -848,11 +897,11 @@
]
},
"locked": {
"lastModified": 1700127301,
"narHash": "sha256-uXdGeUdfxgOhp0jjyXIqy8b/hVNihVk8fc5kR6Qp5d4=",
"lastModified": 1700168777,
"narHash": "sha256-Klkyo6VvKxf/aQrzmw7e6LUa/mUDHKesyhFeg5SBjBY=",
"owner": "DarkKirb",
"repo": "nix-packages",
"rev": "3fcb03a9c45ae8bcf8ed73b8618746083fc471cd",
"rev": "c98a5a65dcecb537dc89fecade691ee7954c2915",
"type": "github"
},
"original": {
@ -973,11 +1022,11 @@
},
"nixos-hardware_2": {
"locked": {
"lastModified": 1699997707,
"narHash": "sha256-ugb+1TGoOqqiy3axyEZpfF6T4DQUGjfWZ3Htry1EfvI=",
"lastModified": 1700315735,
"narHash": "sha256-zlSLW6dX5XwBEwN87CIVtMr8zDSKvTRFmWmIQ9FfWgo=",
"owner": "NixOS",
"repo": "nixos-hardware",
"rev": "5689f3ebf899f644a1aabe8774d4f37eb2f6c2f9",
"rev": "1721da31f9b30cbf4460c4ec5068b3b6174a4694",
"type": "github"
},
"original": {
@ -1067,11 +1116,11 @@
},
"nixpkgs_4": {
"locked": {
"lastModified": 1700157830,
"narHash": "sha256-V0S1UBFmVgabtojUDo6RQ5tlF3XWkE7LeRp8cBxWCkI=",
"lastModified": 1700325651,
"narHash": "sha256-kp5ri0F0thcneU1qwsCU46T/0OvYvtTY3q9F3x9K/rs=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "3e9ce9bb6e63d193b0132958f2803581e5f00fa9",
"rev": "a8617e2b0d26b16e91b224db9ebcb4a500c515cf",
"type": "github"
},
"original": {
@ -1097,11 +1146,11 @@
},
"nur_2": {
"locked": {
"lastModified": 1700155100,
"narHash": "sha256-Aod0fylWCnnk24q4/W+TgudcZ1HX5VShZ87ChmIr7WA=",
"lastModified": 1700324798,
"narHash": "sha256-Gk7OEa0kocOUzfe7A6Hg0Tf6NbfGbQvoCaU2uWa7mX0=",
"owner": "nix-community",
"repo": "NUR",
"rev": "f0a59b437b4331ad543404ff1ef5d590e4a1bfb2",
"rev": "96ba76ae235d4fd57921f49449f47313e15a365e",
"type": "github"
},
"original": {
@ -1114,7 +1163,9 @@
"inputs": {
"chir-rs": "chir-rs",
"colorpickle": "colorpickle",
"devshell": "devshell",
"dns": "dns",
"element-web": "element-web",
"firefox": "firefox",
"flake-compat": "flake-compat",
"flake-parts": "flake-parts",

View file

@ -19,11 +19,22 @@ rec {
inputs.nixpkgs.follows = "nixpkgs";
inputs.utils.follows = "flake-utils";
};
devshell = {
url = "github:numtide/devshell";
inputs.nixpkgs.follows = "nixpkgs";
inputs.systems.follows = "systems";
};
dns = {
url = "github:DarkKirb/dns.nix";
inputs.flake-utils.follows = "flake-utils";
inputs.nixpkgs.follows = "nixpkgs";
};
element-web = {
url = "github:DarkKirb/element-web";
inputs.devshell.follows = "devshell";
inputs.flake-parts.follows = "flake-parts";
inputs.nixpkgs.follows = "nixpkgs";
};
firefox = {
url = "github:nix-community/flake-firefox-nightly";
inputs.cachix.follows = "nixpkgs";

View file

@ -76,4 +76,5 @@ in
doCheck = false;
doInstallCheck = false;
});
inherit (inputs.element-web.packages.${system}) element-web;
}