xerneas longhorn tank wip
This commit is contained in:
parent
1cf8b5c5b3
commit
ed8e40e250
|
@ -10,6 +10,7 @@
|
|||
../types/server.nix
|
||||
../modules/k3s-agent.nix
|
||||
../modules/garage-lvm-data.nix
|
||||
../modules/tank-luks-nvme.nix
|
||||
];
|
||||
config = lib.mkMerge [
|
||||
{
|
||||
|
|
11
modules/tank-luks-nvme.nix
Normal file
11
modules/tank-luks-nvme.nix
Normal file
|
@ -0,0 +1,11 @@
|
|||
{ config, ... }:
|
||||
{
|
||||
# make an LV for the tank.
|
||||
# lvcreate -L 256G xerneas-luks0 --name xerneas-tank-nvme
|
||||
# mkfs.xfs /dev/mapper/xerneas--luks-xerneas--tank--nvme
|
||||
|
||||
fileSystems."/tank/nvme" = {
|
||||
device = "/dev/mapper/xerneas--luks-xerneas--tank--nvme";
|
||||
fsType = "xfs";
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user