make sync script better
This commit is contained in:
parent
edc2c68304
commit
5f113ba9c9
|
@ -8,6 +8,7 @@ opt.mouse = "a"
|
|||
opt.termguicolors = true
|
||||
opt.cursorline = false -- dont highlight current line
|
||||
opt.number = true
|
||||
g.rainbow_active = true
|
||||
|
||||
-- highlight yanked text for 200ms using the "Visual" highlight group
|
||||
vim.cmd[[
|
||||
|
|
4
sync.sh
4
sync.sh
|
@ -14,5 +14,9 @@ cp -r /etc/nixos/ ./backup
|
|||
# copy over all the files to /etc/nixos/
|
||||
sudo cp -r ./configuration.nix ./nvim/ ./packages.nix ./home.nix ./user.nix /etc/nixos/
|
||||
|
||||
nix-build ./penrose
|
||||
sudo cp ./penrose/result/bin/penrose-custom /etc/nixos
|
||||
|
||||
|
||||
# update and build my new config
|
||||
sudo nixos-rebuild switch --upgrade
|
||||
|
|
Loading…
Reference in New Issue