From 659ca147fdf52865303793179ce1a1a30d355947 Mon Sep 17 00:00:00 2001 From: Alexander Tomokhov Date: Sat, 15 Jul 2023 16:52:30 +0400 Subject: [PATCH] add hardware-configuration.nix for testing purposes --- hardware-configuration.nix | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 hardware-configuration.nix diff --git a/hardware-configuration.nix b/hardware-configuration.nix new file mode 100644 index 0000000..7ac1c80 --- /dev/null +++ b/hardware-configuration.nix @@ -0,0 +1,7 @@ +{ modulesPath, ... }: +{ + imports = [ (modulesPath + "/profiles/qemu-guest.nix") ]; + boot.loader.grub.device = "/dev/sda"; + boot.initrd.kernelModules = [ "nvme" ]; + fileSystems."/" = { device = "/dev/sda1"; fsType = "ext4"; }; +}