From 8197774471b26085dc56e8dbf44a502362722bf5 Mon Sep 17 00:00:00 2001 From: Vinzenz Schroeter Date: Sun, 8 Oct 2023 17:17:14 +0200 Subject: [PATCH] enable bluetooth, misc settings --- modules/desktop/default.nix | 9 ++++++--- modules/desktop/gaming.nix | 2 ++ modules/hardware/common-desktop.nix | 5 +++++ modules/nixpkgs.nix | 8 ++++++++ 4 files changed, 21 insertions(+), 3 deletions(-) diff --git a/modules/desktop/default.nix b/modules/desktop/default.nix index 262fcce..01b8f99 100644 --- a/modules/desktop/default.nix +++ b/modules/desktop/default.nix @@ -22,11 +22,14 @@ in { config = lib.mkIf isEnabled { services = { - # Enable the X11 windowing system / wayland depending on DE - xserver.enable = true; - # Enable CUPS to print documents. printing.enable = true; + + xserver = { + # Enable the X11 windowing system / wayland depending on DE + enable = true; + libinput.enable = true; + }; }; # Enable sound with pipewire. diff --git a/modules/desktop/gaming.nix b/modules/desktop/gaming.nix index eab7098..82ea784 100644 --- a/modules/desktop/gaming.nix +++ b/modules/desktop/gaming.nix @@ -35,6 +35,8 @@ in { }) ]; + hardware.steam-hardware.enable = true; + programs = { xwayland.enable = true; steam = { diff --git a/modules/hardware/common-desktop.nix b/modules/hardware/common-desktop.nix index bdae391..a63aef9 100644 --- a/modules/hardware/common-desktop.nix +++ b/modules/hardware/common-desktop.nix @@ -36,5 +36,10 @@ in { hardware.enableRedistributableFirmware = true; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; + + hardware.bluetooth = { + enable = true; + package = pkgs.bluezFull; + }; }; } diff --git a/modules/nixpkgs.nix b/modules/nixpkgs.nix index d3db394..cb45389 100644 --- a/modules/nixpkgs.nix +++ b/modules/nixpkgs.nix @@ -38,5 +38,13 @@ in { dates = "monthly"; options = "--delete-older-than 30d"; }; + + documentation = { + enable = true; # documentation of packages + nixos.enable = false; # nixos documentation + man.enable = true; # manual pages and the man command + info.enable = false; # info pages and the info command + doc.enable = false; # documentation distributed in packages' /share/doc + }; }; }