This commit is contained in:
iFargle 2023-08-23 23:10:15 +09:00
parent 94e8e7a386
commit ff6564457c
2 changed files with 9 additions and 9 deletions

View file

@ -67,23 +67,22 @@
# https://github.com/NixOS/nixpkgs/pull/244060 # https://github.com/NixOS/nixpkgs/pull/244060
hardware = { hardware = {
opengl.enable = true; opengl = {
opengl.driSupport32Bit = true; enable = true;
opengl.driSupport = true; driSupport32Bit = true;
# opengl.extraPackages = with pkgs; [ nvidia-vaapi-driver ]; driSupport = true;
# https://nixpk.gs/pr-tracker.html?pr=244060 };
nvidia = { nvidia = {
open = false; open = false;
nvidiaSettings = false; nvidiaSettings = false;
dynamicBoost.enable = true; dynamicBoost.enable = true;
# nvidiaPersistenced = false; # nvidiaPersistenced = false;
package = config.boot.kernelPackages.nvidiaPackages.latest; package = config.boot.kernelPackages.nvidiaPackages.latest;
powerManagement.finegrained = true; # powerManagement.finegrained = true;
powerManagement.enable = true; # powerManagement.enable = true;
modesetting.enable = true; modesetting.enable = true;
prime = { prime = {
reverseSync.enable = true; # sync.enable = false;
sync.enable = false;
offload = { offload = {
enable = true; enable = true;
enableOffloadCmd = true; enableOffloadCmd = true;

View file

@ -12,5 +12,6 @@ in {
# mkpasswd -m sha-512 # mkpasswd -m sha-512
hashedPassword = "$y$j9T$wKLsIWaA4Gf63RvjedwLJ0$EHKL6BBJV0CAxEKcHHjaBqW085KJ/MGvmbyWzmcWOy6"; hashedPassword = "$y$j9T$wKLsIWaA4Gf63RvjedwLJ0$EHKL6BBJV0CAxEKcHHjaBqW085KJ/MGvmbyWzmcWOy6";
packages = [ pkgs.home-manager ]; packages = [ pkgs.home-manager ];
# openssh.authorizedKeys.keys = [ ];
}; };
} }