Upgrade storage to SSD
This commit is contained in:
parent
bec36a738f
commit
0a7d8585ae
|
@ -47,20 +47,6 @@ in {
|
|||
};
|
||||
};
|
||||
|
||||
# Idle HDDs when not used
|
||||
systemd.services.hd-idle = {
|
||||
description = "Idle HDDs when not in use";
|
||||
wantedBy = [ "default.target" ];
|
||||
path = with pkgs; [ hd-idle ];
|
||||
script = ''
|
||||
${pkgs.hd-idle}/bin/hd-idle -i 0 -a ata-ST1000LM035-1RK172_WKPAKV85 -i 600
|
||||
-a ata-HGST_HTS721010A9E630_JR100X6P3UJG5E -i 600
|
||||
'';
|
||||
serviceConfig.Type = "simple";
|
||||
requires = [ "sata-hat.service" ];
|
||||
after = [ "vault.mount" ];
|
||||
};
|
||||
|
||||
# Push zion changes to git daily
|
||||
systemd.user.services.zion-push = {
|
||||
description = "Push zion changes to git";
|
||||
|
|
Loading…
Reference in New Issue