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 | |
| parent | 7e69fd16fa0b2d9529e6ba02653ae4d2b7db8bf4 (diff) | |
underworld: format ancillary drives
Diffstat (limited to 'hosts/underworld')
| -rw-r--r-- | hosts/underworld/default.nix | 23 | ||||
| -rw-r--r-- | hosts/underworld/home.nix | 3 |
2 files changed, 21 insertions, 5 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" ]; diff --git a/hosts/underworld/home.nix b/hosts/underworld/home.nix index 004f5d6..486b2da 100644 --- a/hosts/underworld/home.nix +++ b/hosts/underworld/home.nix @@ -2,6 +2,7 @@ flakeRoot, inputs, pkgs, + config, ... }: { @@ -38,7 +39,7 @@ ]; userDirs = let - annex = "/mnt/drive2/Annex"; + annex = "${config.home-manager.users.osiris.home.homeDirectory}/Annex"; in { enable = true; |
