diff options
| author | tv <tv@krebsco.de> | 2017-08-18 09:06:27 +0200 | 
|---|---|---|
| committer | tv <tv@krebsco.de> | 2017-08-18 09:06:27 +0200 | 
| commit | 1c65c00764146a13a0fcf8e48de599430e4a2d2e (patch) | |
| tree | d68960a411488436c9e516f2574dcde806252c37 | |
| parent | e1abf16517434047dfd0ef3f1e86e7a87753003d (diff) | |
tv mu: 300G HDD -> 120G SSD
| -rw-r--r-- | tv/1systems/mu/config.nix | 19 | 
1 files changed, 10 insertions, 9 deletions
| diff --git a/tv/1systems/mu/config.nix b/tv/1systems/mu/config.nix index 0894818..ee0f4f7 100644 --- a/tv/1systems/mu/config.nix +++ b/tv/1systems/mu/config.nix @@ -15,9 +15,9 @@ with import <stockholm/lib>;    tv.x0vncserver.enable = true;    # hardware configuration -  boot.initrd.luks.devices = [ -    { name = "vgmu1"; device = "/dev/sda2"; } -  ]; +  boot.initrd.luks.devices.muca = { +    device = "/dev/disk/by-uuid/a8796bb3-6c03-4ddf-b2e4-c2e44c51d352"; +  };    boot.initrd.luks.cryptoModules = [ "aes" "sha512" "xts" ];    boot.initrd.availableKernelModules = [ "ahci" ];    boot.kernelModules = [ "fbcon" "kvm-intel" ]; @@ -25,16 +25,17 @@ with import <stockholm/lib>;    fileSystems = {      "/" = { -      device = "/dev/vgmu1/nixroot"; -      fsType = "ext4"; -      options = [ "defaults" "noatime" ]; +      device = "/dev/mapper/muvga-root"; +      fsType = "btrfs"; +      options = ["defaults" "noatime" "ssd" "compress=lzo"];      };      "/home" = { -      device = "/dev/vgmu1/home"; -      options = [ "defaults" "noatime" ]; +      device = "/dev/mapper/muvga-home"; +      fsType = "btrfs"; +      options = ["defaults" "noatime" "ssd" "compress=lzo"];      };      "/boot" = { -      device = "/dev/sda1"; +      device = "/dev/disk/by-uuid/DC38-F165";      };    }; | 
