System/Nixinator: Remove 500GB SSD from disks config
This commit is contained in:
+47
-47
@@ -141,53 +141,53 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
ssd = {
|
# ssd = {
|
||||||
type = "disk";
|
# type = "disk";
|
||||||
device = "/dev/disk/by-id/nvme-eui.00253857019ebd67";
|
# device = "/dev/disk/by-id/nvme-eui.00253857019ebd67";
|
||||||
content = {
|
# content = {
|
||||||
type = "gpt";
|
# type = "gpt";
|
||||||
partitions = {
|
# partitions = {
|
||||||
luks = {
|
# luks = {
|
||||||
label = "LUKS_SSD";
|
# label = "LUKS_SSD";
|
||||||
size = "100%";
|
# size = "100%";
|
||||||
content = {
|
# content = {
|
||||||
type = "luks";
|
# type = "luks";
|
||||||
name = "crypted_ssd";
|
# name = "crypted_ssd";
|
||||||
|
#
|
||||||
extraOpenArgs = [
|
# extraOpenArgs = [
|
||||||
"--perf-no_read_workqueue"
|
# "--perf-no_read_workqueue"
|
||||||
"--perf-no_write_workqueue"
|
# "--perf-no_write_workqueue"
|
||||||
];
|
# ];
|
||||||
|
#
|
||||||
settings = {
|
# settings = {
|
||||||
allowDiscards = true;
|
# allowDiscards = true;
|
||||||
crypttabExtraOpts = ["fido2-device=auto" "token-timeout=10" "tries=5"];
|
# crypttabExtraOpts = ["fido2-device=auto" "token-timeout=10" "tries=5"];
|
||||||
|
#
|
||||||
# Disable for interactive password entry
|
# # Disable for interactive password entry
|
||||||
# This is contained on the main disk, so by unlocking the main disk with the password,
|
# # This is contained on the main disk, so by unlocking the main disk with the password,
|
||||||
# the second disk can unlock automatically
|
# # the second disk can unlock automatically
|
||||||
keyFile = "/persist/home/christoph/.secrets/luks.keyfile";
|
# keyFile = "/persist/home/christoph/.secrets/luks.keyfile";
|
||||||
fallbackToPassword = false;
|
# fallbackToPassword = false;
|
||||||
};
|
# };
|
||||||
|
#
|
||||||
content = {
|
# content = {
|
||||||
type = "btrfs";
|
# type = "btrfs";
|
||||||
extraArgs = ["-L" "SSD" "-f"];
|
# extraArgs = ["-L" "SSD" "-f"];
|
||||||
subvolumes = {
|
# subvolumes = {
|
||||||
"data" = {
|
# "data" = {
|
||||||
mountpoint = "/home/christoph/SSD";
|
# mountpoint = "/home/christoph/SSD";
|
||||||
mountOptions = [
|
# mountOptions = [
|
||||||
"compress=zstd"
|
# "compress=zstd"
|
||||||
"noatime"
|
# "noatime"
|
||||||
];
|
# ];
|
||||||
};
|
# };
|
||||||
};
|
# };
|
||||||
};
|
# };
|
||||||
};
|
# };
|
||||||
};
|
# };
|
||||||
};
|
# };
|
||||||
};
|
# };
|
||||||
};
|
# };
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user