From 05db19e8e924441e3ff174e1ec79d4b28aa8f5e4 Mon Sep 17 00:00:00 2001 From: Dmitriy Pleshevskiy Date: Wed, 18 Oct 2023 16:24:02 +0300 Subject: [PATCH] home: enable bluetooth --- nixos/hosts/default.nix | 2 +- nixos/hosts/home/default.nix | 9 +++++++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/nixos/hosts/default.nix b/nixos/hosts/default.nix index 7817be6..7f9fc23 100644 --- a/nixos/hosts/default.nix +++ b/nixos/hosts/default.nix @@ -18,7 +18,7 @@ in ]; extraHomeModule = { ... }: { - local.polybar.wifiDevice = "wlp11s0f3u2"; + local.polybar.wifiDevice = "wlp3s0"; # local.alacritty.fontSize = 8.0; local.wezterm.fontSize = 10.0; }; diff --git a/nixos/hosts/home/default.nix b/nixos/hosts/home/default.nix index 9931e1d..4aeefd8 100644 --- a/nixos/hosts/home/default.nix +++ b/nixos/hosts/home/default.nix @@ -27,6 +27,7 @@ boot.loader.grub = { enable = true; device = "/dev/sdb"; + # memtest86.enable = true; }; networking = { @@ -35,7 +36,8 @@ useDHCP = false; interfaces = { enp3s0.useDHCP = true; - wlp11s0f3u2.useDHCP = true; + wlp3s0.useDHCP = true; + # wlp11s0f3u2.useDHCP = true; }; networkmanager.enable = true; @@ -44,7 +46,10 @@ ]; }; - local.nix.allowUnfreePackages = [ "cnijfilter2" ]; + # enable bluetooth + hardware.bluetooth.enable = true; + + local.nix.allowUnfreePackages = [ "cnijfilter2" "memtest86" ]; services.openssh.enable = true;