diff options
| author | seth <[email protected]> | 2023-01-31 22:45:17 -0500 |
|---|---|---|
| committer | seth <[email protected]> | 2023-01-31 22:45:17 -0500 |
| commit | 992f9d54aea0f1546e72351711769b8da6100828 (patch) | |
| tree | de509a0c98dc011ed6e7af592afe5967c20ace5e /hosts/common | |
| parent | b2922a1fef66c1ba9e44c11a2f6316007234dab2 (diff) | |
add nix-hardware + more nvidia/plasma configs
Diffstat (limited to 'hosts/common')
| -rw-r--r-- | hosts/common/desktop/plasma.nix | 2 | ||||
| -rw-r--r-- | hosts/common/hardware/nvidia.nix | 7 |
2 files changed, 6 insertions, 3 deletions
diff --git a/hosts/common/desktop/plasma.nix b/hosts/common/desktop/plasma.nix index 952684f..98eee0b 100644 --- a/hosts/common/desktop/plasma.nix +++ b/hosts/common/desktop/plasma.nix @@ -10,9 +10,7 @@ desktopManager.plasma5 = { enable = true; excludePackages = with pkgs.libsForQt5; [ - elisa khelpcenter - oxygen plasma-browser-integration print-manager ]; diff --git a/hosts/common/hardware/nvidia.nix b/hosts/common/hardware/nvidia.nix index 620761b..6308bc5 100644 --- a/hosts/common/hardware/nvidia.nix +++ b/hosts/common/hardware/nvidia.nix @@ -4,7 +4,12 @@ ... }: { hardware = { - nvidia.package = config.boot.kernelPackages.nvidiaPackages.stable; + nvidia = { + package = config.boot.kernelPackages.nvidiaPackages.stable; + modesetting.enable = true; + nvidiaPersistenced = true; + powerManagement.enable = true; + }; opengl = { enable = true; # make steam work |
