Fix NixOS profile imports

This commit is contained in:
Tristan Daniël Maat 2021-04-18 02:58:49 +01:00
parent df76dcbf11
commit 04c00b9877
Signed by: tlater
GPG key ID: 49670FD774E43268
2 changed files with 10 additions and 5 deletions

View file

@ -1,11 +1,11 @@
# Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
{ config, lib, pkgs, ... }:
{ config, lib, pkgs, modulesPath, ... }:
{
imports =
[ <nixpkgs/nixos/modules/profiles/qemu-guest.nix>
[ (modulesPath + "/profiles/qemu-guest.nix")
];
boot.initrd.availableKernelModules = [ "virtio_pci" "ahci" "sd_mod" ];