From 321bd936b1fa8dc29553f4d366bb942533462129 Mon Sep 17 00:00:00 2001 From: Snuggle <^-^@snugg.ie> Date: Tue, 17 Sep 2024 18:20:11 +0100 Subject: [PATCH] :sparkles: Add drive to pineapple --- hosts/pineapple/hardware-configuration.nix | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/hosts/pineapple/hardware-configuration.nix b/hosts/pineapple/hardware-configuration.nix index 1543e03..468ca05 100644 --- a/hosts/pineapple/hardware-configuration.nix +++ b/hosts/pineapple/hardware-configuration.nix @@ -24,6 +24,19 @@ options = [ "fmask=0077" "dmask=0077" ]; }; + fileSystems."/run/media/snuggle/pineapple" = { + device = "/dev/disk/by-uuid/4cb0cd63-5cdb-4c44-a282-cd2fd4a8c9c0"; + fsType = "btrfs"; + options = [ # If you don't have this options attribute, it'll default to "defaults" + # boot options for fstab. Search up fstab mount options you can use + "users" # Allows any user to mount and unmount + "nofail" # Prevents system from failing if this drive doesn't mount + "nosuid" + "nodev" + "x-gvfs-show" + ]; + }; + swapDevices = [ ]; # Enables DHCP on each ethernet and wireless interface. In case of scripted networking