From f29debb85f727b0ef9a47bdaecd9f38903daa258 Mon Sep 17 00:00:00 2001 From: Artemis Tosini Date: Tue, 5 Mar 2024 01:12:26 +0000 Subject: [PATCH] GAMING --- flake.lock | 18 +++++++++--------- sets/virtualization.nix | 3 +++ system/starlight/default.nix | 2 +- 3 files changed, 13 insertions(+), 10 deletions(-) diff --git a/flake.lock b/flake.lock index f17c479..911e978 100644 --- a/flake.lock +++ b/flake.lock @@ -279,11 +279,11 @@ ] }, "locked": { - "lastModified": 1709485962, - "narHash": "sha256-rmFB4uE10+LJbcVE4ePgiuHOBlUIjQOeZt4VQVJTU8M=", + "lastModified": 1709578243, + "narHash": "sha256-hF96D+c2PBmAFhymMw3z8hou++lqKtZ7IzpFbYeL1/Y=", "owner": "nix-community", "repo": "home-manager", - "rev": "d579633ff9915a8f4058d5c439281097e92380a8", + "rev": "23ff9821bcaec12981e32049e8687f25f11e5ef3", "type": "github" }, "original": { @@ -379,11 +379,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1709237383, - "narHash": "sha256-cy6ArO4k5qTx+l5o+0mL9f5fa86tYUX3ozE1S+Txlds=", + "lastModified": 1709479366, + "narHash": "sha256-n6F0n8UV6lnTZbYPl1A9q1BS0p4hduAv1mGAP17CVd0=", "owner": "nixos", "repo": "nixpkgs", - "rev": "1536926ef5621b09bba54035ae2bb6d806d72ac8", + "rev": "b8697e57f10292a6165a20f03d2f42920dfaf973", "type": "github" }, "original": { @@ -424,11 +424,11 @@ "pre-commit-hooks": "pre-commit-hooks" }, "locked": { - "lastModified": 1709507808, - "narHash": "sha256-yAfhASXxEoUZy2DIU983E8Dk8rUrXha/n3NgjISMDqI=", + "lastModified": 1709549216, + "narHash": "sha256-9KX2QB7qo9mISo936dDyiwDTES30y4OvDtM9zpAJLHI=", "owner": "nix-community", "repo": "nixvim", - "rev": "8a330548ba60c01824246385fec30be8112b8701", + "rev": "680889ac01df8c2bfcb7a6ac7c850153d13d7b8f", "type": "github" }, "original": { diff --git a/sets/virtualization.nix b/sets/virtualization.nix index ee8074c..f4887ba 100644 --- a/sets/virtualization.nix +++ b/sets/virtualization.nix @@ -29,6 +29,9 @@ # Breaks IPv4 on bridge boot.kernel.sysctl."net.bridge.bridge-nf-call-iptables" = 0; + # lxd reduses this from default, increase this to what SteamOS uses + boot.kernel.sysctl."vm.max_map_count" = lib.mkForce 2147483642; + programs.virt-manager.enable = true; environment.systemPackages = with pkgs; [ spice-gtk diff --git a/system/starlight/default.nix b/system/starlight/default.nix index 8d161c9..27669d6 100644 --- a/system/starlight/default.nix +++ b/system/starlight/default.nix @@ -103,7 +103,7 @@ )) ]; - environment.systemPackages = with pkgs; [ ryujinx ]; + environment.systemPackages = with pkgs; [ amdgpu_top ryujinx ]; # Home home-manager.users.artemis = {