extract games

This commit is contained in:
Cyryl Płotnicki 2020-01-03 14:28:53 +00:00
parent b869d08400
commit 929b704d7a
4 changed files with 24 additions and 3 deletions

View file

@ -1,8 +1,21 @@
{ config, pkgs, ... }: { config, pkgs, ... }:
{ {
networking.hostName = "skinnyv"; networking.hostName = "skinnyv";
nixpkgs.config.packageOverrides = pkgs: {
linux_latest_hardened = pkgs.linux_latest_hardened.override {
extraConfig = ''
IA32_EMULATION y
KVM m
KVM_INTEL m
'';
features.ia32Emulation = true;
enableParallelBuilding = true;
};
};
boot = { boot = {
kernelPackages = pkgs.linuxPackages_latest_hardened; kernelPackages = pkgs.linuxPackagesFor pkgs.linux_latest_hardened;
kernelParams = [ kernelParams = [
"i915.enable_rc6=7" "i915.enable_rc6=7"
]; ];
@ -26,5 +39,6 @@
../boot.nix ../boot.nix
../common.nix ../common.nix
../gfx-intel.nix ../gfx-intel.nix
../zerotier.nix
]; ];
} }

8
nixos/games.nix Normal file
View file

@ -0,0 +1,8 @@
{ config, pkgs, ... }:
{
home.packages = with pkgs; [
(wine.override { wineBuild = "wineWow"; }) winetricks
steam
];
}

View file

@ -12,8 +12,6 @@
yubico-piv-tool yubikey-personalization yubikey-personalization-gui yubikey-manager-qt yubico-piv-tool yubikey-personalization yubikey-personalization-gui yubikey-manager-qt
slack discord obs-studio gnome3.nautilus gnome3.eog slack discord obs-studio gnome3.nautilus gnome3.eog
hopper hopper
(wine.override { wineBuild = "wineWow"; }) winetricks
steam
unstable.qemu unstable.aqemu unstable.qemu unstable.aqemu
]; ];

View file

@ -31,6 +31,7 @@ in
./user-xsession.nix ./user-xsession.nix
./cli.nix ./cli.nix
./gui.nix ./gui.nix
./games.nix
]; ];
gtk = { gtk = {