summary refs log tree commit diff
path: root/hosts/laptop
diff options
context:
space:
mode:
authortzlil <tzlils@protonmail.com>2023-05-19 00:55:01 +0300
committertzlil <tzlils@protonmail.com>2023-05-19 00:55:01 +0300
commit3c0270df7fbc7f183a9d03ad6157b3bb6b1861fc (patch)
treec4d05762560f6d110fb5088c81335eb837df1965 /hosts/laptop
parent767dbfb93697380df4e76d9efb6201fcafe60d78 (diff)
add bluetooth to laptop
Diffstat (limited to 'hosts/laptop')
-rw-r--r--hosts/laptop/cfg.nix7
1 files changed, 7 insertions, 0 deletions
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;
   };
 }