# 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, modulesPath, ... }: { imports = [ (modulesPath + "/profiles/qemu-guest.nix") ]; boot = { initrd.availableKernelModules = [ "virtio_pci" "virtio_scsi" "ahci" "sd_mod" ]; initrd.kernelModules = [ ]; kernelModules = [ ]; extraModulePackages = [ ]; # Enable LISH kernelParams = [ "console=ttyS0,19200n8" ]; loader = { grub = { device = "/dev/sda"; extraConfig = '' serial --speed=19200 --unit=0 --word=8 --parity=no --stop=1; terminal_input serial; terminal_output serial; ''; forceInstall = true; # device = "nodev"; }; timeout = 10; }; }; # fileSystems."/" and swapDevices are now owned by disko # (../disko/linode.nix, imported from ../platforms/linode.nix) — same # /dev/sda root + /dev/sdb swap layout, declared there instead so disko's # (idempotent, non-destructive — see that file) format/mount scripts stay # in sync with what NixOS actually mounts. nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; }