diff options
author | aszlig <aszlig@redmoonstudios.org> | 2014-06-03 15:24:13 +0200 |
---|---|---|
committer | aszlig <aszlig@redmoonstudios.org> | 2014-06-03 15:24:13 +0200 |
commit | fac02d26e48e979738963c39177647e08d7e9bd8 (patch) | |
tree | de834a368f3c73251dbd33b3a649a33c760b3518 /machines | |
parent | fd0d54b253a839605dcef7b46e5b83c9b8bf59e2 (diff) |
mmrnmhrm: Switch to new disk layout.
We now have two disks only and the disk containing the bootloader from the previous layout is now gone so we need to write it to the new disks. Of course, we also need to switch two swap devices as well. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Diffstat (limited to 'machines')
-rw-r--r-- | machines/mmrnmhrm.nix | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/machines/mmrnmhrm.nix b/machines/mmrnmhrm.nix index 2faf777d..c2bf7fd6 100644 --- a/machines/mmrnmhrm.nix +++ b/machines/mmrnmhrm.nix @@ -25,8 +25,10 @@ with import ../lib; kernelPackages = pkgs.recurseIntoAttrs (pkgs.linuxPackagesFor linuxAszlig kernelPackages); - loader.grub.devices = singleton - "/dev/disk/by-id/ata-WDC_WD6401AALS-00L3B2_WD-WMASY3263730"; + loader.grub.devices = map (i: "/dev/disk/by-id/${i}") [ + "ata-WDC_WD10EZEX-00BN5A0_WD-WCC3F5756955" + "ata-WDC_WD10EZEX-00BN5A0_WD-WCC3F5790537" + ]; }; networking.hostName = "mmrnmhrm"; @@ -45,9 +47,10 @@ with import ../lib; }; }; - swapDevices = singleton { - label = "swap"; - }; + swapDevices = [ + { label = "swap1"; } + { label = "swap2"; } + ]; services.synergy.server.enable = true; services.synergy.server.configFile = ../cfgfiles/synergy.conf; |