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.
|
2024-03-18 04:26:02 -05:00
|
|
|
|
{ config
|
|
|
|
|
, lib
|
|
|
|
|
, pkgs
|
|
|
|
|
, modulesPath
|
|
|
|
|
, ...
|
2024-03-17 16:04:32 -05:00
|
|
|
|
}: {
|
2024-03-18 04:26:02 -05:00
|
|
|
|
imports = [ ];
|
2024-03-17 16:04:32 -05:00
|
|
|
|
|
2024-03-18 04:26:02 -05:00
|
|
|
|
boot.initrd.availableKernelModules = [ "ata_piix" "mptspi" "uhci_hcd" "ehci_pci" "sd_mod" "sr_mod" ];
|
|
|
|
|
boot.initrd.kernelModules = [ ];
|
|
|
|
|
boot.kernelModules = [ "kvm-amd" ];
|
|
|
|
|
boot.extraModulePackages = [ ];
|
2024-03-17 16:04:32 -05:00
|
|
|
|
|
|
|
|
|
fileSystems."/" = {
|
|
|
|
|
device = "/dev/disk/by-label/nixos";
|
|
|
|
|
fsType = "ext4";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
fileSystems."/boot" = {
|
|
|
|
|
device = "/dev/disk/by-label/boot";
|
|
|
|
|
fsType = "vfat";
|
|
|
|
|
};
|
|
|
|
|
|
2024-03-18 04:26:02 -05:00
|
|
|
|
swapDevices = [{ 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-16 23:21:18 -05:00
|
|
|
|
virtualisation.virtualbox.guest.enable = true;
|
|
|
|
|
virtualisation.virtualbox.guest.x11 = true;
|
2024-03-13 06:55:17 -05:00
|
|
|
|
}
|