Make use of Nix profiles
This commit is contained in:
parent
e6bd37c5d4
commit
82df5189d6
9 changed files with 26 additions and 46 deletions
|
@ -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"
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
imports = [
|
||||
./boot
|
||||
./disks
|
||||
./hardware
|
||||
./networking
|
||||
];
|
||||
}
|
||||
|
|
|
@ -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";
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue