From f8bbd7e2eb9b4c4fda0ddcbf776db81d9b09795c Mon Sep 17 00:00:00 2001 From: Dmitriy Kholkin Date: Sat, 5 Aug 2023 07:42:57 +0300 Subject: [PATCH] update dell-laptop --- flake.nix | 1 + machines/Dell-Laptop/default.nix | 4 +++- profiles/bluetooth.nix | 4 ++-- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/flake.nix b/flake.nix index 0910f3c..557700f 100644 --- a/flake.nix +++ b/flake.nix @@ -245,6 +245,7 @@ in builtins.mapAttrs mkDeploy { NixOS-VPS = { hostname = "wg.ataraxiadev.com"; }; Home-Hypervisor = { hostname = "192.168.0.10"; }; + Dell-Laptop = { hostname = "dell-laptop"; }; }; checks = builtins.mapAttrs (system: deployLib: deployLib.deployChecks self.deploy) inputs.deploy-rs.lib; diff --git a/machines/Dell-Laptop/default.nix b/machines/Dell-Laptop/default.nix index 6529671..047978f 100644 --- a/machines/Dell-Laptop/default.nix +++ b/machines/Dell-Laptop/default.nix @@ -3,6 +3,8 @@ ./boot.nix ./hardware-configuration.nix nixosRoles.desktop + + nixosProfiles.bluetooth ]; deviceSpecific.devInfo = { @@ -53,4 +55,4 @@ home.stateVersion = "23.05"; }; system.stateVersion = "23.05"; -} \ No newline at end of file +} diff --git a/profiles/bluetooth.nix b/profiles/bluetooth.nix index 72d91cc..93a53a4 100644 --- a/profiles/bluetooth.nix +++ b/profiles/bluetooth.nix @@ -1,6 +1,6 @@ { config, pkgs, lib, ... }: { config = lib.mkIf (!config.deviceSpecific.isServer) { - services.blueman.enable = !isServer; + services.blueman.enable = true; hardware.bluetooth = { enable = true; # package = pkgs.bluez; @@ -20,4 +20,4 @@ "hpd" = "bluetoothctl disconnect ${headphones}"; }; }; -} \ No newline at end of file +}