about summary refs log tree commit diff
path: root/modules
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2020-12-11 16:24:40 +0100
committerPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2020-12-11 16:24:40 +0100
commit7be98246015237af8077e3320101408639316bb8 (patch)
treec376364ca6d9d54a6ba5db5328ccba3c5703743b /modules
parent527c96af4ed48111cfa19161fb2680b6866c2594 (diff)
downloaddots-7be98246015237af8077e3320101408639316bb8.tar.gz
dots-7be98246015237af8077e3320101408639316bb8.zip
Add adax host
Diffstat (limited to 'modules')
-rwxr-xr-xmodules/audio.nix9
-rwxr-xr-xmodules/larbs.nix5
2 files changed, 14 insertions, 0 deletions
diff --git a/modules/audio.nix b/modules/audio.nix
new file mode 100755
index 0000000..2563c21
--- /dev/null
+++ b/modules/audio.nix
@@ -0,0 +1,9 @@
+{ pkgs, ... }:
+{
+  hardware.pulseaudio.enable = true;
+
+  environment.systemPackages = with pkgs; [
+    pulsemixer
+    pamixer
+  ];
+}
diff --git a/modules/larbs.nix b/modules/larbs.nix
index 89c04c0..a116034 100755
--- a/modules/larbs.nix
+++ b/modules/larbs.nix
@@ -3,6 +3,10 @@ let
   pnvim = import ../pkgs/nvim.nix pkgs;
 in
 {
+  imports = [
+    ./audio.nix
+  ];
+
   environment.systemPackages = with pkgs.nur.repos.pn; [
     pnvim
     larbs-mail
@@ -16,6 +20,7 @@ in
   ];
 
   services.xserver = {
+    enable = true;
     displayManager.startx.enable = true;
     libinput.enable = true;
   };