From cdb4ecf5c03e146a6dd44545a016528e03157ced Mon Sep 17 00:00:00 2001 From: William Carroll Date: Sat, 6 Aug 2022 13:44:59 -0700 Subject: fix(wpcarro/marcus): Fix fstab Labels `NIXROOT` and `NIXBOOT` don't exist, but `nixos` and `boot` do... Change-Id: I14296f1e03ed4b8953b360977921c3930c8907a6 Reviewed-on: https://cl.tvl.fyi/c/depot/+/6045 Reviewed-by: wpcarro Autosubmit: wpcarro Tested-by: BuildkiteCI --- users/wpcarro/nixos/marcus/hardware.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/users/wpcarro/nixos/marcus/hardware.nix b/users/wpcarro/nixos/marcus/hardware.nix index 329926269a..8a2672206b 100644 --- a/users/wpcarro/nixos/marcus/hardware.nix +++ b/users/wpcarro/nixos/marcus/hardware.nix @@ -11,18 +11,18 @@ boot.extraModulePackages = [ ]; fileSystems."/" = { - device = "/dev/disk/by-label/NIXROOT"; + device = "/dev/disk/by-label/nixos"; fsType = "ext4"; }; fileSystems."/boot" = { - device = "/dev/disk/by-label/NIXBOOT"; + device = "/dev/disk/by-label/boot"; fsType = "vfat"; }; - swapDevices = [ - { device = "/dev/disk/by-uuid/b87e2b8f-c835-4179-a428-fe466a846df0"; } - ]; + swapDevices = lib.singleton { + device = "/dev/disk/by-label/swap"; + }; powerManagement.cpuFreqGovernor = lib.mkDefault "powersave"; hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; -- cgit 1.4.1