tv mu: 300G HDD -> 120G SSD

This commit is contained in:
tv 2017-08-18 09:06:27 +02:00
parent e7b1359a33
commit b9a4e834c0

View File

@ -15,9 +15,9 @@ with import <stockholm/lib>;
tv.x0vncserver.enable = true; tv.x0vncserver.enable = true;
# hardware configuration # hardware configuration
boot.initrd.luks.devices = [ boot.initrd.luks.devices.muca = {
{ name = "vgmu1"; device = "/dev/sda2"; } device = "/dev/disk/by-uuid/a8796bb3-6c03-4ddf-b2e4-c2e44c51d352";
]; };
boot.initrd.luks.cryptoModules = [ "aes" "sha512" "xts" ]; boot.initrd.luks.cryptoModules = [ "aes" "sha512" "xts" ];
boot.initrd.availableKernelModules = [ "ahci" ]; boot.initrd.availableKernelModules = [ "ahci" ];
boot.kernelModules = [ "fbcon" "kvm-intel" ]; boot.kernelModules = [ "fbcon" "kvm-intel" ];
@ -25,16 +25,17 @@ with import <stockholm/lib>;
fileSystems = { fileSystems = {
"/" = { "/" = {
device = "/dev/vgmu1/nixroot"; device = "/dev/mapper/muvga-root";
fsType = "ext4"; fsType = "btrfs";
options = [ "defaults" "noatime" ]; options = ["defaults" "noatime" "ssd" "compress=lzo"];
}; };
"/home" = { "/home" = {
device = "/dev/vgmu1/home"; device = "/dev/mapper/muvga-home";
options = [ "defaults" "noatime" ]; fsType = "btrfs";
options = ["defaults" "noatime" "ssd" "compress=lzo"];
}; };
"/boot" = { "/boot" = {
device = "/dev/sda1"; device = "/dev/disk/by-uuid/DC38-F165";
}; };
}; };