Auto-import library ZFS pool
This commit is contained in:
@ -10,6 +10,7 @@ with lib.my;
|
||||
boot = {
|
||||
loader.systemd-boot.enable = true;
|
||||
loader.efi.canTouchEfiVariables = true;
|
||||
zfs.extraPools = [ "library" ];
|
||||
};
|
||||
|
||||
networking = {
|
||||
|
@ -57,51 +57,6 @@
|
||||
fsType = "vfat";
|
||||
};
|
||||
|
||||
fileSystems."/mnt/library" = {
|
||||
device = "library";
|
||||
fsType = "zfs";
|
||||
};
|
||||
|
||||
fileSystems."/mnt/library/books" = {
|
||||
device = "library/books";
|
||||
fsType = "zfs";
|
||||
};
|
||||
|
||||
fileSystems."/mnt/library/fonts" = {
|
||||
device = "library/fonts";
|
||||
fsType = "zfs";
|
||||
};
|
||||
|
||||
fileSystems."/mnt/library/movies" = {
|
||||
device = "library/movies";
|
||||
fsType = "zfs";
|
||||
};
|
||||
|
||||
fileSystems."/mnt/library/music" = {
|
||||
device = "library/music";
|
||||
fsType = "zfs";
|
||||
};
|
||||
|
||||
fileSystems."/mnt/library/software" = {
|
||||
device = "library/software";
|
||||
fsType = "zfs";
|
||||
};
|
||||
|
||||
fileSystems."/mnt/library/tv" = {
|
||||
device = "library/tv";
|
||||
fsType = "zfs";
|
||||
};
|
||||
|
||||
fileSystems."/mnt/library/videos" = {
|
||||
device = "library/videos";
|
||||
fsType = "zfs";
|
||||
};
|
||||
|
||||
fileSystems."/mnt/library/web" = {
|
||||
device = "library/web";
|
||||
fsType = "zfs";
|
||||
};
|
||||
|
||||
swapDevices = [ ];
|
||||
|
||||
networking.useDHCP = lib.mkDefault true;
|
||||
|
Reference in New Issue
Block a user