Compare commits
No commits in common. "9ca20b8e24b7f6615581eac6d5349b8ef7a58067" and "5a36dbc08309588ef89696a0d72e1a45b04dd833" have entirely different histories.
9ca20b8e24
...
5a36dbc083
@ -15,7 +15,7 @@ in {
|
|||||||
inetutils
|
inetutils
|
||||||
neofetch
|
neofetch
|
||||||
tmux
|
tmux
|
||||||
# nerdfonts
|
nerdfonts
|
||||||
p7zip
|
p7zip
|
||||||
rclone
|
rclone
|
||||||
ripgrep
|
ripgrep
|
||||||
|
|||||||
@ -16,12 +16,7 @@ in
|
|||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
|
|
||||||
# Enable NVIDIA driver for X11 and Wayland
|
# Enable NVIDIA driver for X11 and Wayland
|
||||||
# without modesetting, x server will be run by nvidia
|
services.xserver.videoDrivers = [ "amdgpu" "nvidia" ];
|
||||||
services.xserver.videoDrivers = [
|
|
||||||
"amdgpu"
|
|
||||||
"modesetting"
|
|
||||||
"nvidia"
|
|
||||||
];
|
|
||||||
|
|
||||||
# Enable OpenGL
|
# Enable OpenGL
|
||||||
hardware.graphics = {
|
hardware.graphics = {
|
||||||
@ -82,7 +77,7 @@ in
|
|||||||
hardware.nvidia = {
|
hardware.nvidia = {
|
||||||
# Modesetting is required.
|
# Modesetting is required.
|
||||||
modesetting.enable = true;
|
modesetting.enable = true;
|
||||||
|
|
||||||
# Nvidia power management. Experimental, and can cause sleep/suspend to fail.
|
# Nvidia power management. Experimental, and can cause sleep/suspend to fail.
|
||||||
# Enable this if you have graphical corruption issues or application crashes after waking
|
# Enable this if you have graphical corruption issues or application crashes after waking
|
||||||
# up from sleep. This fixes it by saving the entire VRAM memory to /tmp/ instead
|
# up from sleep. This fixes it by saving the entire VRAM memory to /tmp/ instead
|
||||||
|
|||||||
@ -101,7 +101,7 @@
|
|||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
# vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
|
# vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
|
||||||
# wget
|
# wget
|
||||||
pkgs.gnome-tweaks
|
pkgs.gnome3.gnome-tweaks
|
||||||
];
|
];
|
||||||
|
|
||||||
# Some programs need SUID wrappers, can be configured further or are
|
# Some programs need SUID wrappers, can be configured further or are
|
||||||
|
|||||||
@ -4,7 +4,7 @@ let
|
|||||||
in
|
in
|
||||||
{
|
{
|
||||||
my-namespace.hardware = {
|
my-namespace.hardware = {
|
||||||
# graphics-nvidia-prime-amd = enabled;
|
graphics-nvidia-prime-amd.enable = false;
|
||||||
graphics-nvidia-prime-amd-testing = enabled;
|
graphics-nvidia-prime-amd-testing = enabled;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user