Skip to content

Commit

Permalink
build: fix disko script
Browse files Browse the repository at this point in the history
adapt to the sgdisk usage
  • Loading branch information
LEXUGE committed Dec 18, 2024
1 parent 579c7ae commit 1038927
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions modules/disko/disk.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ with builtins;
# ESP
esp = {
label = "esp";
start = "0";
end = "1G";
size = "1G";
priority = 1;
# EFI Filesystem
type = "EF00";
content = {
Expand All @@ -28,8 +28,8 @@ with builtins;
# Swap
swap = {
label = "swap";
start = "1G";
end = "${toString (1 + swap)}G";
size = "${toString swap}G";
priority = 2;
content = {
type = "luks";
name = "cryptswap";
Expand All @@ -41,8 +41,8 @@ with builtins;
# Root partition
root = {
label = "root";
start = "${toString (1 + swap)}G";
end = "100%";
size = "100%";
priority = 3;
content = {
type = "luks";
name = "cryptroot";
Expand Down

0 comments on commit 1038927

Please sign in to comment.