update shellAliases
This commit is contained in:
parent
61b531aa11
commit
60934bcbf4
2 changed files with 17 additions and 20 deletions
|
|
@ -1,14 +1,9 @@
|
|||
{
|
||||
config,
|
||||
inputs,
|
||||
root,
|
||||
...
|
||||
}: {
|
||||
home.username = "dea";
|
||||
home.homeDirectory = "/home/dea";
|
||||
home.sessionPath = [
|
||||
"$HOME/.local/bin"
|
||||
];
|
||||
|
||||
imports = [
|
||||
inputs.plasma-manager.homeModules.plasma-manager
|
||||
|
||||
|
|
@ -18,6 +13,22 @@
|
|||
/${root}/homes/modules/mpv
|
||||
];
|
||||
|
||||
home.username = "dea";
|
||||
home.homeDirectory = "/home/dea";
|
||||
home.sessionPath = [
|
||||
"$HOME/.local/bin"
|
||||
];
|
||||
home.shellAliases = {
|
||||
eep = "systemctl suspend";
|
||||
hibernate = "systemctl hybrid-sleep";
|
||||
restart = "systemctl reboot";
|
||||
shutdown = "systemctl poweroff";
|
||||
vim = "dvim";
|
||||
nvim = "dvim";
|
||||
rebuild = "nh os switch ~/dea-files";
|
||||
trybuild = "nh os test ~/dea-files";
|
||||
};
|
||||
|
||||
programs.plasma = {
|
||||
enable = true;
|
||||
kwin.edgeBarrier = 50;
|
||||
|
|
|
|||
|
|
@ -1,17 +1,3 @@
|
|||
eval "$(starship init bash)"
|
||||
|
||||
alias eep='systemctl suspend'
|
||||
alias hibernate='systemctl hybrid-sleep'
|
||||
alias restart='systemctl reboot'
|
||||
alias shutdown='systemctl poweroff'
|
||||
alias vim='dvim'
|
||||
alias nvim='dvim'
|
||||
rebuild() {
|
||||
if [ -z "$1" ]
|
||||
then
|
||||
sudo nixos-rebuild switch --flake ~/dea-files#"$(hostname)"
|
||||
else
|
||||
sudo nixos-rebuild switch --flake ~/dea-files#"$1"
|
||||
fi
|
||||
}
|
||||
[ -f "/home/dea/.ghcup/env" ] && . "/home/dea/.ghcup/env" # ghcup-env
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue