bluetooth still not working but at least I am tyding up the config
This commit is contained in:
		
							parent
							
								
									74959a7edf
								
							
						
					
					
						commit
						30aa0ec9ae
					
				
					 6 changed files with 51 additions and 41 deletions
				
			
		
							
								
								
									
										6
									
								
								flake.lock
									
										
									
										generated
									
									
									
								
							
							
						
						
									
										6
									
								
								flake.lock
									
										
									
										generated
									
									
									
								
							|  | @ -272,11 +272,11 @@ | ||||||
|     }, |     }, | ||||||
|     "nixpkgs": { |     "nixpkgs": { | ||||||
|       "locked": { |       "locked": { | ||||||
|         "lastModified": 1711124224, |         "lastModified": 1711460390, | ||||||
|         "narHash": "sha256-l0zlN/3CiodvWDtfBOVxeTwYSRz93muVbXWSpaMjXxM=", |         "narHash": "sha256-akSgjDZL6pVHEfSE6sz1DNSXuYX6hq+P/1Z5IoYWs7E=", | ||||||
|         "owner": "nixos", |         "owner": "nixos", | ||||||
|         "repo": "nixpkgs", |         "repo": "nixpkgs", | ||||||
|         "rev": "56528ee42526794d413d6f244648aaee4a7b56c0", |         "rev": "44733514b72e732bd49f5511bd0203dea9b9a434", | ||||||
|         "type": "github" |         "type": "github" | ||||||
|       }, |       }, | ||||||
|       "original": { |       "original": { | ||||||
|  |  | ||||||
|  | @ -160,7 +160,6 @@ in { | ||||||
|           }; |           }; | ||||||
|         }; |         }; | ||||||
| 
 | 
 | ||||||
| 
 |  | ||||||
|         rainbow-delimiters = { |         rainbow-delimiters = { | ||||||
|           enable = true; |           enable = true; | ||||||
|         }; |         }; | ||||||
|  |  | ||||||
|  | @ -22,6 +22,11 @@ in { | ||||||
|       ripgrep |       ripgrep | ||||||
|       fzf |       fzf | ||||||
|       colorls |       colorls | ||||||
|  | 
 | ||||||
|  |       #optional | ||||||
|  |       pciutils | ||||||
|  |       usbutils | ||||||
|  |       htop | ||||||
|     ]; |     ]; | ||||||
| 
 | 
 | ||||||
|     wyrdgard = { |     wyrdgard = { | ||||||
|  |  | ||||||
|  | @ -14,6 +14,10 @@ in { | ||||||
|   }; |   }; | ||||||
| 
 | 
 | ||||||
|   config = mkIf cfg.enable { |   config = mkIf cfg.enable { | ||||||
|  |     environment.systemPackages = with pkgs; [ | ||||||
|  |       libsForQt5.bluez-qt | ||||||
|  |     ]; | ||||||
|  | 
 | ||||||
|     hardware.bluetooth = { |     hardware.bluetooth = { | ||||||
|       enable = true; |       enable = true; | ||||||
|       powerOnBoot = true; |       powerOnBoot = true; | ||||||
|  | @ -25,6 +29,12 @@ in { | ||||||
|       }; |       }; | ||||||
|     }; |     }; | ||||||
| 
 | 
 | ||||||
|  |     fileSystems."/var/lib/bluetooth" = { | ||||||
|  |       device = "/persist/var/lib/bluetooth"; | ||||||
|  |       options = ["bind" "noauto" "x-systemd.automount"]; | ||||||
|  |       noCheck = true; | ||||||
|  |     }; | ||||||
|  | 
 | ||||||
|     # https://github.com/NixOS/nixpkgs/issues/170573 |     # https://github.com/NixOS/nixpkgs/issues/170573 | ||||||
|   }; |   }; | ||||||
| } | } | ||||||
|  |  | ||||||
|  | @ -17,6 +17,8 @@ in { | ||||||
|     i18n.defaultLocale = "en_US.UTF-8"; |     i18n.defaultLocale = "en_US.UTF-8"; | ||||||
| 
 | 
 | ||||||
|     i18n.extraLocaleSettings = { |     i18n.extraLocaleSettings = { | ||||||
|  |       LANG = "en_US.UTF-8"; | ||||||
|  |       LC_ALL = "en_US.UTF-8"; | ||||||
|       LC_ADDRESS = "de_DE.UTF-8"; |       LC_ADDRESS = "de_DE.UTF-8"; | ||||||
|       LC_IDENTIFICATION = "de_DE.UTF-8"; |       LC_IDENTIFICATION = "de_DE.UTF-8"; | ||||||
|       LC_MEASUREMENT = "de_DE.UTF-8"; |       LC_MEASUREMENT = "de_DE.UTF-8"; | ||||||
|  |  | ||||||
|  | @ -14,7 +14,7 @@ | ||||||
| 
 | 
 | ||||||
|   boot.initrd.availableKernelModules = ["nvme" "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod"]; |   boot.initrd.availableKernelModules = ["nvme" "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod"]; | ||||||
|   boot.initrd.kernelModules = []; |   boot.initrd.kernelModules = []; | ||||||
|   boot.kernelModules = ["kvm-amd"]; |   boot.kernelModules = ["kvm-amd" "btusb"]; | ||||||
|   boot.extraModulePackages = []; |   boot.extraModulePackages = []; | ||||||
| 
 | 
 | ||||||
|   fileSystems."/" = { |   fileSystems."/" = { | ||||||
|  | @ -27,12 +27,6 @@ | ||||||
|     fsType = "vfat"; |     fsType = "vfat"; | ||||||
|   }; |   }; | ||||||
| 
 | 
 | ||||||
|   fileSystems."/var/lib/bluetooth" = { |  | ||||||
|     device = "/persist/var/lib/bluetooth"; |  | ||||||
|     options = ["bind" "noauto" "x-systemd.automount"]; |  | ||||||
|     noCheck = true; |  | ||||||
|   }; |  | ||||||
| 
 |  | ||||||
|   swapDevices = []; |   swapDevices = []; | ||||||
| 
 | 
 | ||||||
|   # Enables DHCP on each ethernet and wireless interface. In case of scripted networking |   # Enables DHCP on each ethernet and wireless interface. In case of scripted networking | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 christoph.hollizeck
						christoph.hollizeck