fix(Infini-SERVER): disable data drive
This commit is contained in:
parent
49e4aeb353
commit
0429dd7416
1 changed files with 3 additions and 3 deletions
|
@ -22,7 +22,7 @@ in
|
||||||
let
|
let
|
||||||
main = uuid "5f24b2a6-643d-4abd-a3b2-61ee124700b5";
|
main = uuid "5f24b2a6-643d-4abd-a3b2-61ee124700b5";
|
||||||
esp = uuid "A2B8-4C6E";
|
esp = uuid "A2B8-4C6E";
|
||||||
data = uuid "34668afb-7514-46cd-8c2c-0dcf19cd4742";
|
data = null; # uuid "34668afb-7514-46cd-8c2c-0dcf19cd4742";
|
||||||
|
|
||||||
btrfsOptions = [ "defaults" "autodefrag" "noatime" ];
|
btrfsOptions = [ "defaults" "autodefrag" "noatime" ];
|
||||||
in
|
in
|
||||||
|
@ -40,7 +40,7 @@ in
|
||||||
neededForBoot = true;
|
neededForBoot = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
"/media/data" = {
|
"/media/data" = lib.mkIf (data != null) {
|
||||||
device = data;
|
device = data;
|
||||||
fsType = "btrfs";
|
fsType = "btrfs";
|
||||||
options = [ "subvol=/" "ssd" ] ++ btrfsOptions;
|
options = [ "subvol=/" "ssd" ] ++ btrfsOptions;
|
||||||
|
@ -54,7 +54,7 @@ in
|
||||||
neededForBoot = true;
|
neededForBoot = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
"/persist/srv" = {
|
"/persist/srv" = lib.mkIf (data != null) {
|
||||||
device = data;
|
device = data;
|
||||||
fsType = "btrfs";
|
fsType = "btrfs";
|
||||||
options = [ "subvol=root/srv" "ssd" ] ++ btrfsOptions;
|
options = [ "subvol=root/srv" "ssd" ] ++ btrfsOptions;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue