15 lines
		
	
	
	
		
			255 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
	
		
			255 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
{ config, lib, ... }:
 | 
						|
 | 
						|
let
 | 
						|
  inherit (lib) mkIf;
 | 
						|
  cfg = config.ooknet.editor.nvim;
 | 
						|
  console = config.ooknet.console;
 | 
						|
in
 | 
						|
 | 
						|
{
 | 
						|
  config = mkIf (cfg.enable || console.editor == "nvim") {
 | 
						|
    programs.nixvim.plugins.nix = {
 | 
						|
      enable = true;
 | 
						|
    };
 | 
						|
  };
 | 
						|
}
 |