From ff6564457c9a0244e3d10c5578d152f9f053d5d9 Mon Sep 17 00:00:00 2001 From: iFargle Date: Wed, 23 Aug 2023 23:10:15 +0900 Subject: [PATCH] test --- nixos/hosts/nixos-laptop/default.nix | 17 ++++++++--------- nixos/users/albert/default.nix | 1 + 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/nixos/hosts/nixos-laptop/default.nix b/nixos/hosts/nixos-laptop/default.nix index ed169dce..ea4a0f7b 100644 --- a/nixos/hosts/nixos-laptop/default.nix +++ b/nixos/hosts/nixos-laptop/default.nix @@ -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; diff --git a/nixos/users/albert/default.nix b/nixos/users/albert/default.nix index 564bea94..540d4bc9 100644 --- a/nixos/users/albert/default.nix +++ b/nixos/users/albert/default.nix @@ -12,5 +12,6 @@ in { # mkpasswd -m sha-512 hashedPassword = "$y$j9T$wKLsIWaA4Gf63RvjedwLJ0$EHKL6BBJV0CAxEKcHHjaBqW085KJ/MGvmbyWzmcWOy6"; packages = [ pkgs.home-manager ]; + # openssh.authorizedKeys.keys = [ ]; }; } \ No newline at end of file