mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
nvidia settings tinkering
This commit is contained in:
parent
e484d6bdbe
commit
efd960026c
2 changed files with 6 additions and 7 deletions
|
|
@ -20,6 +20,7 @@
|
|||
};
|
||||
allowedUnfree = [
|
||||
"nvidia-x11"
|
||||
"nvidia-settings"
|
||||
"steam"
|
||||
"steam-unwrapped"
|
||||
"steam-run"
|
||||
|
|
@ -30,9 +31,9 @@
|
|||
hardware.nvidia = {
|
||||
package = config.boot.kernelPackages.nvidiaPackages.beta;
|
||||
nvidiaPersistenced = false;
|
||||
nvidiaSettings = false;
|
||||
nvidiaSettings = true;
|
||||
modesetting.enable = true;
|
||||
open = false;
|
||||
open = true;
|
||||
powerManagement = {
|
||||
enable = lib.mkForce false;
|
||||
finegrained = lib.mkForce false;
|
||||
|
|
@ -40,12 +41,11 @@
|
|||
prime = {
|
||||
nvidiaBusId = "PCI:1:0:0";
|
||||
amdgpuBusId = "PCI:15:0:0";
|
||||
#sync.enable = true;
|
||||
sync.enable = true;
|
||||
};
|
||||
};
|
||||
services.xserver.videoDrivers = [
|
||||
"nvidia"
|
||||
"amdgpu"
|
||||
];
|
||||
|
||||
hardware.amdgpu = {
|
||||
|
|
|
|||
|
|
@ -2,7 +2,6 @@
|
|||
fetch-rs,
|
||||
pkgs,
|
||||
config,
|
||||
lib,
|
||||
}:
|
||||
{
|
||||
systemd.tmpfiles.rules = [ "d /tmp/neovim-page 0777 root root - -" ];
|
||||
|
|
@ -47,8 +46,8 @@
|
|||
|
||||
#begone sudo
|
||||
security = {
|
||||
sudo.enable = lib.mkForce false;
|
||||
wrappers.su.setuid = lib.mkForce false;
|
||||
#sudo.enable = lib.mkForce false;
|
||||
#wrappers.su.setuid = lib.mkForce false;
|
||||
};
|
||||
|
||||
#zsh stuff
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue