refactor(home): homeModules -> ooknet
This commit is contained in:
		
							parent
							
								
									b81c929a0b
								
							
						
					
					
						commit
						1d1cb3092f
					
				
					 104 changed files with 214 additions and 255 deletions
				
			
		|  | @ -1,7 +1,7 @@ | |||
| { lib, config, inputs, ... }: | ||||
| 
 | ||||
| let | ||||
|   cfg = config.homeModules.desktop.wayland.bar.ags; | ||||
|   cfg = config.ooknet.desktop.wayland.bar.ags; | ||||
| in | ||||
| 
 | ||||
| { | ||||
|  |  | |||
|  | @ -6,7 +6,7 @@ | |||
|     ./waybar | ||||
|   ]; | ||||
| 
 | ||||
|   options.homeModules.desktop.wayland.bar = { | ||||
|   options.ooknet.desktop.wayland.bar = { | ||||
|     eww = { | ||||
|       enable = lib.mkEnableOption "Enable Eww bar"; | ||||
|     }; | ||||
|  |  | |||
|  | @ -1,8 +1,8 @@ | |||
| { config, lib, pkgs, ... }: | ||||
| 
 | ||||
| let | ||||
|   fonts = config.homeModules.theme.fonts; | ||||
|   cfg = config.homeModules.desktop.wayland.bar.waybar; | ||||
|   fonts = config.ooknet.theme.fonts; | ||||
|   cfg = config.ooknet.desktop.wayland.bar.waybar; | ||||
|   monitorWidth =  (lib.head config.monitors).width - 20; | ||||
|   inherit (config.colorscheme) palette; | ||||
| in | ||||
|  |  | |||
|  | @ -1,7 +1,7 @@ | |||
| { lib, config, ... }: | ||||
| 
 | ||||
| let | ||||
|   cfg = config.homeModules.desktop.wayland; | ||||
|   cfg = config.ooknet.desktop.wayland; | ||||
| in | ||||
| { | ||||
|   imports = [ | ||||
|  | @ -13,7 +13,7 @@ in | |||
|     ./launcher | ||||
|   ]; | ||||
| 
 | ||||
|   options.homeModules.desktop.wayland = { | ||||
|   options.ooknet.desktop.wayland = { | ||||
|     enable = lib.mkEnableOption "Enable wayland specific confurations"; | ||||
|     nvidia = lib.mkOption { | ||||
|       type = lib.types.bool; | ||||
|  |  | |||
|  | @ -1,7 +1,7 @@ | |||
| { config, lib, inputs, pkgs, ... }: | ||||
| 
 | ||||
| let | ||||
|   cfg = config.homeModules.desktop.wayland.launcher.anyrun; | ||||
|   cfg = config.ooknet.desktop.wayland.launcher.anyrun; | ||||
| in | ||||
| 
 | ||||
| { | ||||
|  |  | |||
|  | @ -7,7 +7,7 @@ | |||
|     ./tofi | ||||
|   ]; | ||||
| 
 | ||||
|   options.homeModules.desktop.wayland.launcher = { | ||||
|   options.ooknet.desktop.wayland.launcher = { | ||||
|     anyrun = { | ||||
|       enable = lib.mkEnableOption "enable anyrun launcher module"; | ||||
|     }; | ||||
|  |  | |||
|  | @ -1,8 +1,8 @@ | |||
| { lib, config, pkgs, ... }: | ||||
| 
 | ||||
| let | ||||
|   fonts = config.homeModules.theme.fonts; | ||||
|   cfg = config.homeModules.desktop.wayland.launcher.rofi; | ||||
|   fonts = config.ooknet.theme.fonts; | ||||
|   cfg = config.ooknet.desktop.wayland.launcher.rofi; | ||||
| in | ||||
| 
 | ||||
| { | ||||
|  |  | |||
|  | @ -1,8 +1,8 @@ | |||
| { lib, config, pkgs, ... }: | ||||
| 
 | ||||
| let | ||||
|   cfg = config.homeModules.desktop.wayland.launcher.tofi; | ||||
|   fonts = config.homeModules.theme.fonts; | ||||
|   cfg = config.ooknet.desktop.wayland.launcher.tofi; | ||||
|   fonts = config.ooknet.theme.fonts; | ||||
|   inherit (config.colorscheme) palette; | ||||
| in | ||||
| 
 | ||||
|  |  | |||
|  | @ -7,7 +7,7 @@ | |||
|     ./hyprlock | ||||
|   ]; | ||||
| 
 | ||||
|   options.homeModules.desktop.wayland.lockscreen = { | ||||
|   options.ooknet.desktop.wayland.lockscreen = { | ||||
|     swaylock = { | ||||
|       enable = lib.mkEnableOption "Enable Swaylock screen"; | ||||
|     }; | ||||
|  |  | |||
|  | @ -1,8 +1,8 @@ | |||
| { lib, config, inputs, pkgs, ... }: | ||||
| 
 | ||||
| let | ||||
|   cfg = config.homeModules.desktop.wayland.lockscreen.hyprlock; | ||||
|   fonts = config.homeModules.theme.fonts; | ||||
|   cfg = config.ooknet.desktop.wayland.lockscreen.hyprlock; | ||||
|   fonts = config.ooknet.theme.fonts; | ||||
|   inherit (config.colorscheme) palette; | ||||
| in | ||||
| 
 | ||||
|  |  | |||
|  | @ -2,9 +2,9 @@ | |||
| 
 | ||||
| let | ||||
|   inherit (config.colorscheme) palette; | ||||
|   fonts = config.homeModules.theme.fonts; | ||||
|   wallpaperPath = config.homeModules.theme.wallpaper.path; | ||||
|   cfg = config.homeModules.desktop.wayland.lockscreen.swaylock; | ||||
|   fonts = config.ooknet.theme.fonts; | ||||
|   wallpaperPath = config.ooknet.theme.wallpaper.path; | ||||
|   cfg = config.ooknet.desktop.wayland.lockscreen.swaylock; | ||||
| in | ||||
| { | ||||
|   config = lib.mkIf cfg.enable { | ||||
|  |  | |||
|  | @ -6,7 +6,7 @@ | |||
|     #./dunst -- still needs to be implemented | ||||
|   ]; | ||||
| 
 | ||||
|   options.homeModules.desktop.wayland.notification = { | ||||
|   options.ooknet.desktop.wayland.notification = { | ||||
|     mako = { | ||||
|       enable = lib.mkEnableOption "Enable mako notification daemon"; | ||||
|     }; | ||||
|  |  | |||
|  | @ -1,8 +1,8 @@ | |||
| { config, lib, ... }: | ||||
| let | ||||
|   inherit (config.colorscheme) palette variant; | ||||
|   fonts = config.homeModules.theme.fonts; | ||||
|   cfg = config.homeModules.desktop.wayland.notification.mako; | ||||
|   fonts = config.ooknet.theme.fonts; | ||||
|   cfg = config.ooknet.desktop.wayland.notification.mako; | ||||
| in { | ||||
|   config = lib.mkIf cfg.enable { | ||||
|     services.mako  = { | ||||
|  |  | |||
|  | @ -6,7 +6,7 @@ | |||
|     ./tools | ||||
|   ]; | ||||
| 
 | ||||
|   options.homeModules.desktop.wayland.utility = { | ||||
|   options.ooknet.desktop.wayland.utility = { | ||||
|     tools = { | ||||
|       enable = lib.mkEnableOption "Enable wayland specific tools"; | ||||
|     }; | ||||
|  |  | |||
|  | @ -1,7 +1,7 @@ | |||
| { lib, config, ... }: | ||||
| 
 | ||||
| let | ||||
|   cfg = config.homeModules.desktop.wayland.utility.gammastep; | ||||
|   cfg = config.ooknet.desktop.wayland.utility.gammastep; | ||||
| in | ||||
| 
 | ||||
| { | ||||
|  |  | |||
|  | @ -1,7 +1,7 @@ | |||
| { lib, config, pkgs, ... }: | ||||
| 
 | ||||
| let | ||||
|   cfg = config.homeModules.desktop.wayland.utility.tools; | ||||
|   cfg = config.ooknet.desktop.wayland.utility.tools; | ||||
| in | ||||
| 
 | ||||
| { | ||||
|  |  | |||
|  | @ -5,7 +5,7 @@ | |||
|     ./hyprland | ||||
|   ]; | ||||
| 
 | ||||
|   options.homeModules.desktop.wayland.windowManager = {  | ||||
|   options.ooknet.desktop.wayland.windowManager = {  | ||||
|     hyprland = { | ||||
|       enable = lib.mkEnableOption "Enable Hyprland window-manager"; | ||||
|     }; | ||||
|  |  | |||
|  | @ -1,6 +1,6 @@ | |||
| { lib, config, pkgs, inputs, ... }:  | ||||
| let | ||||
|   cfg = config.homeModules.desktop.wayland.windowManager.hyprland; | ||||
|   cfg = config.ooknet.desktop.wayland.windowManager.hyprland; | ||||
|   inherit (import ./pkgs {inherit pkgs;}) hyprbrightness hyprvolume; | ||||
|   inherit (inputs.ooks-scripts.packages.${pkgs.system}) powermenu zellijmenu; | ||||
| in | ||||
|  |  | |||
|  | @ -6,7 +6,7 @@ | |||
|     ./hyprshade | ||||
|   ]; | ||||
| 
 | ||||
|   options.homeModules.desktop.wayland.windowManager.hyprland.extras = { | ||||
|   options.ooknet.desktop.wayland.windowManager.hyprland.extras = { | ||||
|     hyprcapture = { | ||||
|       enable = lib.mkEnableOption "Enable hyprcapture screenshot/recording module"; | ||||
|     }; | ||||
|  |  | |||
|  | @ -1,7 +1,7 @@ | |||
| { lib, config, pkgs, inputs, ... }: | ||||
| 
 | ||||
| let | ||||
|   cfg = config.homeModules.desktop.wayland.windowManager.hyprland.extras.hyprcapture; | ||||
|   cfg = config.ooknet.desktop.wayland.windowManager.hyprland.extras.hyprcapture; | ||||
| in | ||||
| 
 | ||||
| { | ||||
|  |  | |||
|  | @ -1,7 +1,7 @@ | |||
| { lib, config, pkgs, ... }: | ||||
| 
 | ||||
| let | ||||
|   cfg = config.homeModules.desktop.wayland.windowManager.hyprland.extras.hyprshade; | ||||
|   cfg = config.ooknet.desktop.wayland.windowManager.hyprland.extras.hyprshade; | ||||
| in | ||||
| 
 | ||||
| { | ||||
|  |  | |||
|  | @ -1,7 +1,7 @@ | |||
| { config, lib, ... }: | ||||
| 
 | ||||
| let | ||||
|   cfg = config.homeModules.desktop.wayland.windowManager.hyprland; | ||||
|   cfg = config.ooknet.desktop.wayland.windowManager.hyprland; | ||||
|   pointer = config.home.pointerCursor; | ||||
|   inherit (config.colorscheme) palette; | ||||
| in | ||||
|  |  | |||
|  | @ -1,7 +1,7 @@ | |||
| { lib, config, pkgs, ... }:  | ||||
| 
 | ||||
| let | ||||
|     cfg = config.homeModules.desktop.wayland.windowManager.hyprland; | ||||
|     cfg = config.ooknet.desktop.wayland.windowManager.hyprland; | ||||
| in | ||||
| 
 | ||||
| { | ||||
|  |  | |||
|  | @ -1,7 +1,7 @@ | |||
| { lib, config, ... }: | ||||
| 
 | ||||
| let | ||||
|   cfg = config.homeModules.desktop.wayland.windowManager.hyprland; | ||||
|   cfg = config.ooknet.desktop.wayland.windowManager.hyprland; | ||||
| in | ||||
| 
 | ||||
| { | ||||
|  |  | |||
|  | @ -1,7 +1,7 @@ | |||
| { config, lib, pkgs, ... }: | ||||
| 
 | ||||
| let | ||||
|   cfg = config.homeModules.desktop.wayland.windowManager.hyprland; | ||||
|   cfg = config.ooknet.desktop.wayland.windowManager.hyprland; | ||||
| in | ||||
| 
 | ||||
| { | ||||
|  |  | |||
|  | @ -1,7 +1,7 @@ | |||
| { lib, config, ... }: | ||||
| 
 | ||||
| let | ||||
|   cfg = config.homeModules.desktop.wayland.windowManager.hyprland; | ||||
|   cfg = config.ooknet.desktop.wayland.windowManager.hyprland; | ||||
| in | ||||
| 
 | ||||
| { | ||||
|  |  | |||
|  | @ -1,8 +1,8 @@ | |||
| { lib, config, inputs,  ... }: | ||||
| 
 | ||||
| let | ||||
|   cfg = config.homeModules.desktop.wayland.windowManager.hyprland; | ||||
|   wallpaperPath = config.homeModules.theme.wallpaper.path; | ||||
|   cfg = config.ooknet.desktop.wayland.windowManager.hyprland; | ||||
|   wallpaperPath = config.ooknet.theme.wallpaper.path; | ||||
| in | ||||
| 
 | ||||
| { | ||||
|  |  | |||
|  | @ -1,7 +1,7 @@ | |||
| { lib, config, ... }: | ||||
| 
 | ||||
| let | ||||
|   cfg = config.homeModules.desktop.wayland.windowManager.hyprland; | ||||
|   cfg = config.ooknet.desktop.wayland.windowManager.hyprland; | ||||
| in | ||||
| 
 | ||||
| { | ||||
|  |  | |||
|  | @ -1,7 +1,7 @@ | |||
| { lib, config, ... }: | ||||
| 
 | ||||
| let | ||||
|   cfg = config.homeModules.desktop.wayland.windowManager.hyprland; | ||||
|   cfg = config.ooknet.desktop.wayland.windowManager.hyprland; | ||||
| in | ||||
| 
 | ||||
| { | ||||
|  |  | |||
|  | @ -1,7 +1,7 @@ | |||
| { lib, config, ... }: | ||||
| 
 | ||||
| let | ||||
|   cfg = config.homeModules.desktop.wayland.windowManager.hyprland; | ||||
|   cfg = config.ooknet.desktop.wayland.windowManager.hyprland; | ||||
| in | ||||
| 
 | ||||
| { | ||||
|  |  | |||
|  | @ -1,6 +1,6 @@ | |||
| { lib, config, ... }: | ||||
| let | ||||
|   cfg = config.homeModules.desktop.wayland.windowManager.hyprland; | ||||
|   cfg = config.ooknet.desktop.wayland.windowManager.hyprland; | ||||
| in | ||||
| { | ||||
|   config = { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue