changed sound and renamed shell file
This commit is contained in:
@ -121,31 +121,24 @@ in
|
|||||||
vaapiIntel = pkgs.vaapiIntel.override { enableHybridCodec = true; };
|
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.
|
# Enable CUPS to print documents.
|
||||||
services.printing.enable = true;
|
services.printing.enable = true;
|
||||||
services.printing.drivers = [ pkgs.brlaser ];
|
services.printing.drivers = [ pkgs.brlaser ];
|
||||||
# Enable sound.
|
# Enable sound.
|
||||||
sound.enable = true;
|
sound.enable = true;
|
||||||
hardware.pulseaudio.enable = true;
|
hardware.pulseaudio = {
|
||||||
hardware.pulseaudio.support32Bit = true;
|
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;
|
hardware.sane.enable = true;
|
||||||
|
|
||||||
#thinkfan
|
#thinkfan
|
||||||
|
Reference in New Issue
Block a user