mirror of
https://github.com/itme-brain/nixos.git
synced 2026-03-24 00:29:43 -04:00
Fixed
This commit is contained in:
parent
180a98fa25
commit
fb675823f3
4 changed files with 14 additions and 8 deletions
|
|
@ -1,4 +1,4 @@
|
|||
{ pkgs ? import <nixpkgs> {} }:
|
||||
{ pkgs, configs, ... }:
|
||||
|
||||
|
||||
with pkgs;
|
||||
|
|
@ -13,9 +13,7 @@ mkShell {
|
|||
shellHook = ''
|
||||
echo "Preparing your environment, Bryan..."
|
||||
|
||||
wget https://github.com/itme-brain/nixos/tree/yolo-allin/terminal/configs.tar.gz
|
||||
|
||||
tar -xzvf configs.tar.gz -C .
|
||||
tar -xzvf ${configs} -C .
|
||||
|
||||
if [ -f ~/.bashrc ] || [ -f ~/.config/alacritty/alacritty.yml ] || [ -d ~/.config/nvim ] || [ -f ~/.gitconfig ]; then
|
||||
echo "Backing up existing config files..."
|
||||
|
|
@ -37,7 +35,6 @@ mkShell {
|
|||
|
||||
gpg --import configs/pub.key
|
||||
|
||||
rm configs.tar.gz
|
||||
rm configs
|
||||
find . -type d -empty -delete
|
||||
|
||||
|
|
@ -55,6 +52,6 @@ mkShell {
|
|||
fi
|
||||
|
||||
echo "Terminal ready."
|
||||
echp "Run `ldv` to get some existing environments."
|
||||
echo "Run `ldv` to get some existing environments."
|
||||
'';
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue