WIP: Switch to NixOS #5
1 changed files with 11 additions and 0 deletions
11
home/.config/systemd/user/nvim-headless.service
Normal file
11
home/.config/systemd/user/nvim-headless.service
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
[Unit]
|
||||||
|
Description=Neovim headless server
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=simple
|
||||||
|
ExecStart=/bin/bash --login -c 'nvim --headless --listen %h/.var/nvim.socket'
|
||||||
|
Restart=always
|
||||||
|
RestartSec=1
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=default.target
|
Loading…
Add table
Add a link
Reference in a new issue