diff options
| -rwxr-xr-x | mut/bin/notmuch-hook | 4 | ||||
| -rw-r--r-- | profiles/station/nonfree.nix | 18 |
2 files changed, 20 insertions, 2 deletions
diff --git a/mut/bin/notmuch-hook b/mut/bin/notmuch-hook index 32cf9ab..0e49783 100755 --- a/mut/bin/notmuch-hook +++ b/mut/bin/notmuch-hook @@ -2,9 +2,9 @@ notmuch new --quiet notmuch tag -new +unread +jobs -- 'tag:new and (from:jobs-listings* or from:jobs-noreply*)' notmuch tag -new +unread +houses -- 'tag:new and (from:"'$MAKELAAR'" or thread:{'$MAKELAAR'})' -notmuch tag -new -inbox +unread +dev -- 'tag:new and (from:/.*github.com/ or thread:{from:/.*github.com/})' +notmuch tag -new +unread +dev -- 'tag:new and (from:/.*github.com/ or thread:{from:/.*github.com/})' -notmuch tag -new +inbox +unread -- tag:new +notmuch tag +inbox +unread -- tag:new # Gmail + mbsync = a lot of duplicates due to the archive notmuch tag -new -inbox +archive -- 'folder:/Archive/ -folder:/Inbox/ -folder:/\[Gmail\]/ -folder:/FarDrafts/ -folder:/Important/ -folder:/Sent/' diff --git a/profiles/station/nonfree.nix b/profiles/station/nonfree.nix new file mode 100644 index 0000000..e85178c --- /dev/null +++ b/profiles/station/nonfree.nix @@ -0,0 +1,18 @@ +{config, pkgs, lib, ...}: { + hm.home.packages = [ + (pkgs.discord.override { + withVencord = true; + }) + pkgs.slack + pkgs.discord-ptb + pkgs.discord-canary + ]; + nixpkgs.config.allowUnfreePredicate = pkg: + builtins.elem (lib.getName pkg) [ + # Add additional package names here + "discord" + "discord-ptb" + "discord-canary" + "slack" + ]; +} |
