Compare commits
1 Commits
main
...
e48118b3ef
| Author | SHA1 | Date | |
|---|---|---|---|
|
e48118b3ef
|
@@ -15,25 +15,48 @@
|
|||||||
boot.kernelModules = [ "kvm-intel" ];
|
boot.kernelModules = [ "kvm-intel" ];
|
||||||
boot.extraModulePackages = [ ];
|
boot.extraModulePackages = [ ];
|
||||||
|
|
||||||
fileSystems."/" = {
|
disko.devices = {
|
||||||
device = "/dev/disk/by-uuid/acbd96e3-e7c7-442d-82cc-ce2913a9e90c";
|
disk = {
|
||||||
fsType = "btrfs";
|
main = {
|
||||||
options = [
|
type = "disk";
|
||||||
"subvol=@"
|
device = "/dev/disk/by-path/pci-0000:01:00.0-nvme-1";
|
||||||
"compress=zstd"
|
content = {
|
||||||
"autodefrag"
|
type = "gpt";
|
||||||
"noatime"
|
partitions = {
|
||||||
"space_cache=v2"
|
ESP = {
|
||||||
"discard"
|
size = "512M";
|
||||||
];
|
type = "EF00";
|
||||||
};
|
content = {
|
||||||
|
type = "filesystem";
|
||||||
boot.initrd.luks.devices."luks-0f481d5f-528c-4838-bd8a-d2780b4ba234".device =
|
format = "vfat";
|
||||||
"/dev/disk/by-uuid/0f481d5f-528c-4838-bd8a-d2780b4ba234";
|
mountpoint = "/boot";
|
||||||
|
mountOptions = [ "umask=0077" ];
|
||||||
fileSystems."/boot" = {
|
};
|
||||||
device = "/dev/disk/by-uuid/4D19-520E";
|
};
|
||||||
fsType = "vfat";
|
luks = {
|
||||||
|
size = "100%";
|
||||||
|
content = {
|
||||||
|
type = "luks";
|
||||||
|
name = "crypted";
|
||||||
|
passwordFile = "/etc/secrets/primary-password";
|
||||||
|
content = {
|
||||||
|
type = "filesystem";
|
||||||
|
format = "f2fs";
|
||||||
|
mountpoint = "/";
|
||||||
|
extraArgs = [
|
||||||
|
"-O"
|
||||||
|
"extra_attr,inode_checksum,sb_checksum,compression"
|
||||||
|
];
|
||||||
|
mountOptions = [
|
||||||
|
"compress_algorithm=zstd:6,compress_chksum,atgc,gc_merge,lazytime,nodiscard"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
swapDevices = [ ];
|
swapDevices = [ ];
|
||||||
|
|||||||
Reference in New Issue
Block a user