531 current 1970-01-01 01:00:00 24.11.20250115.e24b4c0 6.6.71 *
This commit is contained in:
		
							
								
								
									
										8
									
								
								modules/home/shell/nvim-lua/plugins/nvim-treesitter.lua
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								modules/home/shell/nvim-lua/plugins/nvim-treesitter.lua
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,8 @@ | ||||
| return { | ||||
|   { | ||||
|     "nvim-treesitter/nvim-treesitter", | ||||
|     config = function () | ||||
|       require("nvim-treesitter.install").compilers = {vim.g.gcc_bin_path} | ||||
|     end, | ||||
|   } | ||||
| } | ||||
| @@ -8,7 +8,7 @@ | ||||
| }: let | ||||
|   cfg = config.myConfig; | ||||
| in { | ||||
|   imports = [./bootloader.nix ./locale.nix ./greetd.nix ./rebuild.nix ./sops.nix ./sway.nix ./wifi.nix ./music.nix ./cups.nix ./gpu/amd.nix ./touch.nix ./cache.nix ./nix.nix ./update.nix ./podman.nix ./qemu.nix ./bluetooth.nix ./network.nix]; | ||||
|   imports = [./bootloader.nix ./locale.nix ./greetd.nix ./rebuild.nix ./sops.nix ./sway.nix ./wifi.nix ./music.nix ./cups.nix ./gpu/amd.nix ./touch.nix ./cache.nix ./nix.nix ./update.nix ./podman.nix ./qemu.nix ./bluetooth.nix ./network.nix ./nix-ld.nix]; | ||||
|  | ||||
|   options.myConfig = { | ||||
|     enable = lib.mkEnableOption "my custom config"; | ||||
| @@ -33,6 +33,7 @@ in { | ||||
|       qemu.enable = true; | ||||
|       qemu.kvm = lib.mkIf (system == "x86_64-linux") true; | ||||
|       network.enable = true; | ||||
|       nix-ld.enable = true; | ||||
|  | ||||
|       greetd.enable = lib.mkIf cfg.desktop true; | ||||
|       sway.enable = lib.mkIf cfg.desktop true; | ||||
|   | ||||
							
								
								
									
										19
									
								
								modules/nixos/nix-ld.nix
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								modules/nixos/nix-ld.nix
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,19 @@ | ||||
| { | ||||
|   lib, | ||||
|   config, | ||||
|   pkgs, | ||||
|   ... | ||||
| }: let | ||||
|   cfg = config.myConfig.nix-ld; | ||||
| in { | ||||
|   options.myConfig.nix-ld = { | ||||
|     enable = lib.mkEnableOption "ld replacement for external binaries"; | ||||
|   }; | ||||
|  | ||||
|   config = lib.mkIf cfg.enable { | ||||
|     programs.nix-ld = { | ||||
|       enable = true; | ||||
|       libraries = with pkgs; []; | ||||
|     }; | ||||
|   }; | ||||
| } | ||||
		Reference in New Issue
	
	Block a user