mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-12-21 19:24:15 +00:00
levi: add wayland config and rename xorg config
This commit is contained in:
parent
913896ec30
commit
3984e050ff
3 changed files with 10 additions and 1 deletions
|
@ -4,7 +4,7 @@ let
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./optimus.nix
|
./xorg.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
environment.etc = {
|
environment.etc = {
|
||||||
|
|
7
hosts/levi/wayland.nix
Normal file
7
hosts/levi/wayland.nix
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
{
|
||||||
|
# NVIDIA-only using MUX switch in BIOS.
|
||||||
|
environment.variables.MUTTER_DEBUG_FORCE_KMS_MODE = "simple";
|
||||||
|
hardware.nvidia.modesetting.enable = true;
|
||||||
|
hardware.nvidia.open = false;
|
||||||
|
services.xserver.videoDrivers = [ "nvidia" ];
|
||||||
|
}
|
|
@ -19,6 +19,8 @@
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
### Nothing below this line has been tested since 2022
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
### "sync mode"
|
### "sync mode"
|
Loading…
Reference in a new issue