about summary refs log tree commit diff
path: root/home/modules
diff options
context:
space:
mode:
authorGriffin Smith <root@gws.fyi>2020-05-26T15·27-0400
committerGriffin Smith <root@gws.fyi>2020-05-26T15·28-0400
commit0275aaec03149b641ef2d6516cad20bddcce6bb5 (patch)
tree98012a815b9bdd3c5c30141d065ef2ed1690f863 /home/modules
parent9b2dd5c20fec6ca76adb470374ccea0f7c944233 (diff)
some adjustments to per-platform config
Diffstat (limited to 'home/modules')
-rw-r--r--home/modules/common.nix11
-rw-r--r--home/modules/emacs.nix2
-rw-r--r--home/modules/lib/cloneRepo.nix4
3 files changed, 13 insertions, 4 deletions
diff --git a/home/modules/common.nix b/home/modules/common.nix
index ad712a335bcd..72107a459fc2 100644
--- a/home/modules/common.nix
+++ b/home/modules/common.nix
@@ -1,5 +1,7 @@
 { config, lib, pkgs, ... }:
 
+# Everything in here needs to work on linux or darwin
+
 {
   imports = [
     ../modules/shell.nix
@@ -7,17 +9,23 @@
     ../modules/emacs.nix
     ../modules/vim.nix
     ../modules/tarsnap.nix
+    ../modules/lib/cloneRepo.nix
   ];
 
   nixpkgs.config.allowUnfree = true;
+
   programs.password-store.enable = true;
 
-  impure.clonedRepos.passwordStore = {
+  grfn.impure.clonedRepos.passwordStore = {
     github = "glittershark/pass";
     path = ".local/share/password-store";
   };
 
+  urbint.projectPath = "code/urb";
+
   home.packages = with pkgs; [
+    # System utilities
+    bat
     htop
     killall
     bind
@@ -25,6 +33,7 @@
     tree
     ncat
 
+    # Security
     gnupg
     keybase
     openssl
diff --git a/home/modules/emacs.nix b/home/modules/emacs.nix
index 2a4babf5e1d2..b6b8994638df 100644
--- a/home/modules/emacs.nix
+++ b/home/modules/emacs.nix
@@ -52,7 +52,7 @@ in {
         package = pkgs.emacsUnstable;
       };
 
-      impure.clonedRepos = {
+      grfn.impure.clonedRepos = {
         orgClubhouse = {
           github = "glittershark/org-clubhouse";
           path = "code/org-clubhouse";
diff --git a/home/modules/lib/cloneRepo.nix b/home/modules/lib/cloneRepo.nix
index 3f39ad57bd4c..dc487dc6bd05 100644
--- a/home/modules/lib/cloneRepo.nix
+++ b/home/modules/lib/cloneRepo.nix
@@ -2,7 +2,7 @@
 with lib;
 {
   options = {
-    impure.clonedRepos = mkOption {
+    grfn.impure.clonedRepos = mkOption {
       description = "Repositories to clone";
       default = {};
       type = with types; loaOf (
@@ -62,6 +62,6 @@ with lib;
             popd
           fi
         '')
-      config.impure.clonedRepos;
+      config.grfn.impure.clonedRepos;
   };
 }