Fix obvios mistake with new aliases

This commit is contained in:
Tyler Kelley 2024-02-17 13:12:34 -06:00
parent e2aabb7222
commit a098fe5f39

View File

@ -1,6 +1,7 @@
{ config, lib, pkgs, ... }:
let inherit (import ../../options.nix) flakeDir flakePrev flakeBackup theShell; in
let inherit (import ../../options.nix) flakeDir flakePrev
hostname flakeBackup theShell; in
lib.mkIf (theShell == "bash") {
# Configure Bash
programs.bash = {
@ -24,8 +25,8 @@ lib.mkIf (theShell == "bash") {
};
shellAliases = {
sv="sudo nvim";
flake-rebuild="nh os switch --nom --hostname ${flakeDir}";
flake-update="nh os switch --nom --hostname ${flakeDir} --update";
flake-rebuild="nh os switch --nom --hostname ${hostname}";
flake-update="nh os switch --nom --hostname ${hostname} --update";
gcCleanup="nix-collect-garbage --delete-old && sudo nix-collect-garbage -d && sudo /run/current-system/bin/switch-to-configuration boot";
v="nvim";
ls="lsd";