add storage to NixNAS

This commit is contained in:
k3t
2026-06-24 21:00:57 -06:00
parent fd97833be8
commit b6b586ecd2
2 changed files with 15 additions and 0 deletions
+1
View File
@@ -8,6 +8,7 @@
imports = imports =
[ # Include the results of the hardware scan. [ # Include the results of the hardware scan.
./hardware-configuration.nix ./hardware-configuration.nix
./filesystems.nix
]; ];
networking.hostName = "NixNAS"; networking.hostName = "NixNAS";
+14
View File
@@ -0,0 +1,14 @@
{
fileSystems = {
"/mnt/hdd" =
{ device = "/dev/disk/by-label/NixNAS_HDD";
fsType = "btrfs";
options = [ "discard" ];
};
"/mnt/ssd" =
{ device = "/dev/disk/by-label/NixNAS_SSD";
fsType = "btrfs";
options = [ "discard" ];
};
}
}