From 325ce5969c450f008381784b06b4210facb90108 Mon Sep 17 00:00:00 2001 From: "finn.markwitz" Date: Tue, 28 Jan 2025 23:26:24 +0100 Subject: [PATCH] feat: Sensors, SystemCTL TUI & Headset Options --- machines/core/core.nix | 2 ++ modules/hardware/sound/default.nix | 5 +++++ 2 files changed, 7 insertions(+) diff --git a/machines/core/core.nix b/machines/core/core.nix index 3dd579d..1a69871 100644 --- a/machines/core/core.nix +++ b/machines/core/core.nix @@ -38,6 +38,8 @@ zip unzip networkmanager + lm_sensors + systemctl-tui ]; time.timeZone = "Europe/Berlin"; diff --git a/modules/hardware/sound/default.nix b/modules/hardware/sound/default.nix index 52a6094..8e802d5 100644 --- a/modules/hardware/sound/default.nix +++ b/modules/hardware/sound/default.nix @@ -7,9 +7,14 @@ in enable = mkEnableOption "Sound configuration"; }; + + config = lib.mkIf cfg.enable { hardware.pulseaudio.enable = false; hardware.pulseaudio.support32Bit = true; users.extraUsers.finn.extraGroups = [ "audio" ]; + environment.systemPackages = with pkgs; [ + headsetcontrol + ]; }; } \ No newline at end of file