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
hardware = {
opengl.enable = true;
opengl.driSupport32Bit = true;
opengl.driSupport = true;
# opengl.extraPackages = with pkgs; [ nvidia-vaapi-driver ];
# https://nixpk.gs/pr-tracker.html?pr=244060
opengl = {
enable = true;
driSupport32Bit = true;
driSupport = true;
};
nvidia = {
open = false;
nvidiaSettings = false;
dynamicBoost.enable = true;
# nvidiaPersistenced = false;
package = config.boot.kernelPackages.nvidiaPackages.latest;
powerManagement.finegrained = true;
powerManagement.enable = true;
# powerManagement.finegrained = true;
# powerManagement.enable = true;
modesetting.enable = true;
prime = {
reverseSync.enable = true;
sync.enable = false;
# sync.enable = false;
offload = {
enable = true;
enableOffloadCmd = true;

View file

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