forked from fediversity/fediversity
28 lines
488 B
Nix
28 lines
488 B
Nix
{ ... }:
|
|
|
|
{
|
|
_class = "nixos";
|
|
|
|
imports = [
|
|
./nixos/disks.nix
|
|
];
|
|
|
|
## FIXME: It would be nice, but the following leads to infinite recursion
|
|
## in the way we currently plug `sources` in.
|
|
##
|
|
# imports = [
|
|
# "${sources.nixpkgs}/nixos/modules/profiles/qemu-guest.nix"
|
|
# ];
|
|
|
|
boot = {
|
|
initrd = {
|
|
availableKernelModules = [
|
|
"ata_piix"
|
|
"uhci_hcd"
|
|
"sd_mod"
|
|
"sr_mod"
|
|
];
|
|
kernelModules = [ "dm-snapshot" ];
|
|
};
|
|
};
|
|
}
|