{ ... }: {
  imports = [
    ../../../lib/modules/valhalla.nix
  ];

  config = {
    valhalla = {
      users.manuel = {
        displayName = "Manuel Thalmann";
        mailAddress = "m@nuth.ch";

        oh-my-posh = {
          theme = {
            source = ./manuel.omp.json;
          };
        };
      };

      linux.users.manuel = {
        defaultShell = "fish";

        groups = [
          "wheel"
          "nix-users"
        ];

        rclone = {
          configurations = {
            nextcloud = {
              dirName = "Nextcloud";
            };

            proton = {
              dirName = "Proton";
              cacheDuration = "2w";
            };
          };
        };
      };

      windows.users.manuel = {
        nextcloud = {
          folderSyncs =
            let
              localPath = "C:/tools/RetroArch-Win64";
              remotePath = "/Saved Games/RetroArch";
            in [
              {
                remotePath = "${remotePath}/Saves";
                localPath = "${localPath}/saves";
                virtualFiles = false;
              }
              {
                remotePath = "${remotePath}/System";
                localPath = "${localPath}/system";
              }
            ];
        };
      };
    };
  };
}