Hevana: RAID auto-unlocking
This commit is contained in:
parent
38c0c493f2
commit
04c549d3a5
|
@ -378,11 +378,11 @@
|
||||||
"secrets": {
|
"secrets": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1725813930,
|
"lastModified": 1725817295,
|
||||||
"narHash": "sha256-UxqJm3MlHVrPofm/4Z1dR9Xpo49Xc0HGQ/Mg/bQ5oqI=",
|
"narHash": "sha256-Ttif3k1NMUesHDxieUrkqLyy8KO9kugXbatw9aP1d/Y=",
|
||||||
"ref": "refs/heads/main",
|
"ref": "refs/heads/main",
|
||||||
"rev": "2e559fbe36dc49c3ea63cc9856b899eb9269950f",
|
"rev": "aa7b891f6e76ff86b28abd26d6073dfad723c99e",
|
||||||
"revCount": 69,
|
"revCount": 70,
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "file:./secrets"
|
"url": "file:./secrets"
|
||||||
},
|
},
|
||||||
|
|
|
@ -36,6 +36,10 @@ in
|
||||||
networking.hostName = hostName;
|
networking.hostName = hostName;
|
||||||
|
|
||||||
###*** Configure your system below this line. ***###
|
###*** Configure your system below this line. ***###
|
||||||
|
# Set your time zone.
|
||||||
|
# To see all available timezones, run `timedatectl list-timezones`.
|
||||||
|
time.timeZone = "America/New_York";
|
||||||
|
|
||||||
# Build Nix packages for other hosts.
|
# Build Nix packages for other hosts.
|
||||||
# Runs every day at 4 AM
|
# Runs every day at 4 AM
|
||||||
systemd = {
|
systemd = {
|
||||||
|
|
|
@ -35,6 +35,10 @@ in
|
||||||
networking.hostName = hostName;
|
networking.hostName = hostName;
|
||||||
|
|
||||||
###*** Configure your system below this line. ***###
|
###*** Configure your system below this line. ***###
|
||||||
|
# Set your time zone.
|
||||||
|
# To see all available timezones, run `timedatectl list-timezones`.
|
||||||
|
time.timeZone = "America/New_York";
|
||||||
|
|
||||||
# Build Nix packages for other hosts.
|
# Build Nix packages for other hosts.
|
||||||
# Runs every day at 4 AM
|
# Runs every day at 4 AM
|
||||||
systemd = {
|
systemd = {
|
||||||
|
|
|
@ -27,10 +27,7 @@ in
|
||||||
fileSystems."/storage" = {
|
fileSystems."/storage" = {
|
||||||
device = "/dev/mapper/storage";
|
device = "/dev/mapper/storage";
|
||||||
# Keep booting even if the array fails to unlock
|
# Keep booting even if the array fails to unlock
|
||||||
options = [
|
options = [ "nofail" ];
|
||||||
"nofail"
|
|
||||||
"x-systemd.device-timeout=5s"
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
# Automatically scrub the array monthly
|
# Automatically scrub the array monthly
|
||||||
|
|
2
secrets
2
secrets
|
@ -1 +1 @@
|
||||||
Subproject commit 2e559fbe36dc49c3ea63cc9856b899eb9269950f
|
Subproject commit aa7b891f6e76ff86b28abd26d6073dfad723c99e
|
Loading…
Reference in a new issue