refactor(flake): move nixos configs into flake

This commit is contained in:
Mohammad Rafiq 2025-03-31 04:41:56 +08:00
parent fc259dff4a
commit 9f8c3bb923
No known key found for this signature in database
67 changed files with 45 additions and 56 deletions

22
modules/boot.nix Normal file
View file

@ -0,0 +1,22 @@
{ pkgs, modulesPath, ... }:
{
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
];
boot = {
loader = {
timeout = 5;
efi.canTouchEfiVariables = true;
};
kernelPackages = pkgs.linuxPackages_latest;
initrd.availableKernelModules = [
"ahci"
"nvme"
"sd_mod"
"usb_storage"
"usbhid"
"xhci_pci"
"rtsx_pci_sdmmc"
];
};
}