rfactoring working now
This commit is contained in:
parent
26aa946bfa
commit
147dedbca8
10 changed files with 48 additions and 29 deletions
|
@ -28,12 +28,12 @@ in {
|
|||
environment.systemPackages = with pkgs; [
|
||||
typstyle
|
||||
];
|
||||
imports = concatLists [
|
||||
# neovim-flake home-manager module
|
||||
[nvf.nixosModules.default]
|
||||
# construct this entire directory as a module
|
||||
# which means all default.nix files will be imported automtically
|
||||
(mkNeovimModule {path = ./.;})
|
||||
];
|
||||
};
|
||||
imports = concatLists [
|
||||
# neovim-flake home-manager module
|
||||
[nvf.nixosModules.default]
|
||||
# construct this entire directory as a module
|
||||
# which means all default.nix files will be imported automtically
|
||||
(mkNeovimModule {path = ./.;})
|
||||
];
|
||||
}
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
inherit (lib.attrsets) genAttrs;
|
||||
inherit (lib) mkIf mkEnableOption;
|
||||
|
||||
cfg = config.modules.editors.neovim;
|
||||
cfg = config.modules.system.programs.editors.neovim;
|
||||
nvf = inputs.neovim-flake;
|
||||
inherit (nvf.lib.nvim.dag) entryBefore entryAnywhere;
|
||||
|
||||
|
@ -24,7 +24,6 @@
|
|||
path = toString finalPath;
|
||||
};
|
||||
in {
|
||||
options.modules.editors.neovim.enable = mkEnableOption "neovim";
|
||||
config = mkIf cfg.enable {
|
||||
programs.neovim-flake = {
|
||||
enable = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue