updates
seems to be the method to nixify a vps on my vps.
This commit is contained in:
parent
968170a677
commit
d96c914844
6 changed files with 42 additions and 90 deletions
|
|
@ -1,17 +1,33 @@
|
|||
{lib, ...}: {
|
||||
disko.devices = {
|
||||
disk = {
|
||||
main = {
|
||||
boot = {
|
||||
type = "disk";
|
||||
device = "/dev/xvda";
|
||||
content = {
|
||||
type = "gpt";
|
||||
partitions = {
|
||||
MBR = {
|
||||
type = "EF02";
|
||||
boot = {
|
||||
size = "1M";
|
||||
priority = 1;
|
||||
type = "EF02";
|
||||
};
|
||||
mbr = {
|
||||
size = "100%";
|
||||
content = {
|
||||
type = "filesystem";
|
||||
format = "ext4";
|
||||
mountpoint = "/boot";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
main = {
|
||||
type = "disk";
|
||||
device = "/dev/xvdb";
|
||||
content = {
|
||||
type = "gpt";
|
||||
partitions = {
|
||||
root = {
|
||||
size = "100%";
|
||||
content = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue