summaryrefslogtreecommitdiff
path: root/hosts
diff options
context:
space:
mode:
authorseth <[email protected]>2023-01-31 22:45:17 -0500
committerseth <[email protected]>2023-01-31 22:45:17 -0500
commit992f9d54aea0f1546e72351711769b8da6100828 (patch)
treede509a0c98dc011ed6e7af592afe5967c20ace5e /hosts
parentb2922a1fef66c1ba9e44c11a2f6316007234dab2 (diff)
add nix-hardware + more nvidia/plasma configs
Diffstat (limited to 'hosts')
-rw-r--r--hosts/common/desktop/plasma.nix2
-rw-r--r--hosts/common/hardware/nvidia.nix7
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