From a5d93f6ce1de584269e891adbb3b2e3e17eb6532 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Rivera?= Date: Sun, 7 Jun 2026 12:11:24 +0200 Subject: [PATCH] desktop: auto mount hdd --- modules/hardware/hdd.nix | 8 ++++++++ modules/hosts/desktop.nix | 1 + 2 files changed, 9 insertions(+) create mode 100644 modules/hardware/hdd.nix diff --git a/modules/hardware/hdd.nix b/modules/hardware/hdd.nix new file mode 100644 index 0000000..275e95e --- /dev/null +++ b/modules/hardware/hdd.nix @@ -0,0 +1,8 @@ +_: { + flake.nixosModules.hdd = { + fileSystems."/home/tomasr/hdd" = { + device = "/dev/disk/by-uuid/cbe24588-e04f-4ffc-ba44-6fe6ec6d6850"; + fsType = "ext4"; + }; + }; +} diff --git a/modules/hosts/desktop.nix b/modules/hosts/desktop.nix index f5066d9..797c513 100644 --- a/modules/hosts/desktop.nix +++ b/modules/hosts/desktop.nix @@ -28,6 +28,7 @@ disk # this only installs some disk utilities. disko will format the drives fonts hardware-configuration-desktop + hdd hyprland IO #kdrive-desktop # we will setup this later