aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hosts/underworld/default.nix23
-rw-r--r--hosts/underworld/home.nix3
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;