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,13 +5,13 @@
...
}: {
options = {
host.nvim.enable-lsp = lib.mkEnableOption "nvim lsp";
home.nvim.enable-lsp = lib.mkEnableOption "nvim lsp";
};
config =
lib.mkIf config.host.nvim.enable-lsp
lib.mkIf config.home.nvim.enable-lsp
{
host.nvim.enable-completions = true;
home.nvim.enable-completions = true;
programs.nixvim = {
plugins.lsp = {
enable = true;