refactor nixos config

This commit is contained in:
2025-12-12 21:42:42 +03:00
parent 732f6f89a5
commit 737b10813b
14 changed files with 158 additions and 135 deletions
+4 -5
View File
@@ -86,12 +86,11 @@
wttr = "curl wttr.in/Ramenki\\?p1MQ";
gitpa = ''f() { git add -A && git commit -m "$1" && git push; }; f'';
gitpa = ''
f() { git add -A && git commit -m "$1" && git push; unset -f f; }; f
'';
og = ''f() { z github "$@" && code . && exit; unset -f f; }; f'';
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
cnfg = "cd nixos-config && code . && exit";
x = "select_command";
u = "update_git_config";