From 0f04ebeab7291fb39bba83a031d777947a8b18fd Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Mon, 7 May 2018 20:53:47 +0200 Subject: Switch system to LUKS-encrypted SSD As hoped redeployment consisted only of partioning the new drive, copying the config and calling `nixos-install`. --- hardware-configuration.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'hardware-configuration.nix') diff --git a/hardware-configuration.nix b/hardware-configuration.nix index 3ddc0eb..eb6140b 100644 --- a/hardware-configuration.nix +++ b/hardware-configuration.nix @@ -13,12 +13,17 @@ boot.extraModulePackages = [ ]; fileSystems."/" = - { device = "/dev/disk/by-uuid/cd4fe873-d75a-4810-bbc8-2dc00144619a"; + { device = "/dev/disk/by-uuid/ac766046-c9cd-4771-b591-f74d50aa8500"; fsType = "ext4"; }; + fileSystems."/boot" = + { device = "/dev/disk/by-uuid/20ea14b0-33ef-4fa1-a861-fd1156a0b60d"; + fsType = "ext2"; + }; + swapDevices = - [ { device = "/dev/disk/by-uuid/4ac4ae45-de8e-4c3f-b026-0d1b70aea2e2"; } + [ { device = "/dev/disk/by-uuid/0732dc69-7d30-4e99-af6d-d12b927945eb"; } ]; nix.maxJobs = lib.mkDefault 8; -- cgit v1.2.3