Create new install system with disko
This commit is contained in:
parent
29c9b505d1
commit
81237e88b0
8 changed files with 95 additions and 89 deletions
35
shared/disko/basic-ext4.nix
Normal file
35
shared/disko/basic-ext4.nix
Normal file
|
@ -0,0 +1,35 @@
|
|||
{
|
||||
disko.devices = {
|
||||
disk = {
|
||||
main-disk = {
|
||||
device = "/dev/sda";
|
||||
type = "disk";
|
||||
content = {
|
||||
type = "gpt";
|
||||
partitions = {
|
||||
ESP = {
|
||||
name = "boot";
|
||||
type = "EF00";
|
||||
size = "512M";
|
||||
content = {
|
||||
type = "filesystem";
|
||||
format = "vfat";
|
||||
mountpoint = "/boot";
|
||||
mountOptions = [ "umask=0077" ];
|
||||
};
|
||||
};
|
||||
root = {
|
||||
name = "nixos";
|
||||
size = "100%";
|
||||
content = {
|
||||
type = "filesystem";
|
||||
format = "ext4";
|
||||
mountpoint = "/";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue