2022-08-13 00:17:46 -05: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.
|
2024-11-23 01:23:26 -06:00
|
|
|
|
{ lib, modulesPath, ... }:
|
2022-08-13 00:17:46 -05:00
|
|
|
|
|
|
|
|
|
|
{
|
2024-11-23 01:23:26 -06:00
|
|
|
|
imports = [ (modulesPath + "/profiles/qemu-guest.nix") ];
|
2022-08-13 00:17:46 -05:00
|
|
|
|
|
2024-11-23 01:23:26 -06:00
|
|
|
|
boot.initrd.availableKernelModules = [
|
|
|
|
|
|
"ahci"
|
|
|
|
|
|
"xhci_pci"
|
|
|
|
|
|
"virtio_pci"
|
|
|
|
|
|
"virtio_blk"
|
|
|
|
|
|
];
|
2022-08-13 00:17:46 -05:00
|
|
|
|
boot.initrd.kernelModules = [ ];
|
2024-11-20 00:11:12 -06:00
|
|
|
|
boot.kernelModules = [ "kvm-amd" ];
|
2022-08-13 00:17:46 -05:00
|
|
|
|
boot.extraModulePackages = [ ];
|
|
|
|
|
|
|
2024-11-23 01:23:26 -06:00
|
|
|
|
fileSystems."/" = {
|
|
|
|
|
|
device = "/dev/disk/by-uuid/f222513b-ded1-49fa-b591-20ce86a2fe7f";
|
|
|
|
|
|
fsType = "ext4";
|
|
|
|
|
|
};
|
2022-08-13 00:17:46 -05:00
|
|
|
|
|
2024-11-23 01:23:26 -06:00
|
|
|
|
fileSystems."/boot" = {
|
|
|
|
|
|
device = "systemd-1";
|
|
|
|
|
|
fsType = "autofs";
|
|
|
|
|
|
};
|
2024-05-05 14:37:58 -05:00
|
|
|
|
|
|
|
|
|
|
swapDevices = [ ];
|
2022-08-13 00:17:46 -05: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;
|
2024-11-20 00:11:12 -06:00
|
|
|
|
# networking.interfaces.enp1s0.useDHCP = lib.mkDefault true;
|
|
|
|
|
|
# networking.interfaces.tailscale0.useDHCP = lib.mkDefault true;
|
2022-08-13 00:17:46 -05:00
|
|
|
|
|
2023-09-02 20:07:31 -05:00
|
|
|
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
2022-08-13 00:17:46 -05:00
|
|
|
|
}
|