add steam

This commit is contained in:
Cyryl Płotnicki 2019-08-08 21:23:29 +01:00
parent e6d32e5e6c
commit 1fe2d1479f
4 changed files with 4 additions and 22 deletions

View file

@ -3,7 +3,7 @@
networking.hostName = "foureighty"; networking.hostName = "foureighty";
boot = { boot = {
kernelPackages = pkgs.linuxPackages_latest_hardened; kernelPackages = pkgs.linuxPackages_latest;
extraModulePackages = with config.boot.kernelPackages; [ wireguard ]; extraModulePackages = with config.boot.kernelPackages; [ wireguard ];
initrd.kernelModules = [ "i915" ]; initrd.kernelModules = [ "i915" ];
initrd.availableKernelModules = [ initrd.availableKernelModules = [
@ -16,26 +16,6 @@
"mds=full" "mds=full"
]; ];
kernelPatches = [ {
name = "native";
patch = null;
extraConfig = ''
SLAB_FREELIST_RANDOM y
SLAB_FREELIST_HARDENED y
REFCOUNT_FULL y
MODVERSIONS y
GENERIC_CPU n
MCORE2 y
X86_INTEL_USERCOPY y
X86_USE_PPRO_CHECKSUM y
X86_P6_NOP y
X86_INTEL_MPX y
KEXEC n
IA32_EMULATION y
X86_X32 y
'';
} ];
initrd.luks.devices = [ initrd.luks.devices = [
{ {
name = "root"; name = "root";

View file

@ -7,6 +7,7 @@
hardware.pulseaudio = { hardware.pulseaudio = {
enable = true; enable = true;
package = pkgs.pulseaudioFull; package = pkgs.pulseaudioFull;
support32Bit = true;
extraModules = [ pkgs.pulseaudio-modules-bt ]; extraModules = [ pkgs.pulseaudio-modules-bt ];
}; };
hardware.u2f.enable = true; hardware.u2f.enable = true;

View file

@ -5,6 +5,7 @@
hardware.opengl = { hardware.opengl = {
enable = true; enable = true;
driSupport = true; driSupport = true;
driSupport32Bit = true;
s3tcSupport = true; s3tcSupport = true;
extraPackages = with pkgs; [ extraPackages = with pkgs; [
vaapiIntel vaapiIntel

View file

@ -15,7 +15,7 @@ in
}; };
home.packages = with pkgs; [ home.packages = with pkgs; [
wirelesstools ranger xpdf apvlv unstable.xidlehook blueman wirelesstools ranger xpdf apvlv unstable.xidlehook blueman
fontconfig nodejs rustup gcc gdb fontconfig nodejs rustup gcc gdb steam
binutils xclip pkgconfig veracrypt gitAndTools.diff-so-fancy binutils xclip pkgconfig veracrypt gitAndTools.diff-so-fancy
openjdk gimp restic glxinfo discord ghc openjdk gimp restic glxinfo discord ghc
unstable.notable jq awscli evince signal-desktop unstable.notable jq awscli evince signal-desktop