This commit is contained in:
tess 2023-02-20 03:48:26 +01:00
parent 2c0c45a26c
commit 1c26cf64e7
2 changed files with 1 additions and 39 deletions

View File

@ -1,38 +0,0 @@
# Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running nixos-help).
{ config, pkgs, ... }:
{
environment.systemPackages = with pkgs; [
(neovim.override {
configure = {
customRC = ''
command! -nargs=0 Prettier :CocCommand prettier.forceFormatDocument
syntax on
set mouse=a
filetype plugin indent on
let g:rustfmt_autosave = 1
'';
packages.myVimPackage = with pkgs.vimPlugins; {
start = [
coc-nvim
coc-prettier
coc-texlab
coc-rust-analyzer
coc-html
rust-vim
vimwiki
vim-nix
];
opt = [ ];
};
};
}
)];
}

View File

@ -6,6 +6,6 @@ git pull
cp -r /etc/nixos/ ./backup
sudo cp -r ./configuration.nix ./nvim.nix ./loris.nix /etc/nixos/
sudo cp -r ./configuration.nix /etc/nixos/
sudo nixos-rebuild switch --upgrade