feat(nvim): support for nix
This commit is contained in:
parent
c6ec7e7af7
commit
7e62eef733
@ -0,0 +1,6 @@
|
|||||||
|
local opt_local = vim.opt_local
|
||||||
|
|
||||||
|
opt_local.tabstop = 2
|
||||||
|
opt_local.shiftwidth = 2
|
||||||
|
|
||||||
|
vim.api.nvim_buf_set_option(0, "commentstring", "# %s")
|
15
dots/.nvim-environments/primary/config/config.nix
Normal file
15
dots/.nvim-environments/primary/config/config.nix
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
services = {
|
||||||
|
httpd = {
|
||||||
|
enable = true;
|
||||||
|
adminAddr = "alice@example.org";
|
||||||
|
virtualHosts = {
|
||||||
|
localhost = {
|
||||||
|
documentRoot = "/webroot";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user