nixos/modules/data-share/default.nix

12 lines
251 B
Nix
Raw Normal View History

2022-05-16 17:55:10 +02:00
{ pkgs, ... }:
2022-01-12 21:57:27 +01:00
{
2022-05-16 17:55:10 +02:00
environment.systemPackages = with pkgs; [
lnav
];
2022-01-12 21:57:27 +01:00
fileSystems."/mnt/data" = {
2022-03-07 09:44:42 +01:00
device = "10.7.89.108:server_data";
2022-01-12 21:57:27 +01:00
fsType = "nfs";
2022-05-05 22:25:22 +02:00
options = [ "x-systemd.automount" "noauto" "x-systemd.idle-timeout=300" ];
2022-01-12 21:57:27 +01:00
};
}