2023-04-25 23:39:37 -04:00
|
|
|
|
# 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, ... }:
|
|
|
|
|
|
|
|
|
|
{
|
2023-06-19 03:28:10 -04:00
|
|
|
|
imports = [ (modulesPath + "/profiles/qemu-guest.nix") ];
|
2023-04-25 23:39:37 -04:00
|
|
|
|
|
2023-04-26 00:32:13 -04:00
|
|
|
|
boot.initrd.availableKernelModules =
|
2023-06-19 03:28:10 -04:00
|
|
|
|
[ "ahci" "xhci_pci" "virtio_pci" "sr_mod" "virtio_blk" ];
|
2023-04-25 23:39:37 -04:00
|
|
|
|
boot.initrd.kernelModules = [ ];
|
2023-06-19 03:28:10 -04:00
|
|
|
|
boot.kernelModules = [ "kvm-amd" ];
|
2023-04-25 23:39:37 -04:00
|
|
|
|
boot.extraModulePackages = [ ];
|
|
|
|
|
|
2023-06-18 04:40:14 -04:00
|
|
|
|
fileSystems."/" = {
|
2023-06-19 03:28:10 -04:00
|
|
|
|
device = "/dev/disk/by-uuid/2da5b2c6-cad4-41a6-9884-4d91f560cd96";
|
2023-06-18 04:40:14 -04:00
|
|
|
|
fsType = "ext4";
|
2023-04-26 00:32:13 -04:00
|
|
|
|
};
|
2023-04-25 23:39:37 -04:00
|
|
|
|
|
|
|
|
|
swapDevices =
|
2023-06-19 03:28:10 -04:00
|
|
|
|
[{ device = "/dev/disk/by-uuid/fbef248f-db77-4785-8b3d-111f5e74c00b"; }];
|
2023-04-25 23:39:37 -04:00
|
|
|
|
|
|
|
|
|
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
|
|
|
|
# (the default) this is the recommended approach. When using systemd-networkd it's
|
|
|
|
|
# still possible to use this option, but it's recommended to use it in conjunction
|
|
|
|
|
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
|
|
|
|
|
networking.useDHCP = lib.mkDefault true;
|
2023-06-19 03:28:10 -04:00
|
|
|
|
# networking.interfaces.enp1s0.useDHCP = lib.mkDefault true;
|
2023-04-25 23:39:37 -04:00
|
|
|
|
|
|
|
|
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
|
|
|
|
}
|