From eb555f99d5677fe3207ba08d9a06c42605f6a7f7 Mon Sep 17 00:00:00 2001 From: Sean Buckley Date: Mon, 7 Jun 2021 21:52:12 -0400 Subject: [PATCH] add bootstrap-vps --- hosts/bootstrap-vps/configuration.nix | 7 +++++++ hosts/bootstrap-vps/default.nix | 6 ++++++ 2 files changed, 13 insertions(+) create mode 100644 hosts/bootstrap-vps/configuration.nix create mode 100644 hosts/bootstrap-vps/default.nix diff --git a/hosts/bootstrap-vps/configuration.nix b/hosts/bootstrap-vps/configuration.nix new file mode 100644 index 0000000..0d98bc7 --- /dev/null +++ b/hosts/bootstrap-vps/configuration.nix @@ -0,0 +1,7 @@ +{ ... }: +{ + sconfig.profile = "server"; + boot.loader.grub.enable = true; + boot.loader.grub.device = "/dev/vda"; + fileSystems."/" = { device = "/dev/vda1"; fsType = "ext4"; }; +} diff --git a/hosts/bootstrap-vps/default.nix b/hosts/bootstrap-vps/default.nix new file mode 100644 index 0000000..165044d --- /dev/null +++ b/hosts/bootstrap-vps/default.nix @@ -0,0 +1,6 @@ +{ + pkgs = "nixpkgs"; + system = "x86_64-linux"; + hardware = "qemu"; + module = ./configuration.nix; +}