test
This commit is contained in:
parent
d07e02b4d1
commit
f3d04f5a91
1 changed files with 18 additions and 2 deletions
|
@ -1,6 +1,8 @@
|
|||
{
|
||||
boot.loader.grub.device = "/dev/sda";
|
||||
boot.initrd.luks.devices."sda2".device = "/dev/sda2";
|
||||
services.btrfs.autoScrub.enable = true;
|
||||
services.btrfs.autoScrub.interval = "weekly";
|
||||
|
||||
disko.devices.disk.sda = {
|
||||
device = "/dev/sda";
|
||||
|
@ -32,8 +34,22 @@
|
|||
settings.keyFile = "/tmp/secret.key";
|
||||
content = {
|
||||
type = "filesystem";
|
||||
format = "ext4";
|
||||
mountpoint = "/";
|
||||
format = "btrfs";
|
||||
# extraArgs = [ "-f" ];
|
||||
subvolumes = {
|
||||
"/root" = {
|
||||
mountpoint = "/";
|
||||
mountOptions = [ "compress=zstd" "noatime" ];
|
||||
}; # root
|
||||
"/home" = {
|
||||
mountpoint = "/home";
|
||||
mountOptions = [ "compress=zstd" "noatime" ];
|
||||
}; # home
|
||||
"/nix" = {
|
||||
mountpoint = "/nix";
|
||||
mountOptions = [ "compress=zstd" "noatime" ];
|
||||
}; # nix
|
||||
}; # subvolumes
|
||||
}; # content.content
|
||||
}; # content
|
||||
} # partition 2
|
||||
|
|
Loading…
Reference in a new issue