aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2022-07-02 09:44:03 +0200
committerKarel Kočí <cynerd@email.cz>2022-07-02 09:44:03 +0200
commit30ebc83f8fe76da61ee9cbc6b7cd5f1f1cfc18e0 (patch)
treeec927ef2d75ef63117f1ed4199788737a1d2951d
parentc49abeb1a3e2b526dda17e71bccba1630360470f (diff)
downloadmyconfigs-30ebc83f8fe76da61ee9cbc6b7cd5f1f1cfc18e0.tar.gz
myconfigs-30ebc83f8fe76da61ee9cbc6b7cd5f1f1cfc18e0.tar.bz2
myconfigs-30ebc83f8fe76da61ee9cbc6b7cd5f1f1cfc18e0.zip
Migrate Ridcully to NixOS
-rw-r--r--.ignore-ridcully1
-rw-r--r--config/nix/nix.conf2
-rwxr-xr-xinstall6
-rwxr-xr-xlocal/bin/allsync2
m---------private0
5 files changed, 8 insertions, 3 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
-Subproject 13956724dbf3420eede9fdcdb7cce6a3fdc9964
+Subproject 02b192c2ea6861de4318a298e16987dee9d12d7