moved home-manager options to the "home" namespace
this frees up the "host" namespace for host-wide options.
This commit is contained in:
parent
ec2a7506a3
commit
9eb783a3e8
17 changed files with 64 additions and 55 deletions
|
@ -5,14 +5,14 @@
|
|||
...
|
||||
}: {
|
||||
options = {
|
||||
host.nvim.enable-completions =
|
||||
home.nvim.enable-completions =
|
||||
(lib.mkEnableOption "basic completion in nvim")
|
||||
// {
|
||||
default = config.host.nvim.enable-treesitter || config.host.nvim.enable-lsp;
|
||||
default = false;
|
||||
};
|
||||
};
|
||||
config =
|
||||
lib.mkIf config.host.nvim.enable-completions
|
||||
lib.mkIf config.home.nvim.enable-completions
|
||||
{
|
||||
programs.nixvim = {
|
||||
plugins.luasnip.enable = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue