wrappers/modules: move enable to shared.nix

We may end up having additional "shared" options and/or config.
This commit is contained in:
Matt Sturgeon 2024-10-22 09:08:37 +01:00
parent c693500a72
commit 574ae92a43
No known key found for this signature in database
GPG key ID: 4F91844CED1A8299
5 changed files with 9 additions and 7 deletions

View file

@ -1,3 +1,3 @@
{
imports = [ ./enable.nix ];
imports = [ ./shared.nix ];
}

View file

@ -1,4 +0,0 @@
{ lib, ... }:
{
options.enable = lib.mkEnableOption "nixvim";
}

View file

@ -12,7 +12,7 @@
};
};
imports = [ ./enable.nix ];
imports = [ ./shared.nix ];
config = {
wrapRc = lib.mkOptionDefault false;

View file

@ -4,5 +4,5 @@
defaultEditor = lib.mkEnableOption "nixvim as the default editor";
};
imports = [ ./enable.nix ];
imports = [ ./shared.nix ];
}

View file

@ -0,0 +1,6 @@
{ lib, ... }:
{
options = {
enable = lib.mkEnableOption "nixvim";
};
}