Infini-SD: init
This commit is contained in:
parent
2574b82458
commit
9d87b7d540
3 changed files with 91 additions and 0 deletions
18
hosts/Infini-SD/hardware-configuration.nix
Normal file
18
hosts/Infini-SD/hardware-configuration.nix
Normal file
|
@ -0,0 +1,18 @@
|
|||
{ config, lib, pkgs, modulesPath, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
(modulesPath + "/installer/scan/not-detected.nix")
|
||||
];
|
||||
|
||||
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "thunderbolt" "ahci" "usbhid" "sd_mod" ];
|
||||
boot.initrd.kernelModules = [ "usb_storage" ];
|
||||
boot.kernelModules = [ "kvm-amd" "kvm-intel" ];
|
||||
boot.extraModulePackages = [ ];
|
||||
boot.kernelParams = [ "boot.shell_on_fail" ];
|
||||
boot.supportedFilesystems = [ "btrfs" "zfs" ];
|
||||
boot.zfs.forceImportRoot = false;
|
||||
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
|
||||
|
||||
info.model = "Portable Installation";
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue