mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-11-09 18:47:02 +00:00
add bootstrap-vps
This commit is contained in:
parent
ede6173de3
commit
eb555f99d5
2 changed files with 13 additions and 0 deletions
7
hosts/bootstrap-vps/configuration.nix
Normal file
7
hosts/bootstrap-vps/configuration.nix
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
{ ... }:
|
||||||
|
{
|
||||||
|
sconfig.profile = "server";
|
||||||
|
boot.loader.grub.enable = true;
|
||||||
|
boot.loader.grub.device = "/dev/vda";
|
||||||
|
fileSystems."/" = { device = "/dev/vda1"; fsType = "ext4"; };
|
||||||
|
}
|
6
hosts/bootstrap-vps/default.nix
Normal file
6
hosts/bootstrap-vps/default.nix
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
{
|
||||||
|
pkgs = "nixpkgs";
|
||||||
|
system = "x86_64-linux";
|
||||||
|
hardware = "qemu";
|
||||||
|
module = ./configuration.nix;
|
||||||
|
}
|
Loading…
Reference in a new issue