Some cleanup

main
Matthew Ess 2021-01-11 00:46:25 -05:00
parent 3ff6eaf667
commit f3137e3a32
6 changed files with 7 additions and 30 deletions

View File

@ -1,7 +0,0 @@
{
nix = {
binaryCaches = [ "https://hie-nix.cachix.org" ];
binaryCachePublicKeys =
[ "hie-nix.cachix.org-1:EjBSHzF6VmDnzqlldGXbi0RM3HdjfTU3yDRi9Pd0jTY=" ];
};
}

View File

@ -1,8 +0,0 @@
{
nix = {
binaryCaches = [ "https://matthewess.cachix.org" ];
binaryCachePublicKeys = [
"matthewess.cachix.org-1:dlcWfdyp8KTqlWXYIupL2+GM3hkWAojTl+WOBqGt/X0="
];
};
}

View File

@ -1,7 +0,0 @@
{
nix = {
binaryCaches = [ "https://mothbot.cachix.org" ];
binaryCachePublicKeys =
[ "mothbot.cachix.org-1:+frc2gaYS3tGHaHCeuwlWkBSR6xwskmCfvIX3YjMcV8=" ];
};
}

View File

@ -8,12 +8,9 @@
alias cxpsh="nix-shell --command exit; nix-store -qR --include-outputs (nix-instantiate shell.nix) | cachix push"
alias cxpush=cxpsh
function config -a file
if test -z "$file"
set file configuration
end
vim ~/dotfiles.nix/$file.nix +'cd %:p:h'
end
alias code=codium
alias config="code ~/dotfiles.nix"
alias home="vim ~/dotfiles.nix/users/mat-hm.nix +'cd %:p:h'"
alias vims="vim -S Session.vim"

View File

@ -76,7 +76,10 @@ in {
enable = true;
matchBlocks = {
"pi".hostname = "192.168.1.165";
"gagarin".hostname = "192.168.1.246";
"gagarin" = {
hostname = "192.168.1.246";
forwardAgent = true;
};
"mir".hostname = "138.197.58.58";
"soviet".hostname = "soviet.circumlunar.space";
};

View File

@ -59,7 +59,6 @@ in {
alias rebuildd="sudo nixos-rebuild switch; and systemctl restart display-manager"
alias upgrade="sudo rm -rf /root/.cache/nix/tarballs; and sudo nix-channel --update; and sudo nixos-rebuild switch --upgrade"
bind \cr 'fzy_select_history (commandline -b)'
bind -M insert \cr 'fzy_select_history (commandline -b)'