mirror of
https://gitlab.com/Zaney/zaneyos.git
synced 2024-11-25 16:13:09 +01:00
Fix obvios mistake with new aliases
This commit is contained in:
parent
e2aabb7222
commit
a098fe5f39
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user