Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Current pc:
- NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
- sda 8:0 0 931.5G 0 disk
- ├─sda1 8:1 0 500M 0 part /boot/EFI
- └─sda2 8:2 0 931G 0 part
- └─root 254:0 0 931G 0 crypt
- ├─vg-swap 254:1 0 8G 0 lvm [SWAP]
- └─vg-root 254:2 0 923G 0 lvm /
- sr0 11:0 1 1024M 0 rom
- configuration.nix:
- boot.loader.efi.canTouchEfiVariables = true;
- boot.loader.grub.enable = true;
- boot.loader.grub.version = 2;
- boot.loader.grub.device = "nodev";
- boot.loader.grub.efiSupport = true;
- boot.loader.grub.enableCryptodisk = true;
- boot.loader.efi.efiSysMountPoint = "/boot/EFI";
- boot.initrd.luks.devices = [
- {
- name = "root";
- device = "/dev/disk/by-uuid/53cbbe9d-b5c1-4921-9db4-6635f15d3
- d2a";
- }
- ];
- Other pc:
- NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
- loop0 7:0 0 495.8M 1 loop /nix/.ro-store
- sda 8:0 0 233.8G 0 disk
- ├─sda1 8:1 0 500M 0 part /mnt/boot/EFI
- └─sda2 8:2 0 233.3G 0 part
- └─encvol 254:0 0 233.3G 0 crypt
- ├─vg-root 254:1 0 225.3G 0 lvm /mnt
- └─vg-swap 254:2 0 8G 0 lvm
- sdc 8:32 1 29.3G 0 disk
- ├─sdc1 8:33 1 539M 0 part /iso
- └─sdc2 8:34 1 21M 0 part
- fileSystems."/".options = [ "noatime" "nodiratime" "discard" ];
- boot.loader.grub.enable = true;
- boot.loader.grub.device = "nodev";
- boot.loader.grub.version = 2;
- boot.loader.grub.efiSupport = true;
- boot.loader.grub.enableCryptodisk = true;
- boot.loader.efi.canTouchEfiVariables = true;
- boot.loader.efi.efiSysMountPoint = "/boot/EFI";
- boot.initrd.luks.devices = [
- {
- name = "root";
- # UUID for disk that contains the luks Partition
- device = "/dev/disk/by-uuid/56487e02-c9f8-456e-bfcc-7b26053ed270";
- allowDiscards = true;
- }
- ];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement