summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hosts/noctilucent/hardware-configuration.nix21
1 files changed, 19 insertions, 2 deletions
diff --git a/hosts/noctilucent/hardware-configuration.nix b/hosts/noctilucent/hardware-configuration.nix
index 6679bdf..479f1f5 100644
--- a/hosts/noctilucent/hardware-configuration.nix
+++ b/hosts/noctilucent/hardware-configuration.nix
@@ -1,8 +1,25 @@
-{ modulesPath, ... }:
+{ modulesPath, lib, ... }:
{
imports = [ (modulesPath + "/profiles/qemu-guest.nix") ];
boot.loader.grub.device = "/dev/sda";
boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "xen_blkfront" "vmw_pvscsi" ];
boot.initrd.kernelModules = [ "nvme" ];
- fileSystems."/" = { device = "/dev/sda1"; fsType = "ext4"; };
+
+ fileSystems."/" = {
+ device = "/dev/disk/by-uuid/627952eb-107a-43c3-8223-bfea9af92837";
+ fsType = "ext4";
+ };
+ fileSystems."/boot" = {
+ device = "dev/disk/by-uuid/5CA6-CCE4";
+ fsType = "vfat";
+ };
+
+ swapDevices = [ ];
+
+ # 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 false;
+ networking.interfaces.enp1s0.useDHCP = lib.mkDefault false;
}