machine(Tytonidae): Refactor hardware configuration

This commit is contained in:
ulic-youthlic 2025-06-24 21:42:12 +08:00
parent c196ad8e20
commit 8a6d134a2c
Signed by: youthlic
GPG key ID: 63E86C3C14A0D721
2 changed files with 19 additions and 29 deletions

View file

@ -1,5 +1,4 @@
{
lib,
pkgs,
inputs,
...
@ -104,16 +103,6 @@
loader.efi.canTouchEfiVariables = true;
initrd.systemd.enable = true;
};
hardware.nvidia = {
modesetting.enable = true;
open = true;
prime = {
reverseSync.enable = lib.mkDefault true;
intelBusId = "PCI:0:2:0";
nvidiaBusId = "PCI:1:0:0";
};
};
nix = {settings = {system-features = ["gccarch-alderlake"];};};
# This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions