Skip to content

Commit

Permalink
fix: video setting for AMD gpu
Browse files Browse the repository at this point in the history
  • Loading branch information
M0NsTeRRR committed Oct 6, 2024
1 parent 4931780 commit c276c47
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
nixos-rebuild switch --flake '.#<hostname>'
```
11. Reboot and enable secure boot
11. Reboot, enable secure boot, login with `lortega` user with password `temp123` and don't forget to change it !
12. GG 🥳
Expand Down
1 change: 1 addition & 0 deletions home/user/packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@
brightnessctl # controlling backlight
playerctl # media player command-line controller
unzip
pciutils # lspci

# app
keepassxc # password manager
Expand Down
1 change: 1 addition & 0 deletions system/modules/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
./security.nix
./ssh.nix
./user.nix
./video.nix
./virtualisation.nix
];
}
3 changes: 0 additions & 3 deletions system/modules/nvidia.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
{
# Enable NVIDIA
services.xserver.videoDrivers = [ "nvidia" ];
hardware.opengl = {
enable = true;
};

hardware.nvidia = {
modesetting.enable = true;
Expand Down
5 changes: 5 additions & 0 deletions system/modules/video.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
hardware.opengl = {
enable = true;
};
}

0 comments on commit c276c47

Please sign in to comment.