Jump to content

ZFS: Difference between revisions

462 bytes added ,  17 November 2023
m
Did forget fileSystems definations
imported>Eskytthe
m (uppercase change to previous bigger change)
imported>Eskytthe
m (Did forget fileSystems definations)
Line 116: Line 116:
Jump to "4." ... /mnt/etc/nixos/configuration.nix ...
Jump to "4." ... /mnt/etc/nixos/configuration.nix ...


Continue from here and add this Boot loader config to your configuration.nix:
Continue from here and add this boot loader and filesystems config to your configuration.nix:


<syntaxhighlight lang="nix">
<syntaxhighlight lang="nix">
Line 130: Line 130:
   };
   };


  fileSystems."/" =
    { device = "zpool/root";
      fsType = "zfs";
    };
  fileSystems."/nix" =
    { device = "zpool/nix";
      fsType = "zfs";
    };
  fileSystems."/var" =
    { device = "zpool/var";
      fsType = "zfs";
    };
  fileSystems."/home" =
    { device = "zpool/home";
      fsType = "zfs";
    };
  fileSystems."/boot" =
    { device = "/dev/disk/by-uuid/2A11-F4EF";
      fsType = "vfat";
    };
  swapDevices = [ ];
</syntaxhighlight>
</syntaxhighlight>


Anonymous user