about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2023-03-08 17:46:14 +0900
committersefidel <contact@sefidel.net>2023-03-08 17:46:14 +0900
commit5104901343761bad8a1c1975b8165342a031e6c2 (patch)
tree9212043023b2f37bf971bd94697bdaa7948ca976 /nixos
parentecbc34bfca9e3ad2e82e4e75eb7f6c02c648b826 (diff)
downloadnixrc-5104901343761bad8a1c1975b8165342a031e6c2.tar.gz
nixrc-5104901343761bad8a1c1975b8165342a031e6c2.zip
feat(nixos/kompakt): add basic options
Diffstat (limited to 'nixos')
-rw-r--r--nixos/kompakt/configuration.nix16
1 files changed, 14 insertions, 2 deletions
diff --git a/nixos/kompakt/configuration.nix b/nixos/kompakt/configuration.nix
index 0f303b9..554d830 100644
--- a/nixos/kompakt/configuration.nix
+++ b/nixos/kompakt/configuration.nix
@@ -19,7 +19,10 @@
   # hardware.asahi.extractPeripheralFirmware = false;
 
   # Enable GPU acceleration
-  hardware.asahi.useExperimentalGPUDriver = true;
+  # TODO: Fix scaling issue
+  # hardware.asahi.useExperimentalGPUDriver = true;
+  # hardware.asahi.experimentalGPUInstallMode = "overlay";
+  hardware.opengl.enable = true;
 
   boot.kernelParams = [
     "console=tty1"
@@ -35,6 +38,7 @@
   '';
 
   networking.wireless.iwd.enable = true;
+  hardware.bluetooth.enable = true;
 
   time.timeZone = "Asia/Seoul";
 
@@ -46,7 +50,15 @@
 
   services.printing.enable = true;
 
-  sound.enable = true;
+  sound.enable = false;
+
+  services.pipewire = {
+    enable = true;
+
+    alsa.enable = true;
+    alsa.support32Bit = true;
+    pulse.enable = true;
+  };
 
   # Backlight control
   programs.light.enable = true;