mirror of
https://codeberg.org/privacy1st/nix-git
synced 2024-11-21 22:03:19 +01:00
yodaNas LUKS data drive
This commit is contained in:
parent
c602a9a622
commit
0914482a61
@ -64,4 +64,9 @@ in
|
||||
boot.kernelParams = [];
|
||||
|
||||
boot.kernelPackages = pkgs.linuxPackages;
|
||||
|
||||
# TODO: For "/" this cfg resides in base.nix
|
||||
fileSystems = {
|
||||
"/mnt/data".options = [ "compress=zstd" "noatime" "commit=120" ];
|
||||
};
|
||||
}
|
||||
|
@ -38,6 +38,13 @@
|
||||
options = [ "subvol=@swap" ];
|
||||
};
|
||||
|
||||
fileSystems."/mnt/data" =
|
||||
{ device = "/dev/disk/by-uuid/c385a436-0288-486f-a2b9-c64c2db667e7";
|
||||
fsType = "btrfs";
|
||||
};
|
||||
|
||||
boot.initrd.luks.devices."12tb1".device = "/dev/disk/by-uuid/68c349e8-5118-4773-9fd5-5dbad9acee4e";
|
||||
|
||||
swapDevices = [ { device = "/swap/swapfile"; } ];
|
||||
|
||||
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
||||
|
@ -63,4 +63,9 @@ in
|
||||
boot.kernelParams = [];
|
||||
|
||||
boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||
|
||||
# TODO: For "/" this cfg resides in base.nix
|
||||
fileSystems = {
|
||||
"/mnt/512gb".options = [ "compress=zstd" "noatime" "commit=120" ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user