Make use of Nix profiles

This commit is contained in:
Jimbo 2025-02-28 19:13:03 -05:00
parent e6bd37c5d4
commit 82df5189d6
9 changed files with 26 additions and 46 deletions

View file

@ -5,5 +5,20 @@
./root-reset
];
boot.initrd.systemd.enable = true;
boot.initrd = {
systemd.enable = true;
kernelModules = [
"ahci"
"dm-snapshot"
"mmc_core"
"pcie_rockchip_host"
"phy_rockchip_pcie"
"rockchip_dfi"
"rockchip_thermal"
"rtc_rk808"
"rockchip_saradc"
"uas"
"fusb302"
];
};
}

View file

@ -3,7 +3,6 @@
imports = [
./boot
./disks
./hardware
./networking
];
}

View file

@ -1,8 +0,0 @@
{ config, lib, modulesPath, ... }:
{
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
boot.initrd.kernelModules = [ "ahci" "dm-snapshot" "mmc_core" "pcie_rockchip_host" "phy_rockchip_pcie" "rockchip_dfi" "rockchip_thermal" "rtc_rk808" "rockchip_saradc" "uas" "fusb302" ];
nixpkgs.hostPlatform = lib.mkDefault "aarch64-linux";
}