Format code with alejandra
This commit is contained in:
@@ -1,27 +1,26 @@
|
||||
# Edit this configuration file to define what should be installed on
|
||||
# your system. Help is available in the configuration.nix(5) man page
|
||||
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
||||
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports =
|
||||
[ # Include the results of the hardware scan.
|
||||
./hardware-configuration.nix
|
||||
../common
|
||||
../common/graphical
|
||||
];
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
# Include the results of the hardware scan.
|
||||
./hardware-configuration.nix
|
||||
../common
|
||||
../common/graphical
|
||||
];
|
||||
|
||||
services.xserver = {
|
||||
|
||||
dpi = 144;
|
||||
videoDrivers = [ "nvidia" ];
|
||||
videoDrivers = ["nvidia"];
|
||||
screenSection = ''
|
||||
Option "metamodes" "nvidia-auto-select +0+0 {ForceCompositionPipeline=On}"
|
||||
Option "AllowIndirectGLXProtocol" "off"
|
||||
Option "TripleBuffer" "on"
|
||||
'';
|
||||
|
||||
};
|
||||
|
||||
hardware.nvidia.modesetting.enable = true;
|
||||
@@ -38,4 +37,3 @@
|
||||
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
|
||||
system.stateVersion = "21.05"; # Did you read the comment?
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user