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/development.nix1
-rw-r--r--users/glittershark/system/home/modules/development/urbint.nix55
-rw-r--r--users/glittershark/system/home/modules/email.nix9
-rw-r--r--users/glittershark/system/home/modules/shell.nix2
-rw-r--r--users/glittershark/system/home/modules/urbint.nix9
5 files changed, 2 insertions, 74 deletions
diff --git a/users/glittershark/system/home/modules/development.nix b/users/glittershark/system/home/modules/development.nix
index 3056f8547a0d..fd00be86375a 100644
--- a/users/glittershark/system/home/modules/development.nix
+++ b/users/glittershark/system/home/modules/development.nix
@@ -32,7 +32,6 @@ with lib;
   imports = [
     ./lib/zshFunctions.nix
     ./development/kube.nix
-    ./development/urbint.nix
     ./development/agda.nix
   ];
 
diff --git a/users/glittershark/system/home/modules/development/urbint.nix b/users/glittershark/system/home/modules/development/urbint.nix
deleted file mode 100644
index 63f92bf50d4e..000000000000
--- a/users/glittershark/system/home/modules/development/urbint.nix
+++ /dev/null
@@ -1,55 +0,0 @@
-# urbint-only dev stuff
-{ config, lib, pkgs, ... }:
-
-let
-
-  yarn2nix = (import (pkgs.fetchFromGitHub {
-    owner = "moretea";
-    repo = "yarn2nix";
-    rev = "9e7279edde2a4e0f5ec04c53f5cd64440a27a1ae";
-    sha256 = "0zz2lrwn3y3rb8gzaiwxgz02dvy3s552zc70zvfqc0zh5dhydgn7";
-  }) { inherit pkgs; }).yarn2nix;
-
-in
-
-{
-  home.packages = with pkgs; [
-    yarn2nix
-    python36
-    python36Packages.ipython
-  ];
-
-  programs.zsh = {
-    shellAliases = {
-      ipy = "ipython";
-      amerge = "alembic merge heads";
-    };
-
-    functions = {
-      aup = "alembic upgrade \${1:-head}";
-      adown = "alembic downgrade \${1:--1}";
-    };
-  };
-
-  programs.git = {
-    extraConfig.filter.black100to80 =
-      let inherit (pkgs.python36Packages) black; in {
-        clean = "${black}/bin/black --target-version py36 -l 100 -";
-        smudge = "${black}/bin/black --target-version py36 -l 80 -";
-      };
-
-
-    includes = [{
-      condition = "gitdir:~/code/urb/";
-      contents = {
-        user.email = "grfn@urbint.com";
-      };
-    }];
-  };
-
-  home.file.".ipython/profile_default/ipython_config.py".text = ''
-    c.InteractiveShellApp.exec_lines = ['%autoreload 2']
-    c.InteractiveShellApp.extensions = ['autoreload']
-    c.TerminalInteractiveShell.editing_mode = 'vi'
-  '';
-}
diff --git a/users/glittershark/system/home/modules/email.nix b/users/glittershark/system/home/modules/email.nix
index 48d6b5f3cc04..77e068f43fbb 100644
--- a/users/glittershark/system/home/modules/email.nix
+++ b/users/glittershark/system/home/modules/email.nix
@@ -12,15 +12,10 @@ let
     in stringAsChars subst name;
 
   accounts = {
-    work = {
-      primary = true;
-      address = "griffin@urbint.com";
-      aliases = [ "grfn@urbint.com" ];
-      passEntry = "urbint/msmtp-app-password";
-    };
-
     personal = {
+      primary = true;
       address = "root@gws.fyi";
+      aliases = [ "grfn@gws.fyi" ];
       passEntry = "root-gws-msmtp";
     };
   };
diff --git a/users/glittershark/system/home/modules/shell.nix b/users/glittershark/system/home/modules/shell.nix
index 8d4febbb5d73..09d2c6356172 100644
--- a/users/glittershark/system/home/modules/shell.nix
+++ b/users/glittershark/system/home/modules/shell.nix
@@ -15,8 +15,6 @@ let
     ns = "nix-shell";
     nb = "nix build -f .";
     nbl = "nix build -f . --builders ''"; # nix build local
-    nc = "nix copy --to https://nix.urbinternal.com";
-    "nc." = "nix copy -f . --to https://nix.urbinternal.com";
     lwo = "lorri watch --once";
 
     # Docker and friends
diff --git a/users/glittershark/system/home/modules/urbint.nix b/users/glittershark/system/home/modules/urbint.nix
deleted file mode 100644
index 013735f0de74..000000000000
--- a/users/glittershark/system/home/modules/urbint.nix
+++ /dev/null
@@ -1,9 +0,0 @@
-{ config, lib, pkgs, ... }:
-
-if lib.pathExists (~/code/urb/urbos)
-then {
-  imports =
-    [ ~/code/urb/urbos/home ];
-
-  urbint.projectPath = "code/urb";
-} else {}