nix machine / user configurations
at terra 716 B view raw
1# Do not modify this file! It was generated by ‘nixos-generate-config’ 2# and may be overwritten by future invocations. Please make changes 3# to /etc/nixos/configuration.nix instead. 4{ 5 config, 6 lib, 7 pkgs, 8 modulesPath, 9 ... 10}: 11 12{ 13 imports = [ 14 (modulesPath + "/profiles/qemu-guest.nix") 15 ]; 16 17 boot.initrd.availableKernelModules = [ 18 "ata_piix" 19 "uhci_hcd" 20 "virtio_pci" 21 "sr_mod" 22 "virtio_blk" 23 ]; 24 boot.initrd.kernelModules = [ ]; 25 boot.kernelModules = [ ]; 26 boot.extraModulePackages = [ ]; 27 28 boot.loader.grub = { 29 efiSupport = true; 30 efiInstallAsRemovable = true; 31 }; 32 33 networking.useDHCP = lib.mkDefault true; 34 nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; 35}