From b944954b3c8fccae070e948f483b89c13320a268 Mon Sep 17 00:00:00 2001 From: xinyangli Date: Sun, 24 Dec 2023 13:55:56 +0800 Subject: [PATCH] calcite: remove win drive from fstab - Remove ntfs drive from fstab as it will cause systemd enter emergency mode if corrupted. - TODO: use autofs to mount the ntfs drive, or add extra options to ignore failed ntfs drive. --- machines/calcite/configuration.nix | 4 ---- machines/calcite/hardware-configuration.nix | 7 ------- 2 files changed, 11 deletions(-) diff --git a/machines/calcite/configuration.nix b/machines/calcite/configuration.nix index 43251e2..1871c6d 100644 --- a/machines/calcite/configuration.nix +++ b/machines/calcite/configuration.nix @@ -158,10 +158,6 @@ clang-tools rnix-lsp - # C/C++ - gcc - gdb - # Python # reference: https://nixos.wiki/wiki/Python ( diff --git a/machines/calcite/hardware-configuration.nix b/machines/calcite/hardware-configuration.nix index 0bd2426..c59286d 100644 --- a/machines/calcite/hardware-configuration.nix +++ b/machines/calcite/hardware-configuration.nix @@ -23,13 +23,6 @@ fsType = "vfat"; }; - fileSystems."/media/data" = - { - device = "/dev/disk/by-label/WINDATA"; - fsType = "ntfs3"; - options = [ "rw" "uid=1000" ]; - }; - swapDevices = [ { device = "/dev/disk/by-label/NIXSWAP"; } ];