about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGriffin Smith <grfn@gws.fyi>2021-09-23T13·46-0400
committergrfn <grfn@gws.fyi>2021-09-27T14·55+0000
commit641d722d4352daa4ebf7bf57d82b47399bd99e3c (patch)
tree8ed6a047a95bc062c0803355751139ec76ef2c00
parentf746020d5891294e42d6001041a78a6b77f50783 (diff)
feat(gs/yeren): Don't encrypt swap partition r/2923
This is really just not worth the performance hit

Change-Id: I6f603aa154c562da2803bd8f73b1135faad243be
Reviewed-on: https://cl.tvl.fyi/c/depot/+/3642
Tested-by: BuildkiteCI
Reviewed-by: grfn <grfn@gws.fyi>
-rw-r--r--users/grfn/system/system/machines/yeren.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/users/grfn/system/system/machines/yeren.nix b/users/grfn/system/system/machines/yeren.nix
index 125700c0a240..2f52024f0987 100644
--- a/users/grfn/system/system/machines/yeren.nix
+++ b/users/grfn/system/system/machines/yeren.nix
@@ -24,7 +24,6 @@
 
       luks.devices = {
         "cryptroot".device = "/dev/disk/by-uuid/dcfbc22d-e0d2-411b-8dd3-96704d3aae2e";
-        "cryptswap".device = "/dev/disk/by-uuid/48b8a8fd-559c-4759-a617-56f221cfaaec";
       };
     };
 
@@ -62,7 +61,9 @@
     };
   };
 
-  swapDevices = [{ device = "/dev/mapper/cryptswap"; }];
+  swapDevices = [{
+    device = "/dev/disk/by-uuid/b627cb0e-0451-4f25-94d0-6497e01f0da4";
+  }];
 
   services.xserver = {
     exportConfiguration = true;