summaryrefslogtreecommitdiff
path: root/Com/RunServal/hardware.nix
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2019-11-08 19:15:49 -0800
committerBen Sima <ben@bsima.me>2019-11-08 19:15:49 -0800
commitc41113fdcb92deeb6115c1d70c3bf92a2ea34a29 (patch)
tree05bb18024315a87c054ef4cc78518eca380a23af /Com/RunServal/hardware.nix
parent963a3f5dc7cfc1494cfe38572ab88830b238514b (diff)
add runserval config
Diffstat (limited to 'Com/RunServal/hardware.nix')
-rw-r--r--Com/RunServal/hardware.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/Com/RunServal/hardware.nix b/Com/RunServal/hardware.nix
new file mode 100644
index 0000000..8c88cb7
--- /dev/null
+++ b/Com/RunServal/hardware.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"; };
+}