Update
This commit is contained in:
parent
33e3e3ab14
commit
03963d3d6b
1 changed files with 6 additions and 6 deletions
|
@ -1,20 +1,20 @@
|
||||||
{
|
{
|
||||||
imports = [ ../../common/services/snapper.nix ];
|
imports = [ ../../common/services/snapper.nix ];
|
||||||
|
|
||||||
services.btrfs.autoScrub.enable = true;
|
services.btrfs.autoScrub.enable = true;
|
||||||
services.btrfs.autoScrub.interval = "weekly";
|
services.btrfs.autoScrub.interval = "weekly";
|
||||||
|
|
||||||
disko.devices.disk.nvme0 = {
|
disko.devices.disk.nvme0n1 = {
|
||||||
type = "disk";
|
type = "disk";
|
||||||
device = "/dev/nvme0n1";
|
device = "/dev/nvme0n1";
|
||||||
content = {
|
content = {
|
||||||
type = "gpt";
|
type = "gpt";
|
||||||
partitions = {
|
partitions = {
|
||||||
BOOT = {
|
BOOT = {
|
||||||
priority = 1;
|
priority = 1;
|
||||||
name = "BOOT";
|
name = "BOOT";
|
||||||
start = "0%";
|
start = "0%";
|
||||||
end = "550MiB";
|
end = "1GiB";
|
||||||
type = "EF00";
|
type = "EF00";
|
||||||
content = {
|
content = {
|
||||||
type = "filesystem";
|
type = "filesystem";
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
mountpoint = "/boot";
|
mountpoint = "/boot";
|
||||||
};
|
};
|
||||||
}; # partition 1 (ESP)
|
}; # partition 1 (ESP)
|
||||||
LUKS-ROOT = {
|
LUKS-ROOT = {
|
||||||
start = "550MiB";
|
start = "550MiB";
|
||||||
end = "100%";
|
end = "100%";
|
||||||
content = {
|
content = {
|
||||||
|
@ -67,4 +67,4 @@
|
||||||
}; # partitions
|
}; # partitions
|
||||||
}; # content
|
}; # content
|
||||||
}; # disko.devices.disk.nvme0
|
}; # disko.devices.disk.nvme0
|
||||||
} # root
|
} # nix
|
||||||
|
|
Loading…
Reference in a new issue