chrome for stupid reasons, tmux updates, direnv
This commit is contained in:
parent
c14e0dde4e
commit
3e02b38f38
5 changed files with 39 additions and 4 deletions
18
users/_common/programs/direnv.nix
Normal file
18
users/_common/programs/direnv.nix
Normal file
|
@ -0,0 +1,18 @@
|
|||
{ settings, ... }:
|
||||
{
|
||||
programs.direnv = {
|
||||
enable = true;
|
||||
enableZshIntegration = true;
|
||||
config = {
|
||||
global = {
|
||||
strict_env = true;
|
||||
load_dotenv = true;
|
||||
hide_env_diff = true;
|
||||
};
|
||||
whitelist = {
|
||||
prefix = [ "~/projects" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -50,6 +50,9 @@
|
|||
"Network Trash Folder"
|
||||
"Temporary Items"
|
||||
".apdisk"
|
||||
|
||||
# direnv things
|
||||
"/.direnv"
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
5
users/josh/programs/chrome.nix
Normal file
5
users/josh/programs/chrome.nix
Normal file
|
@ -0,0 +1,5 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
home.packages = [ pkgs.google-chrome ];
|
||||
}
|
||||
|
|
@ -73,5 +73,10 @@ in
|
|||
}
|
||||
];
|
||||
};
|
||||
|
||||
home.shellAliases = {
|
||||
t = "tmux";
|
||||
tat = "tmux ls 2>/dev/null && tmux attach-session -t \"$(tmux ls | head -n1 | cut -d: -f1)\" || tmux new-session";
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue