Files
bfds-configuration.nix/modules/storage.nix
T
2024-01-16 19:34:43 +00:00

44 lines
938 B
Nix

{ config, ... }:
{
systemd.services.zfs-mount.enable = false;
networking.hostId = "07019099";
boot.supportedFilesystems = [ "zfs" ];
boot.zfs.devNodes = "/dev/disk/by-id/ata-WDC_WD30EZRZ-00Z5HB0_WD-WCC4N7LL2J1S-part1"; #oder mit -part1 am ende
fileSystems."/bfds-nix" =
{ device = "bfds-nix";
fsType = "zfs";
};
fileSystems."/bfds-nix/music" =
{ device = "bfds-nix/music";
fsType = "zfs";
};
fileSystems."/bfds-nix/rob" =
{ device = "bfds-nix/rob";
fsType = "zfs";
};
fileSystems."/bfds-nix/hoerbuecher" =
{ device = "bfds-nix/hoerbuecher";
fsType = "zfs";
};
fileSystems."/bfds-nix/movies" =
{ device = "bfds-nix/movies";
fsType = "zfs";
};
fileSystems."/bfds-nix/peggy" =
{ device = "bfds-nix/peggy";
fsType = "zfs";
};
fileSystems."/bfds-nix/ebooks" =
{ device = "bfds-nix/ebooks";
fsType = "zfs";
};
}