seeing if it's easier to fork tA's nixos laptop config rather than make one from scratch (more or less).
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

drives.nix 1.0KB

3 år sedan
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. { config, lib, pkgs, modulesPath, ... }:
  2. {
  3. boot = {
  4. initrd.luks.devices = {
  5. root = {
  6. device = "/dev/disk/by-uuid/33365b82-66af-4694-8f53-ca988035bb38";
  7. preLVM = true;
  8. };
  9. data = {
  10. device = "/dev/disk/by-uuid/e24d79c5-c24f-4e07-ab7e-a9c17cb21085";
  11. preLVM = true;
  12. };
  13. speed = {
  14. device = "/dev/disk/by-uuid/47106e9a-99fe-4c6d-a61d-8a25e7b53fc5";
  15. preLVM = true;
  16. };
  17. };
  18. };
  19. fileSystems = {
  20. "/" = {
  21. device = "/dev/disk/by-uuid/af8ae319-17ec-4631-b7aa-5cf4c9f9330c";
  22. fsType = "ext4";
  23. };
  24. "/boot" = {
  25. device = "/dev/disk/by-uuid/1918-A8CD";
  26. fsType = "vfat";
  27. };
  28. "/data/size" = {
  29. device = "/dev/disk/by-uuid/d927d682-57ec-4b9b-b2ce-e77772e37bbc";
  30. fsType = "ext4";
  31. };
  32. "/data/speed" = {
  33. device = "/dev/disk/by-uuid/eb1827e3-de96-4e79-816f-82ec9d84e45e";
  34. fsType = "ext4";
  35. };
  36. };
  37. swapDevices = [
  38. { device = "/dev/disk/by-uuid/ff5cfba4-7c9d-41af-ba91-97d8022b79f7"; }
  39. ];
  40. }