refactor(treewide): clean-up, flatten, rework module system
This commit is contained in:
		
							parent
							
								
									4ddf9d2b35
								
							
						
					
					
						commit
						5590c8a951
					
				
					 58 changed files with 397 additions and 635 deletions
				
			
		| 
						 | 
				
			
			@ -1,11 +1,13 @@
 | 
			
		|||
{ config, lib, ... }:
 | 
			
		||||
 | 
			
		||||
let
 | 
			
		||||
  cfg = config.ooknet.console.editor.nvim.plugins;
 | 
			
		||||
  inherit (lib) mkIf;
 | 
			
		||||
  cfg = config.ooknet.editor.nvim;
 | 
			
		||||
  console = config.ooknet.console;
 | 
			
		||||
in
 | 
			
		||||
 | 
			
		||||
{
 | 
			
		||||
  config = lib.mkIf cfg.telescope {
 | 
			
		||||
  config = mkIf (cfg.enable || console.editor == "nvim") {
 | 
			
		||||
    programs.nixvim = {
 | 
			
		||||
      plugins.telescope = {
 | 
			
		||||
        enable = true;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue