about summary refs log tree commit diff
path: root/users/glittershark/system/home
diff options
context:
space:
mode:
Diffstat (limited to 'users/glittershark/system/home')
-rw-r--r--users/glittershark/system/home/.skip-subtree0
-rw-r--r--users/glittershark/system/home/default.nix4
-rw-r--r--users/glittershark/system/home/modules/alsi.nix4
-rw-r--r--users/glittershark/system/home/modules/email.nix24
4 files changed, 15 insertions, 17 deletions
diff --git a/users/glittershark/system/home/.skip-subtree b/users/glittershark/system/home/.skip-subtree
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/users/glittershark/system/home/.skip-subtree
diff --git a/users/glittershark/system/home/default.nix b/users/glittershark/system/home/default.nix
index 949def1542..d896ba340d 100644
--- a/users/glittershark/system/home/default.nix
+++ b/users/glittershark/system/home/default.nix
@@ -10,7 +10,7 @@ rec {
     sha256 = "10svwspmsf46rijzsh0h9nmz1mq2998wcml8yp36mwksgi8695pc";
   });
 
-  home = confPath: import "${home-manager}/modules" {
+  home = confPath: (import "${home-manager}/modules" {
     pkgs = nixpkgs;
     configuration = { config, lib, ... }: {
       imports = [confPath];
@@ -20,7 +20,7 @@ rec {
 
       lib.depot = depot;
     };
-  };
+  }) // { __readTree = true; };
 
   chupacabra = home ./machines/chupacabra.nix;
 }
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, ... }: {