snowflake/hosts/hime/hardware-configuration.nix

34 lines
1.2 KiB
Nix
Raw Normal View History

2023-05-15 05:39:33 -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-01-31 11:58:43 -05:00
{
2023-05-15 05:39:33 -04:00
imports =
[ (modulesPath + "/profiles/qemu-guest.nix")
];
2023-01-31 11:58:43 -05:00
2023-05-15 05:39:33 -04:00
boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "virtio_pci" "virtio_scsi" "sd_mod" "sr_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ ];
boot.extraModulePackages = [ ];
2023-01-31 11:58:43 -05:00
2023-05-15 05:39:33 -04:00
fileSystems."/" =
{ device = "/dev/disk/by-uuid/f5a0738c-d027-4ffb-82ec-9901ca6b310b";
fsType = "ext4";
};
2023-01-31 11:58:43 -05:00
2023-05-15 05:39:33 -04:00
swapDevices =
[ { device = "/dev/disk/by-uuid/f28bad28-ae14-4aa7-85c5-47abe46bae56"; }
];
2023-01-31 11:58:43 -05:00
2023-05-15 05:39:33 -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`.
2023-01-31 11:58:43 -05:00
networking.useDHCP = lib.mkDefault true;
2023-05-15 05:39:33 -04:00
# networking.interfaces.ens18.useDHCP = lib.mkDefault true;
2023-04-23 17:45:37 -04:00
2023-01-31 11:58:43 -05:00
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
}