reduce stylix reach
This commit is contained in:
		| @@ -6,6 +6,7 @@ | ||||
|         ./hardware-configuration.nix | ||||
|         ../../modules/nixos/bluetooth.nix | ||||
|         ../../modules/nixos/flakes.nix | ||||
|         ../../modules/nixos/flatpak.nix | ||||
|         ../../modules/nixos/fonts.nix | ||||
|         ../../modules/nixos/hyprland.nix | ||||
|         ../../modules/nixos/monitoring.nix | ||||
|   | ||||
| @@ -34,9 +34,9 @@ | ||||
|       # visual | ||||
|       "window.menuBarVisibility" = "toggle"; | ||||
|  | ||||
|       # "editor.fontFamily" = "'FiraCode Nerd Font Mono', 'monospace', monospace"; | ||||
|       # "terminal.integrated.fontFamily" = "FiraCode Nerd Font Mono"; | ||||
|       # "workbench.iconTheme" = "vs-seti"; | ||||
|       "editor.fontFamily" = "'FiraCode Nerd Font Mono', 'monospace', monospace"; | ||||
|       "terminal.integrated.fontFamily" = "FiraCode Nerd Font Mono"; | ||||
|       "workbench.iconTheme" = "vs-seti"; | ||||
|  | ||||
|       # telemetry | ||||
|       "telemetry.enableCrashReporter" = false; | ||||
|   | ||||
							
								
								
									
										7
									
								
								modules/home-manager/documents.nix
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								modules/home-manager/documents.nix
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,7 @@ | ||||
| {pkgs, ...}: | ||||
| { | ||||
|   home.packages = [ | ||||
|     # pdf viewer | ||||
|     pkgs.evince | ||||
|   ]; | ||||
| } | ||||
| @@ -1,8 +1,12 @@ | ||||
| { lib, pkgs, ... }: { | ||||
| { | ||||
|   lib, pkgs, ... | ||||
| }: | ||||
| { | ||||
|   # requires that flatpaks be enabled in the system configuration as well | ||||
|   services.flatpak.enable = true; | ||||
|   services.flatpak.update.auto.enable = false; | ||||
|   services.flatpak.uninstallUnmanaged = false; | ||||
|    | ||||
|  | ||||
|   services.flatpak.packages = [ | ||||
|     "com.calibre_ebook.calibre" | ||||
|     "com.github.flxzt.rnote" | ||||
| @@ -13,4 +17,4 @@ | ||||
|     "io.github.zen_browser.zen" | ||||
|     "im.riot.Riot" | ||||
|   ]; | ||||
| } | ||||
| } | ||||
|   | ||||
| @@ -1,10 +1,18 @@ | ||||
| {pkgs, lib, ...}: | ||||
| let | ||||
|   stylix = import ./stylix.nix { inherit pkgs; }; | ||||
| in | ||||
| { | ||||
|     programs.kitty = { | ||||
|         enable = true; | ||||
|         shellIntegration.enableFishIntegration = true; | ||||
|         settings = { | ||||
|             # # import the colors from the stylix theme, but keep the background black | ||||
|             # color0 = stylix.colors.background; | ||||
|             # color1 = stylix.base16Scheme.base01; | ||||
|             # color2 = stylix.colors.green; | ||||
|             # color3 = stylix.colors.yellow; | ||||
|  | ||||
|             # color0 = stylix.colors.background; | ||||
|             # color1 = stylix.colors.red; | ||||
|             # color2 = stylix.colors.green; | ||||
|   | ||||
| @@ -82,12 +82,12 @@ | ||||
|     }; | ||||
|  | ||||
|     stylix.targets = { | ||||
|         vscode.enable = true; | ||||
|         hyprpaper.enable = true; | ||||
|         hyprlock.enable = true; | ||||
|         wofi.enable = true; | ||||
|  | ||||
|         # disabled because they overwrite too many settings | ||||
|         # vscode.enable = true; | ||||
|         # waybar.enable = true; | ||||
|         # kitty.enable = true; | ||||
|  | ||||
|   | ||||
| @@ -15,13 +15,13 @@ in { | ||||
|  | ||||
|     settings = { | ||||
|       allow_markup = true; | ||||
|       width = 450; | ||||
|       width = 500; | ||||
|       height = 400; | ||||
|       show = "drun"; | ||||
|       prompt = "Apps"; | ||||
|       prompt = "Launch..."; | ||||
|       normal_window = true; | ||||
|       layer = "top"; | ||||
|       term = "foot"; | ||||
|       height = "305px"; | ||||
|       orientation = "vertical"; | ||||
|       halign = "fill"; | ||||
|       line_wrap = "off"; | ||||
| @@ -40,66 +40,5 @@ in { | ||||
|       key_expand = "Tab"; | ||||
|       key_exit = "Escape"; | ||||
|     }; | ||||
|  | ||||
|     style = '' | ||||
|         * { | ||||
|           font-family: "${font}"; | ||||
|           font-weight: 500; | ||||
|           font-size: ${toString font-size}px; | ||||
|         } | ||||
|  | ||||
|         #window { | ||||
|           background-color: ${background}; | ||||
|           color: ${foreground}; | ||||
|           border-radius: ${toString rounding}px; | ||||
|         } | ||||
|  | ||||
|         #outer-box { | ||||
|           padding: 20px; | ||||
|         } | ||||
|  | ||||
|         #input { | ||||
|           background-color: ${background-alt}; | ||||
|           border: 0px solid ${accent}; | ||||
|           color: ${foreground}; | ||||
|           padding: 8px 12px; | ||||
|         } | ||||
|  | ||||
|         #scroll { | ||||
|           margin-top: 20px; | ||||
|         } | ||||
|  | ||||
|         #inner-box {} | ||||
|  | ||||
|         #img { | ||||
|           padding-right: 8px; | ||||
|         } | ||||
|  | ||||
|         #text { | ||||
|           color: ${foreground}; | ||||
|         } | ||||
|  | ||||
|         #text:selected { | ||||
|           color: ${foreground}; | ||||
|         } | ||||
|  | ||||
|         #entry { | ||||
|           padding: 6px; | ||||
|         } | ||||
|  | ||||
|         #entry:selected { | ||||
|           background-color: ${accent}; | ||||
|           color: ${foreground}; | ||||
|         } | ||||
|  | ||||
|         #unselected {} | ||||
|  | ||||
|         #selected {} | ||||
|  | ||||
|         #input, | ||||
|         #entry:selected { | ||||
|           border-radius: ${toString rounding}px; | ||||
|         } | ||||
|       ''; | ||||
|   }; | ||||
| } | ||||
|   | ||||
							
								
								
									
										9
									
								
								modules/nixos/flatpak.nix
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								modules/nixos/flatpak.nix
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,9 @@ | ||||
| { | ||||
|   config, | ||||
|   lib, | ||||
|   pkgs, | ||||
|   ... | ||||
| }: | ||||
| { | ||||
|   services.flatpak.enable = true; | ||||
| } | ||||
| @@ -5,6 +5,7 @@ with lib.hm.gvariant; | ||||
|     ../modules/home-manager/browser.nix | ||||
|     ../modules/home-manager/code.nix | ||||
|     ../modules/home-manager/dev.nix | ||||
|     ../modules/home-manager/documents.nix | ||||
|     ../modules/home-manager/fish.nix | ||||
|     ../modules/home-manager/flatpaks.nix | ||||
|     ../modules/home-manager/hypr | ||||
|   | ||||
		Reference in New Issue
	
	Block a user