change ZFS mountpoints

This commit is contained in:
illustris 2022-10-24 18:35:55 +05:30
parent 06fc4db018
commit 102bd73c6d
Signed by: illustris
GPG Key ID: 56C8FC0B899FEFA3
3 changed files with 10 additions and 11 deletions

View File

@ -32,7 +32,7 @@ in
};
supportedFilesystems = [ "zfs" "ntfs" ];
zfs.devNodes = "/dev/disk/by-partuuid";
zfs.devNodes = "/dev/disk/by-path";
};
time.timeZone = "Asia/Kolkata";

View File

@ -3,7 +3,6 @@
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
# nixpkgs1.url = "/home/illustris/src/nixpkgs";
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";

View File

@ -15,47 +15,47 @@
fileSystems = {
"/" = {
device = "ssd/rootfs";
device = "desktop-nvme/rootfs";
fsType = "zfs";
};
"/home" = {
device = "ssd/home";
device = "desktop-nvme/home";
fsType = "zfs";
};
"/nix" = {
device = "ssd/nix";
device = "desktop-nvme/nix";
fsType = "zfs";
};
"/root" = {
device = "ssd/home/root";
device = "desktop-nvme/home/root";
fsType = "zfs";
};
"/tmp" = {
device = "ssd/tmp";
device = "desktop-nvme/tmp";
fsType = "zfs";
};
"/var" = {
device = "ssd/var";
device = "desktop-nvme/var";
fsType = "zfs";
};
"/var/lib" = {
device = "ssd/var/lib";
device = "desktop-nvme/var/lib";
fsType = "zfs";
};
"/var/log" = {
device = "ssd/var/log";
device = "desktop-nvme/var/log";
fsType = "zfs";
};
"/boot" = {
device = "/dev/disk/by-uuid/453B-D3CD";
device = "/dev/disk/by-uuid/9807-6F26";
fsType = "vfat";
};
};