From 256fdc850b9e2560ea7b9ac8a1b624e23538ea45 Mon Sep 17 00:00:00 2001 From: "finn.markwitz" Date: Mon, 24 Mar 2025 12:58:57 +0100 Subject: [PATCH] feat: Updated Drive IDs for new M2 SSD --- machines/jupiter/disks.nix | 16 ++++++++-------- machines/jupiter/hardware-configuration.nix | 19 ++++++++++--------- 2 files changed, 18 insertions(+), 17 deletions(-) diff --git a/machines/jupiter/disks.nix b/machines/jupiter/disks.nix index 4a9499d..950787d 100644 --- a/machines/jupiter/disks.nix +++ b/machines/jupiter/disks.nix @@ -8,15 +8,15 @@ #TODO: CHECK THIS OUT: https://github.com/nix-community/disko its kinda better but felix does not support it { - fileSystems."/" = { - device = "/dev/disk/by-uuid/c95c64ad-f131-4bde-9bca-a7a3692173da"; - fsType = "ext4"; - }; + fileSystems."/" = + { device = "/dev/disk/by-uuid/8e3ac6ce-6865-49d8-b6d0-d7c008de391e"; + fsType = "ext4"; + }; - fileSystems."/boot" = { - device = "/dev/disk/by-uuid/0D77-17BB"; - fsType = "vfat"; - }; + fileSystems."/boot" = + { device = "/dev/disk/by-uuid/F193-2A35"; + fsType = "vfat"; + }; fileSystems."/data/nfs" = { device = "voyager:/"; diff --git a/machines/jupiter/hardware-configuration.nix b/machines/jupiter/hardware-configuration.nix index 13cbe80..be2142d 100644 --- a/machines/jupiter/hardware-configuration.nix +++ b/machines/jupiter/hardware-configuration.nix @@ -44,17 +44,18 @@ enableGraphical = true; }; - fileSystems."/" = { - device = "/dev/disk/by-uuid/c95c64ad-f131-4bde-9bca-a7a3692173da"; - fsType = "ext4"; - }; + fileSystems."/" = + { device = "/dev/disk/by-uuid/8e3ac6ce-6865-49d8-b6d0-d7c008de391e"; + fsType = "ext4"; + }; - fileSystems."/boot" = { - device = "/dev/disk/by-uuid/0D77-17BB"; - fsType = "vfat"; - }; + fileSystems."/boot" = + { device = "/dev/disk/by-uuid/F193-2A35"; + fsType = "vfat"; + options = [ "fmask=0077" "dmask=0077" ]; + }; - swapDevices = [ ]; + swapDevices = [ { device = "/dev/disk/by-uuid/7ffb2d2b-c03d-474b-8513-fee26e1e5e2f"; } ]; # Enables DHCP on each ethernet and wireless interface. In case of scripted networking # (the default) this is the recommended approach. When using systemd-networkd it's