diff options
| author | Miran Bastaja <mbastaja@sorre.xyz> | 2025-03-06 18:30:48 +0100 |
|---|---|---|
| committer | Miran Bastaja <mbastaja@sorre.xyz> | 2025-03-06 18:31:10 +0100 |
| commit | ebaafa23f0a410087e4e045b3cb3a85f8e956f69 (patch) | |
| tree | 2d2324caf8ad32618b44e449e20a4e86c8fdb55e /hosts/underworld/default.nix | |
| parent | 7e69fd16fa0b2d9529e6ba02653ae4d2b7db8bf4 (diff) | |
underworld: format ancillary drives
Diffstat (limited to 'hosts/underworld/default.nix')
| -rw-r--r-- | hosts/underworld/default.nix | 23 |
1 files changed, 19 insertions, 4 deletions
diff --git a/hosts/underworld/default.nix b/hosts/underworld/default.nix index a77c557..b7a2a15 100644 --- a/hosts/underworld/default.nix +++ b/hosts/underworld/default.nix @@ -98,16 +98,31 @@ }; fileSystems."/mnt/drive2" = { - # No clue how that counts as an UUID, but blkid says so - device = "/dev/disk/by-uuid/682460BD2460903C"; - fsType = "ntfs-3g"; + # 1TB toshiba HDD + device = "/dev/disk/by-uuid/40128595-f8fa-466e-97c4-457c9b5c7577"; + fsType = "bcachefs"; options = [ # boot options for fstab. Search up fstab mount options you can use "rw" # Read-write permissions for all users "exec" # Permit execution of binaries and other executable files "suid" "nofail" # Prevent system from failing if this drive doesn't mount - "umask=002" # default perissions rwxrwxr-x + # "umask=002" # default perissions rwxrwxr-x + "uid=${toString config.users.users.osiris.uid}" + "X-mount.owner=osiris" + ]; + }; + fileSystems."/mnt/drive3" = { + # 4TB WD HDD + device = "/dev/disk/by-uuid/e4e11ca2-abf6-4f65-bed9-f9497d529438"; + fsType = "bcachefs"; + options = [ + # boot options for fstab. Search up fstab mount options you can use + "rw" # Read-write permissions for all users + "exec" # Permit execution of binaries and other executable files + "suid" + "nofail" # Prevent system from failing if this drive doesn't mount + # "umask=002" # default perissions rwxrwxr-x "uid=${toString config.users.users.osiris.uid}" "X-mount.owner=osiris" ]; |
