Re: [Nix-dev] NixOS UEFI+LUKS+LVM or UEFI+LUKS+ZFS

2016-09-28 Thread Damien Cassou
Mark Gardner writes: > Here is my configuration.nix: > { config, pkgs, ... }: > > { > imports = > [ # Include the results of the hardware scan. > ./hardware-configuration.nix > ]; > > boot.loader.grub.enable = true; > boot.loader.grub.version = 2; >

Re: [Nix-dev] NixOS UEFI+LUKS+LVM or UEFI+LUKS+ZFS

2016-09-27 Thread Tomasz Czyż
I have zfs on top of luks (I also have another installtion where I have zfs on top of luks and boot partitation on top of mdadm/raid0). My disk layout is, 100M boot partition + second partition for luks+zfs. I created luks first, on top of luks I did create ZFS. My config is:

Re: [Nix-dev] NixOS UEFI+LUKS+LVM or UEFI+LUKS+ZFS

2016-09-27 Thread Bas van Dijk
Your installation steps look very similar to the following how-to I use when setting up a new system. The most significant difference seems to be that you're calling mkfs.jfs while I'm calling mkfs.ext4: # See: # # *

[Nix-dev] NixOS UEFI+LUKS+LVM or UEFI+LUKS+ZFS

2016-09-27 Thread Mark Gardner
I am new to NixOS. I definitely like what I have seen so far. Thank you. I would like to encrypt the root partition with LUKS upon which LVM or ZFS would provide /, swap, /home etc. I used https://nixos.org/wiki/ Encrypted_Root_on_NixOS and