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,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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue