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