moved home-manager options to the "home" namespace

this frees up the "host" namespace for host-wide options.
This commit is contained in:
Gabe Venberg 2024-04-23 16:56:34 -05:00
parent ec2a7506a3
commit 9eb783a3e8
17 changed files with 64 additions and 55 deletions

View file

@ -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;