From 30ebc83f8fe76da61ee9cbc6b7cd5f1f1cfc18e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Sat, 2 Jul 2022 09:44:03 +0200 Subject: Migrate Ridcully to NixOS --- .ignore-ridcully | 1 + config/nix/nix.conf | 2 +- install | 6 +++++- local/bin/allsync | 2 +- private | 2 +- 5 files changed, 9 insertions(+), 4 deletions(-) diff --git a/.ignore-ridcully b/.ignore-ridcully index 56251be..c550171 100644 --- a/.ignore-ridcully +++ b/.ignore-ridcully @@ -1 +1,2 @@ wake-desktop +nix diff --git a/config/nix/nix.conf b/config/nix/nix.conf index 5ba0911..7baea2b 100644 --- a/config/nix/nix.conf +++ b/config/nix/nix.conf @@ -1,4 +1,4 @@ -max-jobs = 8 +max-jobs = 32 cores = 0 experimental-features = nix-command flakes extra-platforms = armv7l-linux aarch64-linux diff --git a/install b/install index 6c5edbb..4770695 100755 --- a/install +++ b/install @@ -50,6 +50,9 @@ if ask "vim" "Install VIM scripts"; then git clone "https://github.com/VundleVim/Vundle.vim.git" ~/.vim/bundle/Vundle.vim } vim +PluginUpdate +qall + # cs spelling + mkdir -p ~/.vim/spell + curl "http://ftp.vim.org/vim/runtime/spell/cs.utf-8.spl" > ~/.vim/spell/cs.utf-8.spl fi if ask "dev" "Development tools configuration"; then @@ -62,7 +65,8 @@ fi if ask "sync" "Install synchronization"; then inst local/bin/allsync ~/.local/bin/allsync if [ "$(ps -o comm= 1)" = "systemd" ]; then - inst config/systemd/user/allsync.{service,timer} ~/.config/systemd/user/ + inst config/systemd/user/allsync.service ~/.config/systemd/user/ + inst config/systemd/user/allsync.timer ~/.config/systemd/user/ fi inst private/mbsyncrc ~/.mbsyncrc diff --git a/local/bin/allsync b/local/bin/allsync index db64b4e..5ba912a 100755 --- a/local/bin/allsync +++ b/local/bin/allsync @@ -113,7 +113,7 @@ sec "Mail" i3_astroid --start-polling mbsync -a || fail "Mail synchronization reported failure" notmuch new -~/.local/sbin/newmail-notify || fail "Mail notifications not sent" +#~/.local/sbin/newmail-notify || fail "Mail notifications not sent" notmuch tag --batch --input="$HOME/.notmuch-tag-new" i3_astroid --stop-polling pkill -RTMIN+13 i3blocks diff --git a/private b/private index 1395672..02b192c 160000 --- a/private +++ b/private @@ -1 +1 @@ -Subproject commit 13956724dbf3420eede9fdcdb7cce6a3fdc9964c +Subproject commit 02b192c2ea6861de4318a298e16987dee9d12d78 -- cgit v1.2.3