From 3c0270df7fbc7f183a9d03ad6157b3bb6b1861fc Mon Sep 17 00:00:00 2001 From: tzlil Date: Fri, 19 May 2023 00:55:01 +0300 Subject: add bluetooth to laptop --- hosts/laptop/cfg.nix | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'hosts/laptop') diff --git a/hosts/laptop/cfg.nix b/hosts/laptop/cfg.nix index bd0f364..eefde8b 100644 --- a/hosts/laptop/cfg.nix +++ b/hosts/laptop/cfg.nix @@ -41,6 +41,7 @@ supportedFilesystems = ["ntfs"]; kernelModules = ["kvm-intel"]; kernelPackages = lib.mkDefault pkgs.linuxPackages_latest; + # extraModulePackages = [ config.boot.kernelPackages.rtl8821ce ]; loader = { systemd-boot = { enable = true; @@ -110,6 +111,9 @@ powerManagement.cpuFreqGovernor = lib.mkDefault "powersave"; hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; + nixpkgs.config.allowUnfree = true; + hardware.enableAllFirmware = true; + # greeter.initialSession = "${pkgs.fish}/bin/fish"; hardware.opengl = { @@ -134,5 +138,8 @@ }; acpid.enable = true; }; + + hardware.bluetooth.enable = true; + services.blueman.enable = true; }; } -- cgit 1.4.1