Manually write hardware configurations
This commit is contained in:
parent
65a39f19a8
commit
a02eaafaac
5 changed files with 48 additions and 60 deletions
|
|
@ -1,16 +1,12 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
<nixos-hardware/asus/rog-strix/g513im>
|
||||
./hardware-configuration.nix
|
||||
./hardware.nix
|
||||
./networking.nix
|
||||
./users.nix
|
||||
];
|
||||
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
|
||||
time.timeZone = "America/Los_Angeles";
|
||||
|
||||
i18n.defaultLocale = "en_US.UTF-8";
|
||||
|
|
@ -25,20 +21,6 @@
|
|||
vscode
|
||||
];
|
||||
|
||||
hardware.opengl = {
|
||||
enable = true;
|
||||
driSupport32Bit = true;
|
||||
};
|
||||
|
||||
#hardware.nvidia = {
|
||||
# modesetting.enable = true;
|
||||
# prime = {
|
||||
# sync.enable = true;
|
||||
# nvidiaBusId = "PCI:01:00:0";
|
||||
# amdgpuBusId = "PCI:05:00:0";
|
||||
# };
|
||||
#};
|
||||
|
||||
services.xserver = {
|
||||
enable = true;
|
||||
#videoDrivers = ["nvidia" "amdgpu"];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue