summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-10-01 05:22:13 -0700
committerFuwn <[email protected]>2024-10-01 05:22:13 -0700
commit5258fb28a26289ecb5ba67c84f222e749f8a1104 (patch)
treed16575fb6dc948c9f8fd9f627383e474c7007bbb
parentflake: adaptive flake root (diff)
downloadnixos-config-5258fb28a26289ecb5ba67c84f222e749f8a1104.tar.xz
nixos-config-5258fb28a26289ecb5ba67c84f222e749f8a1104.zip
disks: reformat himeji
-rw-r--r--disks/himeji.nix56
1 files changed, 26 insertions, 30 deletions
diff --git a/disks/himeji.nix b/disks/himeji.nix
index 56e72cc..32af8a3 100644
--- a/disks/himeji.nix
+++ b/disks/himeji.nix
@@ -1,40 +1,36 @@
{
- disko.devices = {
- disk = {
- main = {
- type = "disk";
- device = "/dev/sda";
+ disko.devices.disk.main = {
+ type = "disk";
+ device = "/dev/sda";
- content = {
- type = "gpt";
+ content = {
+ type = "gpt";
- partitions = {
- boot = {
- size = "1M";
- type = "EF02";
- priority = 1;
- };
+ partitions = {
+ boot = {
+ size = "1M";
+ type = "EF02";
+ priority = 1;
+ };
- ESP = {
- size = "512M";
- type = "EF00";
+ ESP = {
+ size = "512M";
+ type = "EF00";
- content = {
- type = "filesystem";
- format = "vfat";
- mountpoint = "/boot";
- };
- };
+ content = {
+ type = "filesystem";
+ format = "vfat";
+ mountpoint = "/boot";
+ };
+ };
- root = {
- size = "100%";
+ root = {
+ size = "100%";
- content = {
- type = "filesystem";
- format = "ext4";
- mountpoint = "/";
- };
- };
+ content = {
+ type = "filesystem";
+ format = "ext4";
+ mountpoint = "/";
};
};
};