2024-03-13 06:55:17 -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.
|
|
|
|
|
{ config, lib, pkgs, modulesPath, ... }:
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
imports = [ ];
|
|
|
|
|
|
2024-03-16 06:12:03 -05:00
|
|
|
|
boot.initrd.availableKernelModules = [ "ata_piix" "mptspi" "uhci_hcd" "ehci_pci" "sd_mod" "sr_mod" ];
|
2024-03-13 06:55:17 -05:00
|
|
|
|
boot.initrd.kernelModules = [ ];
|
2024-03-16 06:12:03 -05:00
|
|
|
|
boot.kernelModules = [ "kvm-amd" ];
|
2024-03-13 06:55:17 -05:00
|
|
|
|
boot.extraModulePackages = [ ];
|
|
|
|
|
|
|
|
|
|
fileSystems."/" =
|
2024-03-16 08:19:54 -05:00
|
|
|
|
{
|
|
|
|
|
device = "/dev/disk/by-label/nixos";
|
2024-03-13 06:55:17 -05:00
|
|
|
|
fsType = "ext4";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
fileSystems."/boot" =
|
2024-03-16 08:19:54 -05:00
|
|
|
|
{
|
|
|
|
|
device = "/dev/disk/by-label/boot";
|
2024-03-13 06:55:17 -05:00
|
|
|
|
fsType = "vfat";
|
|
|
|
|
};
|
2024-03-16 06:12:03 -05:00
|
|
|
|
|
2024-03-13 06:55:17 -05:00
|
|
|
|
swapDevices =
|
2024-03-16 08:19:54 -05:00
|
|
|
|
[{ device = "/dev/sda2"; }];
|
2024-03-13 06:55:17 -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-03-16 06:12:03 -05:00
|
|
|
|
# networking.interfaces.ens33.useDHCP = lib.mkDefault true;
|
2024-03-13 06:55:17 -05:00
|
|
|
|
|
|
|
|
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
2024-03-16 06:12:03 -05:00
|
|
|
|
virtualisation.vmware.guest.enable = true;
|
2024-03-13 06:55:17 -05:00
|
|
|
|
}
|