mount nvme drive
This commit is contained in:
16
nvme-mount.nix
Normal file
16
nvme-mount.nix
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
fileSystems."/mnt/nvme" = {
|
||||||
|
device = "/dev/nvme0n1";
|
||||||
|
fsType = "ext4";
|
||||||
|
options = [
|
||||||
|
"defaults"
|
||||||
|
"nofail"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
systemd.tmpfiles.rules = [
|
||||||
|
"d /mnt/nvme 0775 brian users -"
|
||||||
|
];
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user