This commit is contained in:
albert 2024-07-27 11:38:22 +09:00
parent 33e3e3ab14
commit 03963d3d6b
Signed by: albert
GPG key ID: 3895DD267CA11BA9

View file

@ -1,20 +1,20 @@
{
imports = [ ../../common/services/snapper.nix ];
services.btrfs.autoScrub.enable = true;
services.btrfs.autoScrub.interval = "weekly";
disko.devices.disk.nvme0 = {
disko.devices.disk.nvme0n1 = {
type = "disk";
device = "/dev/nvme0n1";
content = {
content = {
type = "gpt";
partitions = {
BOOT = {
priority = 1;
name = "BOOT";
start = "0%";
end = "550MiB";
end = "1GiB";
type = "EF00";
content = {
type = "filesystem";
@ -24,7 +24,7 @@
mountpoint = "/boot";
};
}; # partition 1 (ESP)
LUKS-ROOT = {
LUKS-ROOT = {
start = "550MiB";
end = "100%";
content = {
@ -67,4 +67,4 @@
}; # partitions
}; # content
}; # disko.devices.disk.nvme0
} # root
} # nix