diff --git a/nixos/boxes/skinnyv.nix b/nixos/boxes/skinnyv.nix index de1962ab..70ded4ac 100644 --- a/nixos/boxes/skinnyv.nix +++ b/nixos/boxes/skinnyv.nix @@ -1,8 +1,21 @@ { config, pkgs, ... }: { 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 = { - kernelPackages = pkgs.linuxPackages_latest_hardened; + kernelPackages = pkgs.linuxPackagesFor pkgs.linux_latest_hardened; kernelParams = [ "i915.enable_rc6=7" ]; @@ -26,5 +39,6 @@ ../boot.nix ../common.nix ../gfx-intel.nix + ../zerotier.nix ]; } diff --git a/nixos/games.nix b/nixos/games.nix new file mode 100644 index 00000000..7259d950 --- /dev/null +++ b/nixos/games.nix @@ -0,0 +1,8 @@ +{ config, pkgs, ... }: + +{ + home.packages = with pkgs; [ + (wine.override { wineBuild = "wineWow"; }) winetricks + steam + ]; +} diff --git a/nixos/gui.nix b/nixos/gui.nix index fa4b4a8d..b902a1d8 100644 --- a/nixos/gui.nix +++ b/nixos/gui.nix @@ -12,8 +12,6 @@ yubico-piv-tool yubikey-personalization yubikey-personalization-gui yubikey-manager-qt slack discord obs-studio gnome3.nautilus gnome3.eog hopper - (wine.override { wineBuild = "wineWow"; }) winetricks - steam unstable.qemu unstable.aqemu ]; diff --git a/nixos/home.nix b/nixos/home.nix index 73412aea..373ba246 100644 --- a/nixos/home.nix +++ b/nixos/home.nix @@ -31,6 +31,7 @@ in ./user-xsession.nix ./cli.nix ./gui.nix + ./games.nix ]; gtk = {