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, ... }: { 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") { lib.mkIf (theShell == "bash") {
# Configure Bash # Configure Bash
programs.bash = { programs.bash = {
@ -24,8 +25,8 @@ lib.mkIf (theShell == "bash") {
}; };
shellAliases = { shellAliases = {
sv="sudo nvim"; sv="sudo nvim";
flake-rebuild="nh os switch --nom --hostname ${flakeDir}"; flake-rebuild="nh os switch --nom --hostname ${hostname}";
flake-update="nh os switch --nom --hostname ${flakeDir} --update"; 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"; gcCleanup="nix-collect-garbage --delete-old && sudo nix-collect-garbage -d && sudo /run/current-system/bin/switch-to-configuration boot";
v="nvim"; v="nvim";
ls="lsd"; ls="lsd";