mirror of
https://github.com/oddlama/nix-config.git
synced 2025-10-11 07:10:39 +02:00
fix: generate initrd hostkey if necessary when system is bootstrapped; fix disko partition types
This commit is contained in:
parent
5c98df767b
commit
c3141bf563
5 changed files with 69 additions and 23 deletions
|
@ -7,7 +7,7 @@
|
|||
disk = {
|
||||
m2-ssd = {
|
||||
type = "disk";
|
||||
device = "/dev/disk/by-id/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa";
|
||||
device = "/dev/disk/by-id/nvme-Samsung_SSD_980_1TB_S649NL0TC36758M";
|
||||
content = {
|
||||
type = "table";
|
||||
format = "gpt";
|
||||
|
@ -17,6 +17,7 @@
|
|||
start = "2048";
|
||||
end = "1GiB";
|
||||
fs-type = "fat32";
|
||||
bootable = true;
|
||||
content = {
|
||||
type = "filesystem";
|
||||
format = "vfat";
|
||||
|
@ -27,6 +28,7 @@
|
|||
name = "swap";
|
||||
start = "1GiB";
|
||||
end = "17GiB";
|
||||
fs-type = "linux-swap";
|
||||
content = {
|
||||
type = "swap";
|
||||
randomEncryption = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue