summaryrefslogtreecommitdiff
path: root/home
diff options
context:
space:
mode:
Diffstat (limited to 'home')
-rw-r--r--home/default.nix7
-rw-r--r--home/zshrc.nix4
2 files changed, 11 insertions, 0 deletions
diff --git a/home/default.nix b/home/default.nix
index abd034b..10dbe18 100644
--- a/home/default.nix
+++ b/home/default.nix
@@ -1,6 +1,11 @@
{ lib, config, pkgs, ... }: {
imports = [ ./unfree.nix ];
+ nix.registry."system".to = {
+ type = "path";
+ path = "/home/ale/nix";
+ };
+
home = {
# This value determines the Home Manager release that your
# configuration is compatible with. This helps avoid breakage
@@ -155,6 +160,8 @@
clock24 = true;
escapeTime = 10;
terminal = "xterm-256color";
+ keyMode = "vi";
+
extraConfig = ''
set -g mouse on
set -ga update-environment " LIFT_PID"
diff --git a/home/zshrc.nix b/home/zshrc.nix
index 68c3958..09b6e32 100644
--- a/home/zshrc.nix
+++ b/home/zshrc.nix
@@ -20,6 +20,10 @@
source $HOME/System/dot/git-aliases.zsh
}
+ function shenv() {
+ nix shell 'system#shenvs.'"$1"
+ }
+
function xseli() {
T=$(mktemp)
$EDITOR -n $T