WIP: Switch to NixOS #5

Draft
FunctionalHacker wants to merge 1349 commits from nix into main
Showing only changes of commit 468cc65e27 - Show all commits

View file

@ -170,13 +170,13 @@ passync() { pass git pull && pass git push && updatesecrets }
update() { update() {
all() { all() {
dotfiles
packages packages
{%@@ if profile == "Moria" @@%} {%@@ if profile == "Moria" @@%}
repo repo
docker-update docker-update
{%@@ endif @@%} {%@@ endif @@%}
plugins plugins
dotfiles
} }
packages() { packages() {
@ -195,7 +195,7 @@ update() {
plugins() { plugins() {
echo "Updating NeoVim plugins" echo "Updating NeoVim plugins"
nvim --headless -c "Lazy! sync" -c 'TSUpdateSync' -c 'MasonToolsUpdate' -c 'qa' nvim --headless -c "Lazy! restore" -c 'TSUpdateSync' -c 'MasonToolsUpdate' -c 'qa'
zinit self-update zinit self-update
zinit update -p zinit update -p
{%@@ if profile == "Moria" @@%} {%@@ if profile == "Moria" @@%}