36 lines
948 B
Nix
36 lines
948 B
Nix
|
|
{ config, lib, pkgs, modulesPath, ... }:
|
||
|
|
{
|
||
|
|
imports =
|
||
|
|
[ (modulesPath + "/profiles/qemu-guest.nix")
|
||
|
|
];
|
||
|
|
|
||
|
|
boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "virtio_pci" "virtio_scsi" "sd_mod" ];
|
||
|
|
boot.initrd.kernelModules = [ ];
|
||
|
|
boot.kernelModules = [ ];
|
||
|
|
boot.extraModulePackages = [ ];
|
||
|
|
|
||
|
|
fileSystems."/" =
|
||
|
|
{ device = "/dev/disk/by-label/nixos";
|
||
|
|
fsType = "btrfs";
|
||
|
|
};
|
||
|
|
|
||
|
|
swapDevices = [ ];
|
||
|
|
boot.loader.grub = {
|
||
|
|
efiSupport = true;
|
||
|
|
efiInstallAsRemovable = true;
|
||
|
|
device = "nodev";
|
||
|
|
};
|
||
|
|
fileSystems."/boot" = { device = "/dev/disk/by-uuid/D4F8-75CA"; fsType = "vfat"; };
|
||
|
|
|
||
|
|
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||
|
|
|
||
|
|
boot.loader.systemd-boot.enable = true;
|
||
|
|
boot.loader.efi.canTouchEfiVariables = true;
|
||
|
|
networking.useDHCP = false;
|
||
|
|
networking.interfaces.ens3.useDHCP = true;
|
||
|
|
networking.hostName = "vpn";
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
# vim: set et ts=2 sw=2 ai:
|