cleanup script changes and fixing openssl
This commit is contained in:
@@ -48,7 +48,7 @@
|
||||
|
||||
# Check if we're in a nix-shell or nix develop environment
|
||||
if [[ -n "$IN_NIX_SHELL" ]]; then
|
||||
PROMPT='%F{red}%f%F{143}%~%f $(git_prompt_info)$(virtualenv_prompt_info)
|
||||
PROMPT='%F{red}DEV%f%F{143}%~%f $(git_prompt_info)$(virtualenv_prompt_info)
|
||||
%F{143}$ '
|
||||
else
|
||||
PROMPT='%F{143}%~%f $(git_prompt_info)$(virtualenv_prompt_info)
|
||||
|
||||
@@ -7,18 +7,18 @@
|
||||
syntaxHighlighting.enable = true;
|
||||
|
||||
shellAliases = {
|
||||
usermodules = "nvim /home/toothpick/.nix-config/home/users/toothpick/modules.nix";
|
||||
umod = "nvim /home/toothpick/.nix-config/home/users/toothpick/modules.nix";
|
||||
systemmodules = "nvim /home/toothpick/.nix-config/hosts/toothpc/modules.nix";
|
||||
smod = "nvim /home/toothpick/.nix-config/hosts/toothpc/modules.nix";
|
||||
nixclean = "sudo nix run /home/toothpick/.nix-config#cleanup-boot";
|
||||
usermodules = "$EDITOR /home/$USER/.nix-config/home/users/$USER/modules.nix";
|
||||
umod = "$EDITOR /home/$USER/.nix-config/home/users/$USER/modules.nix";
|
||||
systemmodules = "$EDITOR /home/$USER/.nix-config/hosts/$HOST/modules.nix";
|
||||
smod = "$EDITOR /home/$USER/.nix-config/hosts/$HOST/modules.nix";
|
||||
nixclean = "sudo nix run /home/$USER/.nix-config#cleanup-boot";
|
||||
nixdev = "nix develop ~/.nix-config -c $SHELL";
|
||||
nixconfig = "cd /home/toothpick/.nix-config/";
|
||||
nixconfig = "cd /home/$USER/.nix-config/";
|
||||
ll = "ls -l";
|
||||
nixupdate = "nh os switch -v -H toothpc && sudo nix run /home/toothpick/.nix-config#cleanup-boot";
|
||||
nixup = "nh os switch -H toothpc && sudo nix run /home/toothpick/.nix-config#cleanup-boot";
|
||||
flakeupdate = "nh os switch -u -v -H toothpc && sudo nix run /home/toothpick/.nix-config#cleanup-boot";
|
||||
flakeup = "nh os switch -u -H toothpc && sudo nix run /home/toothpick/.nix-config#cleanup-boot";
|
||||
nixupdate = "nh os switch -v -H $HOST && sudo nix run /home/$USER/.nix-config#cleanup-boot";
|
||||
nixup = "nh os switch -H $HOST && sudo nix run /home/$USER/.nix-config#cleanup-boot";
|
||||
flakeupdate = "nh os switch -u -v -H $HOST && sudo nix run /home/$USER/.nix-config#cleanup-boot";
|
||||
flakeup = "nh os switch -u -H $HOST && sudo nix run /home/$USER/.nix-config#cleanup-boot";
|
||||
};
|
||||
history = {
|
||||
size = 1000;
|
||||
@@ -49,7 +49,7 @@
|
||||
|
||||
# Check if we're in a nix-shell or nix develop environment
|
||||
if [[ -n "$IN_NIX_SHELL" ]]; then
|
||||
PROMPT='%F{red}%f%F{143}%~%f $(git_prompt_info)$(virtualenv_prompt_info)
|
||||
PROMPT='%F{red}DEV%f%F{143}%~%f $(git_prompt_info)$(virtualenv_prompt_info)
|
||||
%F{143}$ '
|
||||
else
|
||||
PROMPT='%F{143}%~%f $(git_prompt_info)$(virtualenv_prompt_info)
|
||||
|
||||
Reference in New Issue
Block a user