about summary refs log tree commit diff
path: root/users/grfn/system/home
diff options
context:
space:
mode:
Diffstat (limited to 'users/grfn/system/home')
-rw-r--r--users/grfn/system/home/common/legacy-dotfiles.nix8
-rw-r--r--users/grfn/system/home/default.nix13
-rw-r--r--users/grfn/system/home/machines/roswell.nix3
-rw-r--r--users/grfn/system/home/modules/common.nix2
-rw-r--r--users/grfn/system/home/modules/emacs.nix7
-rw-r--r--users/grfn/system/home/modules/email.nix4
6 files changed, 8 insertions, 29 deletions
diff --git a/users/grfn/system/home/common/legacy-dotfiles.nix b/users/grfn/system/home/common/legacy-dotfiles.nix
deleted file mode 100644
index 33d9581e6a61..000000000000
--- a/users/grfn/system/home/common/legacy-dotfiles.nix
+++ /dev/null
@@ -1,8 +0,0 @@
-with import <nixpkgs> {};
-fetchgit {
-  url = "https://github.com/glittershark/dotfiles.git";
-  rev = "e0c7f2592fbc2f9942763d2146d362a1314630e9";
-  # date = "2020-03-25T20:38:51-04:00";
-  sha256 = "126zy4ff6nl2vma2s74waksim7j5h3n6qpaxnnn17vkc1cq0fcd9";
-  fetchSubmodules = false;
-}
diff --git a/users/grfn/system/home/default.nix b/users/grfn/system/home/default.nix
index 1efba3f3c1e5..6221df95c3d3 100644
--- a/users/grfn/system/home/default.nix
+++ b/users/grfn/system/home/default.nix
@@ -5,13 +5,16 @@ with lib;
 rec {
   home = confPath: (import "${pkgs.home-manager.src}/modules" {
     inherit pkgs;
-    configuration = { config, lib, ... }: {
-      imports = [confPath];
-
-      _module.args.pkgs = mkForce
-        (import pkgs.path (filterAttrs (n: v: v != null) config.nixpkgs));
 
+    configuration = { config, lib, ... }: {
+      imports = [ confPath ];
       lib.depot = depot;
+
+      # home-manager exposes no API to override the package set that
+      # is used, unless called from the NixOS module.
+      #
+      # To get around it, the module argument is overridden here.
+      _module.args.pkgs = mkForce pkgs;
     };
   });
 
diff --git a/users/grfn/system/home/machines/roswell.nix b/users/grfn/system/home/machines/roswell.nix
index 1b1bbf29c616..f68f3a7be36f 100644
--- a/users/grfn/system/home/machines/roswell.nix
+++ b/users/grfn/system/home/machines/roswell.nix
@@ -37,9 +37,6 @@ in
     cachix
   ];
 
-
-  nixpkgs.config.allowUnfree = true;
-
   programs.password-store.enable = true;
 
   programs.home-manager.enable = true;
diff --git a/users/grfn/system/home/modules/common.nix b/users/grfn/system/home/modules/common.nix
index 882488763d32..86e4ba400e7c 100644
--- a/users/grfn/system/home/modules/common.nix
+++ b/users/grfn/system/home/modules/common.nix
@@ -13,8 +13,6 @@
     ../modules/lib/cloneRepo.nix
   ];
 
-  nixpkgs.config.allowUnfree = true;
-
   programs.password-store.enable = true;
 
   grfn.impure.clonedRepos.passwordStore = {
diff --git a/users/grfn/system/home/modules/emacs.nix b/users/grfn/system/home/modules/emacs.nix
index b7520085f835..e434de8aea00 100644
--- a/users/grfn/system/home/modules/emacs.nix
+++ b/users/grfn/system/home/modules/emacs.nix
@@ -43,13 +43,6 @@ in {
         gnutls
       ];
 
-      nixpkgs.overlays = [
-        (import (builtins.fetchTarball {
-          url = "https://github.com/nix-community/emacs-overlay/archive/54afb061bdd12c61bbfcc13bad98b7a3aab7d8d3.tar.gz";
-          sha256 = "0hrbg65d5h0cb0nky7a46md7vlvhajq1hf0328l2f7ln9hznqz6j";
-        }))
-      ];
-
       programs.emacs = {
         enable = true;
         package = pkgs.emacsUnstable;
diff --git a/users/grfn/system/home/modules/email.nix b/users/grfn/system/home/modules/email.nix
index cdfcbecb7c00..0a3e58205ba6 100644
--- a/users/grfn/system/home/modules/email.nix
+++ b/users/grfn/system/home/modules/email.nix
@@ -37,10 +37,6 @@ in {
     msmtp
   ];
 
-  # nixpkgs.overlays = [(self: super: {
-  #   notifymuch = self.python3Packages.callPackage ../../pkgs/notifymuch.nix {};
-  # })];
-
   systemd.user.services = mapAttrs' (name: account: {
     name = escapeUnitName "lieer-${name}";
     value.Service = {