{ ... }:
{
  boot.loader.grub = {
    enable = true;
    device = "/dev/vda";
  };

  networking = {
    hostName = "torrent";
  };

  fileSystems = {
    "/mnt/media" = {
      device = "//10.202.100.5/media";
      fsType = "cifs";
      options = [ 
        "username=torrent" 
        "credentials=/secrets/torrent-samba-credentials.secret"
        "iocharset=utf8"
        "vers=3.1.1"
        "uid=torrent"
        "gid=torrent"
        "_netdev"
      ];
    };
  };

  system.stateVersion = "23.11";
}