From 629e720d781f49157b754541d2b934c34349350a Mon Sep 17 00:00:00 2001 From: Sebastian Moser Date: Thu, 21 Mar 2024 21:18:19 +0100 Subject: [PATCH] lush fix bluetooth and remove labor nas module --- hosts/lush.nix | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/hosts/lush.nix b/hosts/lush.nix index 7311d18..69e731e 100644 --- a/hosts/lush.nix +++ b/hosts/lush.nix @@ -19,9 +19,24 @@ #"${workDir}/htl/labor/hackl/zwave.nix" # labor nas project - "${workDir}/htl/labor/nas/nixos/lush-module.nix" + # with this moduel it does not boot, it waits for /dev/disk/by-label/nas-storage + # "${workDir}/htl/labor/nas/nixos/lush-module.nix" ]; + # fix bluetooth + hardware = { + bluetooth = { + package = pkgs.bluez; + enable = true; + powerOnBoot = false; + }; + }; + + boot.kernelParams = lib.mkForce ["console=ttyS0,115200n8" "console=tty0" "nohibernate" "loglevel=7" ]; + # hardware.bluetooth.enable = true; + + + # home-manager.users.me = import ../users/me/home-headless.nix; @@ -45,7 +60,6 @@ */ services.blueman.enable = true; - hardware.bluetooth.enable = true; hardware.enableRedistributableFirmware = true; # This causes an overlay which causes a lot of rebuilding