changed sound and renamed shell file

This commit is contained in:
Alexander Szczepanski
2021-06-29 19:00:29 +02:00
parent fde3bd141b
commit e635f2f948
2 changed files with 13 additions and 20 deletions

View File

@ -121,31 +121,24 @@ in
vaapiIntel = pkgs.vaapiIntel.override { enableHybridCodec = true; };
};
# Configure keymap in X11
# services.xserver.layout = "us";
# services.xserver.xkbOptions = "eurosign:e";
fonts.fonts = with pkgs; [
open-sans
roboto-mono
noto-fonts
noto-fonts-cjk
noto-fonts-emoji
liberation_ttf
fira-code
fira-code-symbols
mplus-outline-fonts
dina-font
proggyfonts
];
# Enable CUPS to print documents.
services.printing.enable = true;
services.printing.drivers = [ pkgs.brlaser ];
# Enable sound.
sound.enable = true;
hardware.pulseaudio.enable = true;
hardware.pulseaudio.support32Bit = true;
hardware.pulseaudio = {
enable = true;
support32Bit = true;
daemon = {
config = {
avoid-resampling = "yes";
};
};
configFile = pkgs.runCommand "default.pa" {} ''
sed 's/module-udev-detect$/module-udev-detect tsched=0/' \
${pkgs.pulseaudio}/etc/pulse/default.pa > $out
'';
};
hardware.sane.enable = true;
#thinkfan