about summary refs log tree commit diff
path: root/users/glittershark/system/home/modules
diff options
context:
space:
mode:
Diffstat (limited to 'users/glittershark/system/home/modules')
-rw-r--r--users/glittershark/system/home/modules/alsi.nix4
-rw-r--r--users/glittershark/system/home/modules/email.nix24
2 files changed, 13 insertions, 15 deletions
diff --git a/users/glittershark/system/home/modules/alsi.nix b/users/glittershark/system/home/modules/alsi.nix
index 19ec68efd2..cf8b0bebe7 100644
--- a/users/glittershark/system/home/modules/alsi.nix
+++ b/users/glittershark/system/home/modules/alsi.nix
@@ -1,8 +1,6 @@
 { config, lib, pkgs, ... }:
-let alsi = pkgs.callPackage ../../pkgs/alsi {};
-in
 {
-  home.packages = [ alsi ];
+  home.packages = [ config.lib.depot.third_party.alsi ];
 
   xdg.configFile."alsi/alsi.logo" = {
     source = ./nixos-logo.txt;
diff --git a/users/glittershark/system/home/modules/email.nix b/users/glittershark/system/home/modules/email.nix
index 62c8be19a2..48d6b5f3cc 100644
--- a/users/glittershark/system/home/modules/email.nix
+++ b/users/glittershark/system/home/modules/email.nix
@@ -36,26 +36,26 @@ in {
     msmtp
   ];
 
-  nixpkgs.overlays = [(self: super: {
-    notifymuch = self.python3Packages.callPackage ../../pkgs/notifymuch.nix {};
-  })];
+  # nixpkgs.overlays = [(self: super: {
+  #   notifymuch = self.python3Packages.callPackage ../../pkgs/notifymuch.nix {};
+  # })];
 
   systemd.user.services = mapAttrs' (name: account: {
     name = escapeUnitName "lieer-${name}";
     value.Service.ExecStart = mkForce "${pkgs.writeShellScript "sync-${name}" ''
       ${pkgs.gmailieer}/bin/gmi sync
-      ${pkgs.notifymuch}/bin/notifymuch
     ''}";
+    # ${pkgs.notifymuch}/bin/notifymuch
   }) accounts;
 
-  xdg.configFile."notifymuch/notifymuch.cfg".text = generators.toINI {} {
-    notifymuch = {
-      query = "is:unread and is:important";
-      mail_client = "";
-      recency_interval_hours = "48";
-      hidden_tags = "inbox unread attachment replied sent encrypted signed";
-    };
-  };
+  # xdg.configFile."notifymuch/notifymuch.cfg".text = generators.toINI {} {
+  #   notifymuch = {
+  #     query = "is:unread and is:important";
+  #     mail_client = "";
+  #     recency_interval_hours = "48";
+  #     hidden_tags = "inbox unread attachment replied sent encrypted signed";
+  #   };
+  # };
 
   accounts.email.maildirBasePath = "mail";
   accounts.email.accounts = mapAttrs (_: params@{ passEntry, ... }: {