summaryrefslogtreecommitdiff
path: root/hardware-configuration.nix
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2019-01-30 17:20:43 -0800
committerBen Sima <ben@bsima.me>2019-01-30 17:20:43 -0800
commit67ddf074edec7631067c5f634c3e56e0848cd11f (patch)
treec1d309daade3b6bbc507b845dd1c4c23b1ccdfca /hardware-configuration.nix
parent6750622c47a90060159544c8c928ef3440a43ec9 (diff)
Build production machine locally
Diffstat (limited to 'hardware-configuration.nix')
-rw-r--r--hardware-configuration.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/hardware-configuration.nix b/hardware-configuration.nix
new file mode 100644
index 0000000..8c88cb7
--- /dev/null
+++ b/hardware-configuration.nix
@@ -0,0 +1,6 @@
+{ ... }:
+{
+ imports = [ <nixpkgs/nixos/modules/profiles/qemu-guest.nix> ];
+ boot.loader.grub.device = "/dev/vda";
+ fileSystems."/" = { device = "/dev/vda1"; fsType = "ext4"; };
+}