small fix

This commit is contained in:
2025-11-19 03:06:02 +03:00
parent a1237f95e0
commit 577d93237c
3 changed files with 33 additions and 52 deletions
+5 -6
View File
@@ -59,17 +59,16 @@
gitpa = ''f() { git add -A && git commit -m "$1" && git push; }; f'';
home-cnfg = "nvim ~/.config/home-manager/home.nix";
home-rr = "home-manager switch";
cnfg = "sudo nvim /nixos/configuration.nix";
rr = "sudo nixos-rebuild switch";
# home-cnfg = "nvim ~/.config/home-manager/home.nix";
# home-rr = "home-manager switch";
# cnfg = "sudo nvim /nixos/configuration.nix";
# rr = "sudo nixos-rebuild switch";
amnezia = ''
(pgrep -x ".AmneziaVPN-ser" > /dev/null 2>&1 || sudo AmneziaVPN-service > /dev/null 2>&1 &) &
AmneziaVPN > /dev/null 2>&1 &
''; # TODO: start system with service
# mkenv = ''
# echo "use nix" > .envrc && touch default.nix && direnv allow && echo "✓ env created"'';
cnfg = "cd nixos-config && code . && exit";
};