From 21a5ee2c9f8e304c85eeaec9c70a08b90585232a Mon Sep 17 00:00:00 2001 From: HerozDotExe Date: Fri, 6 Feb 2026 22:00:57 +0100 Subject: [PATCH] feat: auto mounts disks --- hardware-configuration.nix | 12 ++++++++++++ home.nix | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/hardware-configuration.nix b/hardware-configuration.nix index 64d673d..b18dca5 100644 --- a/hardware-configuration.nix +++ b/hardware-configuration.nix @@ -39,6 +39,18 @@ ]; }; + fileSystems."/windows" = { + device = "/dev/disk/by-uuid/3A86237286232DB7"; + fsType = "ntfs-3g"; + options = [ "rw" "uid=1000"]; + }; + + fileSystems."/storage" = { + device = "/dev/disk/by-uuid/9EC66CCBC66CA56D"; + fsType = "ntfs-3g"; + options = [ "rw" "uid=1000"]; + }; + swapDevices = [ ]; # Enables DHCP on each ethernet and wireless interface. In case of scripted networking diff --git a/home.nix b/home.nix index fc2ce44..da881b6 100644 --- a/home.nix +++ b/home.nix @@ -37,7 +37,7 @@ in }; "org.prismlauncher.PrismLauncher" = { name = "Prism Launcher"; - exec = "prismlauncher -d /run/media/heroz/Stockage/Jeux/PrismLauncher-8.4 %U"; + exec = "prismlauncher -d /storage/Jeux/PrismLauncher-8.4 %U"; comment="Discover, manage, and play Minecraft instances"; type="Application"; terminal=false;